Add-In Express .Net crash report (Visual Studio 2003)

Add-in Express™ Support Service
That's what is more important than anything else

Add-In Express .Net crash report (Visual Studio 2003)
 
mani ghasemlou




Posts: 66
Joined: 2009-06-09
Hello,

I have Add-In Express .Net installed, version 5.0.2021.2003.
Microsoft Visual Studio .net 2003
Windows XP SP2, US-English

Steps to reproduce:

1. start visual studio
2. create a new project of type ADX COM Add-in
3. (this is the key step) Choose "Primary Interop Assembly" instead of the version neutral ones.

result: Visual Studio experiences a crash while creating the add-in DLL for the project.

Below is a cut and paste of the crash details:

Detailed technical information follows:
---
Date and Time: 6/26/2009 1:51:40 PM
Machine Name: BUILD3
IP Address: 192.168.1.42
Current User: BUILD3\build

Application Domain: DefaultDomain
Assembly Codebase: file:///C:/Program Files/Add-in Express/Add-in Express for .NET/Bin/Packages/VS2003/AddinExpress.Wizard.dll
Assembly Full Name: AddinExpress.Wizard, Version=5.0.2021.2003, Culture=neutral, PublicKeyToken=4416dd98f0861965
Assembly Version: 5.0.2021.2003
Assembly Build Date: 7/14/2005 2:06:46 AM

Exception Source: AddinExpress.Wizard
Exception Type: System.ApplicationException
Exception Message: Can't create the 'C:\Documents and Settings\build\My Documents\Visual Studio Projects\MyAddin1PIA\MyAddin1PIA\OfficePIAs\Office.dll' assembly.
Exception Target Site: GeneratePIA

---- Stack Trace ----
AddinExpress.Wizard.ADXWizard.GeneratePIA(interopName As String, _namespace As String, lang As ADXProjectLang, piaFullName As String, references As References, tlbFullPath As String, tlbID As String, major As Int32, minor As Int32, localID As Int32, snFullPath As String, allowSigh As Boolean, piaList As SortedList)
AddinExpress.Wizard.dll: N 01649 (0x671) JIT


Posted 26 Jun, 2009 15:07:19 Top
mani ghasemlou




Posts: 66
Joined: 2009-06-09
I should also note that this bug happens every time. My work is currently blocked as a result, so I appreciate any timely feedback.

Kind regards,
Mani
Posted 26 Jun, 2009 15:21:55 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Hello Mani,

We always recommend installing all Microsoft updates and the latest SP for Windos XP is SP3. Please install it (annd all other updates) and tell me if this solves the issue.


Andrei Smolin
Add-in Express Team Leader
Posted 29 Jun, 2009 07:29:42 Top
mani g




Posts: 66
Joined: 2009-06-09
Hi Andrei,

I've updated to SP3, with the latest updates to Windows XP and Office 2007 from the Microsoft Software Update site.

Unfortunately, I am still experiencing this crash. Stack trace is below. Please let me know if there is any way I can help you diagnose the issue, as this remains a high priority for me.

Kind regards,
Mani

------

Detailed technical information follows:
---
Date and Time: 7/8/2009 4:29:00 PM
Machine Name: BUILD3
IP Address: 192.168.1.42
Current User: BUILD3\build

Application Domain: DefaultDomain
Assembly Codebase: file:///C:/Program Files/Add-in Express/Add-in Express for .NET/Bin/Packages/VS2003/AddinExpress.Wizard.dll
Assembly Full Name: AddinExpress.Wizard, Version=5.0.2021.2003, Culture=neutral, PublicKeyToken=4416dd98f0861965
Assembly Version: 5.0.2021.2003
Assembly Build Date: 7/14/2005 2:06:46 AM

Exception Source: AddinExpress.Wizard
Exception Type: System.ApplicationException
Exception Message: Can't create the 'C:\Documents and Settings\build\My Documents\Visual Studio Projects\CalendarSelect4\CalendarSelect4\OfficePIAs\Office.dll' assembly.
Exception Target Site: GeneratePIA

---- Stack Trace ----
AddinExpress.Wizard.ADXWizard.GeneratePIA(interopName As String, _namespace As String, lang As ADXProjectLang, piaFullName As String, references As References, tlbFullPath As String, tlbID As String, major As Int32, minor As Int32, localID As Int32, snFullPath As String, allowSigh As Boolean, piaList As SortedList)
AddinExpress.Wizard.dll: N 01649 (0x671) JIT


Posted 08 Jul, 2009 17:40:53 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Hello Mani,

It looks like you don't have administrative permissions on your PC. Is this correct?


Andrei Smolin
Add-in Express Team Leader
Posted 09 Jul, 2009 09:43:06 Top
mani g




Posts: 66
Joined: 2009-06-09
Hello Andrei,

No, that's not correct. The user does have administrative permissions as configured in the account settings.

To be 100% sure, I logged in as another user, that also has admin privileges, and encountered the same crash.

The crash has to do with generating the PIA. I am able to successfully build add-ins using the version-neutral libraries.

Regards,
Mani
Posted 09 Jul, 2009 12:12:27 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Mani.

Is .NET Framework SDK installed on your PC?
Posted 09 Jul, 2009 14:50:35 Top
mani g




Posts: 66
Joined: 2009-06-09
The .NET framework SDK was not installed on my machine.

I have now installed the following:

- Microsoft Windows SDK for Windows Server 2008 (this includes the .NET 3.5 SDK)
- Microsoft .NET Framework SDK 2.0

I rebooted the machine after installing the above, just to make sure. Unfortunately, I am still experiencing the same crash. :(

1) Do I need to install the 1.1 SDK as well? The MSDN site says that this is already included with VS.NET 2003
2) VS.NET 2003 is installed on a different drive than Add-In-Express and my .NET libraries. Could this cause the issue?

Regards,
Mani
Posted 09 Jul, 2009 18:09:24 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Mani.

I use the tlbimp.exe tool to generate interops. Please check if the tool works properly on your PC. You can also add interops via the Add References dialog of your project.
Posted 13 Jul, 2009 13:57:45 Top