Run Excel from ASP.NET

C

Carlos

Detection of product '{00000409-78E1-11D2-B60F-006097C998E7}', feature
'OfficeUserData', component '{C9AF9050-C8BE-11D1-9C67-0000F81F1B38}' failed.
The resource
'HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Common\UserData' does not
exist.

Detection of product '{00000409-78E1-11D2-B60F-006097C998E7}', feature
'ExcelUserData', component '{8ADD2C96-C8B7-11D1-9C67-0000F81F1B38}' failed.
The resource
'HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Excel\UserData' does not
exist.

i used createobject(excel.application) in asp.net code to run excel and
generate some excel file.
however, the event log has many of the above warning error.
i understand that this is because aspnet_wp does not has a profile for
excel.
how do i hack the registry to resolve the above problem ? i have tried to
add the dword but it does not solve the problem

thanks
 
K

Ken Cox [Microsoft MVP]

Perhaps you could explain more what you are trying to accomplish? Is it
something that could be better accomplished using the PIAs?

How to: Target Office Applications Through Primary Interop Assemblies

http://msdn.microsoft.com/library/d...tsktargetingofficeapplicationsthroughpias.asp

Ken
MVP [ASP.NET]

--
Microsoft MVPs have a question for *you*: Are you patched against the Worm?
http://www.microsoft.com/security/security_bulletins/ms03-026.asp



Detection of product '{00000409-78E1-11D2-B60F-006097C998E7}', feature
'OfficeUserData', component '{C9AF9050-C8BE-11D1-9C67-0000F81F1B38}' failed.
The resource
'HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Common\UserData' does not
exist.

Detection of product '{00000409-78E1-11D2-B60F-006097C998E7}', feature
'ExcelUserData', component '{8ADD2C96-C8B7-11D1-9C67-0000F81F1B38}' failed.
The resource
'HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Excel\UserData' does not
exist.

i used createobject(excel.application) in asp.net code to run excel and
generate some excel file.
however, the event log has many of the above warning error.
i understand that this is because aspnet_wp does not has a profile for
excel.
how do i hack the registry to resolve the above problem ? i have tried to
add the dword but it does not solve the problem

thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top