Addin could not be loaded (Visual Studio 2008 Pro)

7 posts, 0 answers
  1. G S S
    G S S avatar
    85 posts
    Member since:
    Mar 2008

    Posted 27 Jul 2009 Link to this post

    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
  2. Jan Blessenohl
    Admin
    Jan Blessenohl avatar
    707 posts

    Posted 28 Jul 2009 Link to this post

    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.
  3. DevCraft banner
  4. G S S
    G S S avatar
    85 posts
    Member since:
    Mar 2008

    Posted 28 Jul 2009 Link to this post

    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?
  5. Jan Blessenohl
    Admin
    Jan Blessenohl avatar
    707 posts

    Posted 28 Jul 2009 Link to this post

    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.
  6. G S S
    G S S avatar
    85 posts
    Member since:
    Mar 2008

    Posted 28 Jul 2009 Link to this post

    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

  7. Jan Blessenohl
    Admin
    Jan Blessenohl avatar
    707 posts

    Posted 28 Jul 2009 Link to this post

    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.
  8. G S S
    G S S avatar
    85 posts
    Member since:
    Mar 2008

    Posted 31 Jul 2009 Link to this post

    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...
Back to Top
DevCraft banner