New Posts New Posts RSS Feed: Problem with Object Mapper Installer
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Problem with Object Mapper Installer

 Post Reply Post Reply
Author
Lundvald View Drop Down
Newbie
Newbie


Joined: 01-Apr-2008
Location: Denmark
Posts: 2
Post Options Post Options   Quote Lundvald Quote  Post ReplyReply Direct Link To This Post Topic: Problem with Object Mapper Installer
    Posted: 02-Apr-2008 at 12:55pm

Thanks for your effort, but the problem propably was somewhere else. I starter to see other problems, and ended up reinstalling Windows XP and everything with it.

No problem with DevForce now. It installed nicely by the booik, and it works.
Back to Top
davidklitzke View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Posts: 715
Post Options Post Options   Quote davidklitzke Quote  Post ReplyReply Direct Link To This Post Posted: 01-Apr-2008 at 4:28pm
The good news is that DevForce did find your AddIn file.  It is just that it failed trying to execute the AddIn.
 
My guess is that the AddIn could not find the Orm.Addin.dll
 
Look at the end of the AddIn file.  You'll see something like this"
 
<Assembly>IdeaBlade.DevTools.Orm.AddIn.dll</Assembly>
    <FullClassName>IdeaBlade.DevTools.Orm.AddIn.Connect</FullClassName>
    <LoadBehavior>1</LoadBehavior>
    <CommandPreload>1</CommandPreload>
    <CommandLineSafe>0</CommandLineSafe>
  </Addin>
</Extensibility>
 
Try changing the relative pathname "IdeaBlade.DevTools.Orm.AddIn.dll" to a hard-coded path name like "C:\VS_AddIn\IdeaBlade.DevTools.Orm.AddIn.dll".  I don't know if this will work, but I have gotten the Object Mapper to work before by using a full path name.
 
For example, this is the change that I did this morning to get the Object Mapper to appear in DevForce EF:
 

<Assembly>C:\IdeaBladeV4DevelopmentBuild\SourceCode\IdeaBlade\DevTools\OM\AddIn\bin\IdeaBlade.DevTools.OM.AddIn.v4.dll</Assembly>

Back to Top
Lundvald View Drop Down
Newbie
Newbie


Joined: 01-Apr-2008
Location: Denmark
Posts: 2
Post Options Post Options   Quote Lundvald Quote  Post ReplyReply Direct Link To This Post Posted: 01-Apr-2008 at 3:30am

I have tried all this, including a reinstall of VS 2008.

I allways end up with the following error message:

  The Add-in "Ideablade Object Mapper" failed to load or caused an exception.

  Would you like to remove the Add-in?

  If you choose yes, the file it was loaded from, "C:\VS_AddIn\Ideablade.DevTools.Orm.VS2008.AddIn", will be renamed.

  Error Message: The specified file was not found.

  Error number: 80070002

The file is there. I have moved them to the C:\CV_AddIn folder due to the suggestions above. The following files are in the folder:

- IdeaBlade.DevTools.Orm.AddIn
- IdeaBlade.DevTools.Orm.AddIn.dll
- IdeaBlade.DevTools.Orm.Vs2008.AddIn
 
The version I am trying to install is 6.3.1.1, and I am trying to intall in Visual Studio 2008.
 
Help

 

 

Back to Top
davidklitzke View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Posts: 715
Post Options Post Options   Quote davidklitzke Quote  Post ReplyReply Direct Link To This Post Posted: 20-Nov-2007 at 5:55am
Here are two things to try:
 
(1) Put the two Add-In files in your "My Documents" folder.  On my machine, I would put it in this folder:
 
C:\Documents and Settings\DavidK\My Documents\Visual Studio 2005\Addins
 
Of course, since you are using a German OS, it won't be "Documents and settings".
 
I don't think that you will need an Addin path for this folder, but you might.
 
(2) Your symptomy can be caused by a corrupted Visual Studio.  Try uninstalling and reinstalling Visual Studio.
 
 
 
 
Back to Top
a3804 View Drop Down
Newbie
Newbie


Joined: 15-Nov-2007
Location: Germany
Posts: 6
Post Options Post Options   Quote a3804 Quote  Post ReplyReply Direct Link To This Post Posted: 20-Nov-2007 at 1:50am
I added the path, but this did not solve the problem...
Back to Top
davidklitzke View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Posts: 715
Post Options Post Options   Quote davidklitzke Quote  Post ReplyReply Direct Link To This Post Posted: 19-Nov-2007 at 9:02am
This may or may not work.  %ALLUSERSPROFILE% may not necessarily map to C:\Dokumente und Einstellungen\All Users.  To be sure, I would add another Add-In Path that maps explicitly to  C:\Dokumente und Einstellungen\All Users\Application Data\Microsoft\MSEnvShared\Addins.
Back to Top
a3804 View Drop Down
Newbie
Newbie


Joined: 15-Nov-2007
Location: Germany
Posts: 6
Post Options Post Options   Quote a3804 Quote  Post ReplyReply Direct Link To This Post Posted: 18-Nov-2007 at 11:10pm
Hi!
Under Options... the add-in path is %ALLUSERSPROFILE%\Application Data\Microsoft\MSENVShared\Addins
 
and on my pc I have in the folder C:\Dokumente und Einstellungen\All Users\Application Data\Microsoft\MSEnvShared\Addins the files Ideablade.Devtools.orm.addin and Ideablade.Devtools.orm.addin.dll.
Back to Top
davidklitzke View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Posts: 715
Post Options Post Options   Quote davidklitzke Quote  Post ReplyReply Direct Link To This Post Posted: 16-Nov-2007 at 9:22am

You are correct.  That is the problem.  The Object Mapper will never work if it can't be seen by the Add-In Manager,

When you changed the search path, did you use the exact path used in the forum, and did you check that that path was the correct path for you.  For example, there was a Norwegian customer who found that he needed a slightly different path.  He wrote:

Your guessed right and  I have a comparable issue as with the german installation. The files are to be found in C:\Documents and Settings\All Users\Programdata\Microsoft\MSEnvShared\AddIns, a happy mix of English and Norwegian names.

Just a quick note to point that the issue will also arise with the English version of VS on a localized Windows (as for me), the fix is the same i.e. adding the “localized” folder to tools>options>add-ins/macros security.

Back to Top
a3804 View Drop Down
Newbie
Newbie


Joined: 15-Nov-2007
Location: Germany
Posts: 6
Post Options Post Options   Quote a3804 Quote  Post ReplyReply Direct Link To This Post Posted: 16-Nov-2007 at 8:21am
No, that is the problem. I have the toolbar, but not the AddIn (also not under Customize... or Addin manager).
Back to Top
davidklitzke View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Posts: 715
Post Options Post Options   Quote davidklitzke Quote  Post ReplyReply Direct Link To This Post Posted: 16-Nov-2007 at 8:17am
Did you get the ORM AddIn to show up in the Visual Studio Add-In manager?
Back to Top
a3804 View Drop Down
Newbie
Newbie


Joined: 15-Nov-2007
Location: Germany
Posts: 6
Post Options Post Options   Quote a3804 Quote  Post ReplyReply Direct Link To This Post Posted: 16-Nov-2007 at 8:11am
I tried the mentioned solutions (changing the path etc), but it did not solve my problem...
Back to Top
davidklitzke View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Posts: 715
Post Options Post Options   Quote davidklitzke Quote  Post ReplyReply Direct Link To This Post Posted: 16-Nov-2007 at 8:00am
If you are using a German OS, you need to read:
 
 
Otherwise, read about your problem in the Troubleshooting section of the Installation Guide,
Back to Top
a3804 View Drop Down
Newbie
Newbie


Joined: 15-Nov-2007
Location: Germany
Posts: 6
Post Options Post Options   Quote a3804 Quote  Post ReplyReply Direct Link To This Post Posted: 16-Nov-2007 at 2:08am
Hi!
 
I want to install the IdeaBlade Devforce Express on my system.
After the setup, the ORM Tools won't appear in VS, I have tried the solutions for my German version of VS, but it did not help.
 
When I rund the Object Mapper Installer, it gives me the error message:

Unable to install community controls Unable to invoke community controls installer
Do you have any tips on this topic?
 
Thanks!
Tobias Schittkowski
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down