ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Interop.Excel version 11 does not work with Office 2003 sp2 (https://www.excelbanter.com/excel-programming/344146-interop-excel-version-11-does-not-work-office-2003-sp2.html)

Hua Huang

Interop.Excel version 11 does not work with Office 2003 sp2
 
Hi,

We just upgraded to MS office 2003 sp2. We used the Interop.Excel version
11.xxxx in VS.net 2003 to generate the excel spreadsheet. It no longer works
in sp2 environment. We've got "Rejected Safe Mode action : Microsoft Office
Excel." exception and then "Faulting application excel.exe, version
11.0.6560.0, stamp 4296b6f2, faulting module mso.dll, version 11.0.6568.0,
stamp 42e18ef6, debug? 0, fault address 0x0003446c." exception.

Thanks for your help in advance!
Hua

Clegg

Interop.Excel version 11 does not work with Office 2003 sp2
 

I am having a similar problem where I cannot use the Interop.Excel calls
after SP2, did you ever find a solution?

"Hua Huang" wrote:

Hi,

We just upgraded to MS office 2003 sp2. We used the Interop.Excel version
11.xxxx in VS.net 2003 to generate the excel spreadsheet. It no longer works
in sp2 environment. We've got "Rejected Safe Mode action : Microsoft Office
Excel." exception and then "Faulting application excel.exe, version
11.0.6560.0, stamp 4296b6f2, faulting module mso.dll, version 11.0.6568.0,
stamp 42e18ef6, debug? 0, fault address 0x0003446c." exception.

Thanks for your help in advance!
Hua


Stephane Rodriguez[_3_]

Interop.Excel version 11 does not work with Office 2003 sp2
 

I remember have seen a post in MSDN blogs about that a week or two
Anyway, if Interop.Excel.dll is produced by you when adding a referenc
to Excel.exe then I would strongly suggest to use the official Offic
2003 assemblies instead, Office 2003 primary interop assemblies. Thos
are signed, unlike those generated from VisualStudio, and thanks t
this can mitigate the XP SP2 problems

--
Stephane Rodrigue

-----------------------------------------------------------------------
Stephane Rodriguez's Profile: http://www.hightechtalks.com/m33
View this thread: http://www.hightechtalks.com/t227255


Hua Huang[_2_]

Interop.Excel version 11 does not work with Office 2003 sp2
 
Yes.
Go to Component Services (Control Panel-Admin tool), expand My Computer,
then expand "DCOM Config", find "Microsoft.Excel.Application", right click to
show "Property", then select "Identity" tab. It says Which user account do
you want to use to run this application?, choose "This User", then enters an
account which has "Administrator" role. Excel application need to run under
the admin account from my web application.

Good luck!
Hua

"Clegg" wrote:


I am having a similar problem where I cannot use the Interop.Excel calls
after SP2, did you ever find a solution?

"Hua Huang" wrote:

Hi,

We just upgraded to MS office 2003 sp2. We used the Interop.Excel version
11.xxxx in VS.net 2003 to generate the excel spreadsheet. It no longer works
in sp2 environment. We've got "Rejected Safe Mode action : Microsoft Office
Excel." exception and then "Faulting application excel.exe, version
11.0.6560.0, stamp 4296b6f2, faulting module mso.dll, version 11.0.6568.0,
stamp 42e18ef6, debug? 0, fault address 0x0003446c." exception.

Thanks for your help in advance!
Hua



All times are GMT +1. The time now is 07:13 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com