Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / March 2006

Tip: Looking for answers? Try searching our database.

Add-in ... failed to load or caused an exception

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve Elmer - 27 Mar 2006 17:02 GMT
Hi,

I am trying to use the MSDE 2000 Deployment Toolkit with VS.NET 2005. The
toolkit includes a VS.NET Addin.  After some research, I discovered that
VS.NET 2005 is using a different means to register Addins. Basically it seems
to require an .Addin file (xml). I created a M2KBSLC.Addin file (see below
for the contents), and placed it in the same folder as the M2KBSLC.dll file.
In VS.NET 2005, under Options, I added the path to the list of places VS
looks for Addins.

The "MSDE 2000 Boostrap Loader Configurator" now shows up in my VS.NET 2005
Add-in Manager but it is broken. I can check it, but when I click OK in the
Add-in Manager I get the following error:

"The Add-in 'MSDE 2000 Bootstrap Loader Configurator' failed to load or
caused an exception. Would you like to remove this Add-in? If you choose yes,
the file it was loaded from, 'C:\Program Files\Microsoft\MSDE 2000 Deployment
Toolkit\M2KBSLC.Addin', will be renamed.

Error Message: <Unknown Error>
Error number: 80131513"

Here is my best shot at an M2KBSLC.Addin file:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<Extensibility xmlns="http://schemas.microsoft.com/AutomationExtensibility">
   <HostApplication>
       <Name>Microsoft Visual Studio</Name>
       <Version>8.0</Version>
   </HostApplication>
   <HostApplication>
       <Name>Microsoft Visual Studio Macros</Name>
       <Version>8.0</Version>
   </HostApplication>
   <Addin>
       <FriendlyName>MSDE 2000 Bootstrap Loader Configurator</FriendlyName>
       <Description>This add-in is used for the installation of MSDE
2000.</Description>
       <AboutBoxDetails>Copyright 2005.</AboutBoxDetails>
       <AboutIconData></AboutIconData>
       <Assembly src="file">C:\Program Files\Microsoft\MSDE 2000 Deployment
Toolkit\M2KBSLC.dll</Assembly>
       <FullClassName>M2KBSLC.Connect</FullClassName>
       <LoadBehavior>0</LoadBehavior>
       <CommandPreload>0</CommandPreload>
       <CommandLineSafe>0</CommandLineSafe>
   </Addin>
</Extensibility>

Any thoughts, helpful hints, and/or suggestions will be appreciated.

Thanks,
Steve
Carlos J. Quintero [VB MVP] - 28 Mar 2006 09:14 GMT
Hi Steve,

That exception means that something failed in the OnConnection method of the
add-in, or even before, while the add-in was being loaded (due to COM
registration problems if the add-in used COM registration).

You will need to debug it with the source code or to contact the
manufacturer. At the very least, an exception handler should be added to the
OnConnection method to show the actual exception.

Signature

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com

> Hi,
>
[quoted text clipped - 58 lines]
> Thanks,
> Steve
"Gary Chang[MSFT]" - 28 Mar 2006 09:41 GMT
Hi Steve,

Just as the error message implies, the problem happens while the VS2005 IDE
loads the MSDE 2000 Bootstrapper Loader Configurator Add-in. Your
registration xml file is all right, it has already registered that addin to
the VS2005, so you can find it in the IDE's Add-in Manager list.

Since the MSDE 2000 Bootstrapper Loader Configurator Add-in is designed for
VS.NET 2003, and it has also used the functionality of the IDE command
bar's, it is not fully compatible with the VS2005 IDE. To migrate such an
addin to VS2005, its code must be update and recompiled by Visual Studio
2005.

In this regard, I am afraid that addin could be upgraded to VS2005.

Thanks!

Best regards,

Gary Chang
Microsoft Community Support
======================================================
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD will be updated at 9:00
AM PST, February 14, 2006.  Please complete a re-registration process by
entering the secure code mmpng06 when prompted. Once you have entered the
secure code mmpng06, you will be able to update your profile and access the
partner newsgroups.
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Steve Elmer - 28 Mar 2006 14:22 GMT
I finally ended up contacting the person who wrote the MSDN technical article
describing the use of the MSDE 2000 Deployment Toolkit
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmsde/html/msd
edepl.asp
).
Unfortunately, his reply indicated that Microsoft will not be updating the
Toolkit for VS 2005.  Nor will there be an update for the SQL Server 2005
Express edition.

grr...

-Steve

> Hi,
>
[quoted text clipped - 49 lines]
> Thanks,
> Steve

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.