index > Visual Studio Tools for Office > VSTO 2005 SE Deployment Problem

VSTO 2005 SE Deployment Problem


Hi,

I am creating a Excel 2007 VSTO COM Add-In using VSTO 2005 SE . It runs perfectly fine when I build it and run the in development computer having VS 2005.

However, when I try to install the setup.exe or .msi file for the same addin in the client machine or Virtual PC having the following configuration:

1. VSTO Runtime

2. Office 2007

3. .NET 2.0 Framework

it does not seems to load . I also did caspol settings to make it Fully Trusted .

I get the following error " Not Loaded. A runtime error occurred during the loading of the COM Add-in."

Can someone please help me on this ?? Thanks in advance




Microsoft Certified Professional,VSTO Passionate/VBA Evangelist
Abhishek99

Few tips:

1. Make sure it is VSTO Runtime that has shipped with VSTO2005SE that is installed on the machine.

2. set VSTO_SUPPRESSDISPLAYALERTS=0 to force displaying error message reporting what the problem is

Hope this helps to troubleshoot. I will close this thread, please re-activate if taking the above did not lead to resolving the problem along with post the error message.




Misha (VSTO team is hiring. We would like to hear from you http://tinyurl.com/ZQGW2)
Misha Shneerson - MSFT

It does'nt helps either. I did the above setting and opened excel.exe from cmd but simply no error message and no popup was displayed.

"LoadBehavior: Not Loaded. A runtime error occured during the loading of the COM Add-in" This is the only error message I see when I go to Excel-> Addin-> Com Add-in.

It has been over a week I have been struggling with the same problem and whole of my development team is facing .

Please suggest .




Microsoft Certified Professional,VSTO Passionate/VBA Evangelist
Abhishek99

Did you enable the add-in? If the add-in is alreadt disabled then Office won't execute it again.

Check the value of the following registry key HKEY_CURRENT_USER\Software\Microsoft\Office\Excel\Addins\<YourAddin>\LoadBehavior

If this value is 2 - then Excel won't load the add-in. Change it to 3 and start Excel again with set VSTO_SUPPRESSDISPLAYALERTS=0




Misha (VSTO team is hiring. We would like to hear from you http://tinyurl.com/ZQGW2)
Misha Shneerson - MSFT
reply 4

You can use google to search for other answers

 

More Articles

Problem with attached schema in wod document template
How to correct use of Pages object (Microsoft.Interop.Word)
Unit testing VSTO solutions
VSTO Installation Problem
Licensing
How to Populate the value Dynamically in the DropDownList.
PInvokeStackImbalance caused by Smart Tag and Word 2007 Addin
Adding Research Panes to Outlook - VSTO 2005
several people sign the same word document?
Save MailItem as MSG file
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

ServerDocument.AddCustomization NullRefe…
Set the cursor's position
Error debuging Excel Smart Doc VSTO 2005
More problems with the permissions (Word…
How to change text on excel titlebar
Problem Running VSTO on webserver - VSTO…
drop of outlook messages or attachments,…
Process informatin from ASP.NET
Add in Micro Outlook (multiple recipient…
Excel ScreenUpdating in VSTO
Not loading the MS Word add-in
Display Word document in Action Pane?
Hide Gridlines in worksheets
Outlook 2007 Form Regions and User Prope…
Managed Code Extension and Active Docume…

Hot Articles

How to Hide controls during printing or …
How to access "Compress Images"…
Receiving command line parameters in wor…
Need guidance on which VSTO tools to use…
Can I use outlook 2003 PIAs for Outlook …
VSTO 2005 Hands on Excel Lab Problems
Problem making a new folder in Outlook
VSTO Excel Binding a dataset from a webe…
Microsoft Access Charting Question
How to add a reference to a DLL made wit…
VSTO and AVG...HEEELP!
listing outlook contacts
Populating Outlook contact list from SQL…
Assembly Link Location Property
vsto v.3, ribbons, & thisdocument

Recommend Articles

Soap Context missing in custom SharePoin…
Outlook MailItem
automating Excel
VSTO SE, Vista RC2, Caspol, Oh My
WinWord instance not released from withi…
Two questions for creating Outlook AddIn…
Hidden XML Tags in Word document
What happens if I call CommandBar.Enable…
Reading Excel worksheet from c#
Access 2003 Developer Extensions - Appli…
Selection.PasteExcelTable not working co…
Deploying Outlook Addin - how to refer t…
Design Issue in Word VSTO Programming - …
Visual Studio Tools for Office. Problem …
How to create shortcut of excelsheet