PC Review


Reply
Thread Tools Rate Thread

Add-in does not load

 
 
=?Utf-8?B?cGllcnJlZzA2?=
Guest
Posts: n/a
 
      7th Apr 2007
Hi !

I have created a C# Add-in under Visual Studio 2005 Pro with VSTO 2005 SE.
I use Excel 2007/Win XP Pro.

Under Visual Studio 2005 debugger (where Excel is lauched as an external
program), the add-in works fine. After at least one debugging session, the
Add-in works fine too when I launch Excel direcly (I mean not under Visual
Studio control).

Then, as soon as I deinstall (add/rem programs) the add-in and reinstall it,
the add-in is not loaded anymore in Excel (I see in Excel/Excel
options/Add-ins/COM Add-ins: "Not loaded. A runtime error occured during the
loading of the COM Add-in).
Again, if I launch a debugging session, this problem disappears.

I have included the following prerequisites in my VS 2005 setup project:
* .NET Framework 2.0
* Shared Add-in Support update for Microsoft .NET Framework 2.0 (KB908002)
.... not sure if I really need it (BTW, behavior is identical if I remove it)

Any idea is welcomed. Many thanks in advance.

Cheers,

Pierre





 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Load request form fails: Could not load some objects because they arenot available on this machine Mandyli611@gmail.com Microsoft Outlook 1 5th Aug 2008 10:22 PM
Using Assembly.Load(byte[]) to load multiple versions of dll, and AppDomain.AssemblyResolve Stephen Ahn Microsoft Dot NET Framework 1 8th May 2006 10:35 AM
beginning page load immediately on postback with a long load time ? Mad Scientist Jr Microsoft ASP .NET 7 30th Jun 2004 08:40 PM
Windows XP hangs between login and load: press esc key begins load! Jason Sirota Windows XP General 2 24th Apr 2004 09:20 AM
can't load system32/config/software and windows failed to load T'ing Jun Windows XP Security 2 2nd Sep 2003 09:39 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:37 PM.