.Net Shared AddIn on 2003x64
.Net Shared AddIn on 2003x64
.Net Shared AddIn on 2003x64
.Net Shared AddIn on 2003x64
.Net Shared AddIn on 2003x64
.Net Shared AddIn on 2003x64 .Net Shared AddIn on 2003x64 .Net Shared AddIn on 2003x64 .Net Shared AddIn on 2003x64 .Net Shared AddIn on 2003x64 .Net Shared AddIn on 2003x64 .Net Shared AddIn on 2003x64 .Net Shared AddIn on 2003x64
.Net Shared AddIn on 2003x64 .Net Shared AddIn on 2003x64
.Net Shared AddIn on 2003x64
Go Back  Xtreme Visual Basic Talk > > > .Net Shared AddIn on 2003x64


Reply
 
Thread Tools Display Modes
  #1  
Old 09-27-2007, 06:49 AM
topry topry is offline
Newcomer
 
Join Date: May 2007
Posts: 23
Default .Net Shared AddIn on 2003x64


Has anyone deployed a .Net shared AddIn on any Windows 64bit OS?

I have an addin that works fine on XP and 2003 std with Terminal Services, but on 2003x64, the AddIn fails to load (LoadBehavior is set to 2 when Word/Excel first loads).

I have compiled the modules using x86 (tried first as AnyCPU also), the setup has the KB908002 patch/dependency, etc. I have tried manually registering the modules, verified the regkeys in the 32bit registry - everything I can think of.

I have yet to find anyone that has used a .Net 2005 developed shared addin on 2003x64 with Office 2003/32bit. Can anyone tell me definitively that it works and if so, what else I might check?

What about server 2008 - anyone working with the beta that has a shared addin working on that OS?
Reply With Quote
  #2  
Old 09-27-2007, 09:00 AM
DennisW's Avatar
DennisW DennisW is offline
Junior Contributor
 
Join Date: Mar 2006
Location: Östersund, Sweden
Posts: 268
Default

I don't believe we can give more input to You then what You already got here.
__________________
Kind regards,
Dennis

.NET & Excel | 2nd edition PED | MVP
Reply With Quote
  #3  
Old 09-27-2007, 09:04 AM
topry topry is offline
Newcomer
 
Join Date: May 2007
Posts: 23
Default

Unfortunately, everything the one person suggested in the forum, I have tried without success. Im still looking for someone that has actually used a .Net created addin under 64bit Windows or at least someone that can say definitively that it should or should not work. I have yet to find either in any forum/documentation, etc.
Reply With Quote
  #4  
Old 09-27-2007, 01:27 PM
topry topry is offline
Newcomer
 
Join Date: May 2007
Posts: 23
Default

For anyone else that may try to create an AddIn for 32bit Office on a 64bit OS - they DO work.

You must compile as x86 and verify that your setup program creates the proper reg entries in the 32 bit registry. A standard project/setup created in VS using the default template, works with no modification.

I traced the issue to initialization code that I thought was benign...

"If TypeOf (applicationObject) Is Excel.Application Then..."

For some reason, the 64bit OS is choking (an untrappable error) on simple type checking.

After much nashing of teeth, I found that the Office 2003 PIAs in the GAC were apparently corrupt. Removed, readded them to the GAC and this issue was resolved.

While I have some others unique to the constructs of my AddIn - at least I can confirm that a 32bit AddIn will work on 64bit 2003.

Last edited by topry; 09-27-2007 at 03:03 PM.
Reply With Quote
  #5  
Old 09-28-2007, 07:59 AM
DennisW's Avatar
DennisW DennisW is offline
Junior Contributor
 
Join Date: Mar 2006
Location: Östersund, Sweden
Posts: 268
Default

Hi again,

Thanks for coming back and share Your fíndings which is highly appreciated
__________________
Kind regards,
Dennis

.NET & Excel | 2nd edition PED | MVP
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
.Net Shared AddIn on 2003x64
.Net Shared AddIn on 2003x64
.Net Shared AddIn on 2003x64 .Net Shared AddIn on 2003x64
.Net Shared AddIn on 2003x64
.Net Shared AddIn on 2003x64
.Net Shared AddIn on 2003x64 .Net Shared AddIn on 2003x64 .Net Shared AddIn on 2003x64 .Net Shared AddIn on 2003x64 .Net Shared AddIn on 2003x64 .Net Shared AddIn on 2003x64 .Net Shared AddIn on 2003x64
.Net Shared AddIn on 2003x64
.Net Shared AddIn on 2003x64
 
.Net Shared AddIn on 2003x64
.Net Shared AddIn on 2003x64
 
-->