This is a migrated thread and some comments may be shown as answers.

Addin could not be loaded (Visual Studio 2008 Pro)

6 Answers 127 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
G S S
Top achievements
Rank 1
G S S asked on 27 Jul 2009, 10:44 AM
I've installed OpenAccess on my PC but when I load up visual studio and go To Telerik (in the menu toolbar) I only see About and RAD AJAX Controls (another product of yours which I use).

I saw some screenshots of OpenAccess ORM and the features are meant to be accessible through this menu item. When I first loaded up OpenAccess ORM I got a message saying this addin could not be loaded and If I press Yes the addin would be discarded and not loaded with its name changed (I pressed No to load the addin).

How can I fix this? I had this problem, reinstalled, no avail. I can't reproduce this error message now, either.

EDIT: This should be in the "Design Time" section. Screenshot of the error here (I went to Tools > Addin Manager and checked the checkbox to load OpenAccess ORM at start): http://img6.imageshack.us/img6/5803/errorgbn.jpg

Thanks

6 Answers, 1 is accepted

Sort by
0
Jan Blessenohl
Telerik team
answered on 28 Jul 2009, 11:16 AM
Hi G S S,
Most of the times if this error comes up the .addin file does not have the right content. Can you please have a look here:

http://www.telerik.com/help/openaccess-orm/troubleshooting.html

to fix the problem by hand. If that does not help please ping me again.

Greetings,
Jan Blessenohl
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
G S S
Top achievements
Rank 1
answered on 28 Jul 2009, 01:25 PM
Hi,

I tried everything in that link, no luck. When I open the file "OpenAccessAddin80.AddIn" in the Addin folder, I get an error stating the file could not be found.

The link itself doesn't really provide any corrective action.

I have reinstalled too. What else can I do?
0
Jan Blessenohl
Telerik team
answered on 28 Jul 2009, 01:49 PM
Hello G S S,
In which folder did you install OpenAccess, you have to replace
C:\Program Files\Telerik\OpenAccess ORM by this folder. If you say you cannot find the file on your drive there must be a mistake. Maybe you clicked OK if VS comes up with the error and the file has been renamed in the same directory, please open the dirictory and double check.

If you say you went through the document step by step did you check that all settings are correct. Our Addin cannot work if not all 3 mentioned things are set accordingly.

Best wishes,
Jan Blessenohl
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
G S S
Top achievements
Rank 1
answered on 28 Jul 2009, 02:36 PM
Everytime I load Visual Studio, I get that error message (as in the screenshot).

My installation path is the same as you posted (I chose the default path).

I have that path set in the macros/addin window of options.

In the addin folder, I have two files. They are OpenAccessAddin80 (I assume for VS2005) and OpenAccessAddin90 (for VS2008):

OpenAccessAddin80 looks like this:

<?xml version="1.0"?>
<Extensibility xmlns="http://schemas.microsoft.com/AutomationExtensibility">
    <HostApplication>
        <Name>Microsoft Visual Studio</Name>
        <Version>8.0</Version>
    </HostApplication>
    <Addin>
        <FriendlyName>Telerik OpenAccess</FriendlyName>
        <Description>Build and deploy database solution</Description>
        <Assembly>__ASSEMBLY__</Assembly>
        <FullClassName>Telerik.OpenAccess.Sdk.Addin.VSAddin.OpenAccessAddin80</FullClassName>
        <LoadBehavior>5</LoadBehavior>
        <CommandPreload>1</CommandPreload>
        <CommandLineSafe>1</CommandLineSafe>
    </Addin>
</Extensibility>


OpenAccessAddin90 looks like this:

<?xml version="1.0"?>
<Extensibility xmlns="http://schemas.microsoft.com/AutomationExtensibility">
    <HostApplication>
        <Name>Microsoft Visual Studio</Name>
        <Version>9.0</Version>
    </HostApplication>
    <Addin>
        <FriendlyName>Telerik OpenAccess</FriendlyName>
        <Description>Build and deploy database solution</Description>
        <Assembly>__ASSEMBLY__</Assembly>
        <FullClassName>Telerik.OpenAccess.Sdk.Addin.VSAddin.OpenAccessAddin80</FullClassName>
        <LoadBehavior>1</LoadBehavior>
        <CommandPreload>1</CommandPreload>
        <CommandLineSafe>1</CommandLineSafe>
    </Addin>
</Extensibility>

I assume that is where the problem lies (the assembly node). This step I didn't do (misread). How comes the assembly node isn't appropriately set?

Thanks

0
Jan Blessenohl
Telerik team
answered on 28 Jul 2009, 03:29 PM
Hello G S S,
Sometimes the installer lacks some rights. Did you start setup.exe or the msi to install?

Kind regards,
Jan Blessenohl
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
G S S
Top achievements
Rank 1
answered on 01 Aug 2009, 01:10 AM
Just for the record, I solved it by adding the appropriate assembly node value as explained on that link in the documentation.

I guess this was not set as I ran the .msi without admin rights (on Vista).

Really looking forward to using this ORM...
Tags
General Discussions
Asked by
G S S
Top achievements
Rank 1
Answers by
Jan Blessenohl
Telerik team
G S S
Top achievements
Rank 1
Share this question
or