Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Problem with Excel Automation in ASP.net on IIS6 & Windows 2003

Reply
Thread Tools

Problem with Excel Automation in ASP.net on IIS6 & Windows 2003

 
 
Sam Vanderstraeten
Guest
Posts: n/a
 
      12-08-2005
Hi all,

Situation:
- ASP.net application, written in VB.net
- Excel 2002 installed on server

Problem:
The application I wrote is an ASP.net webpage that uses Excel to generate
some pages. This works already more than 1,5 years on a Windows 2000 server
with IIS 5 and the .NET Framework 1.1.
To run the Excel from a webpage, I "activated" impersonation in the
machine.config.

Now, another copy of that application needs to be installed on a new server:
Windows 2003 Server with IIS 6.
Troubles from the first run!
I'm getting the well known error saying "Cannot create ActiveX component". I
tuned eveything in the same way as I did (already 10 times) on Windows 2000
Machines.
I guess it is a security issue, so I changed the settings in "dcomcnfg.exe",
with no effect...

Does anyone has a suggestion how to solve this problem?

Thanks in advance!

Sam


 
Reply With Quote
 
 
 
 
Nick Hall
Guest
Posts: n/a
 
      12-09-2005

"Sam Vanderstraeten" <> wrote in message
news:%23WFB2AB$...
> Hi all,
>
> Situation:
> - ASP.net application, written in VB.net
> - Excel 2002 installed on server
>
> Problem:
> The application I wrote is an ASP.net webpage that uses Excel to generate
> some pages. This works already more than 1,5 years on a Windows 2000
> server
> with IIS 5 and the .NET Framework 1.1.
> To run the Excel from a webpage, I "activated" impersonation in the
> machine.config.
>
> Now, another copy of that application needs to be installed on a new
> server:
> Windows 2003 Server with IIS 6.
> Troubles from the first run!
> I'm getting the well known error saying "Cannot create ActiveX component".
> I
> tuned eveything in the same way as I did (already 10 times) on Windows
> 2000
> Machines.
> I guess it is a security issue, so I changed the settings in
> "dcomcnfg.exe",
> with no effect...
>
> Does anyone has a suggestion how to solve this problem?
>
> Thanks in advance!
>
> Sam
>
>

You may wish to review the contents of the following Knowlege Base
Article: -

http://support.microsoft.com/default...b;EN-US;257757

Basically, Office is not supported in a server scenario.

Regards,

Nick Hall



 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Excel reports ::::Excel 2003 Migration To Excel 2007 =?Utf-8?B?c2hhc2hhbmsga3Vsa2Fybmk=?= ASP .Net 15 10-24-2007 01:34 PM
Supressing the ctrl-c and other keys during word automation in automation apondu ASP .Net 0 07-19-2007 09:10 PM
User defined functions through Automation in Excel 2003 jpgreenwald@gmail.com Python 2 09-17-2006 10:54 AM
Problem with Excel Automation in ASP.net on IIS6 & Windows 2003 Sam Vanderstraeten ASP .Net 1 12-09-2005 12:10 PM
url rewriting giving 404 error when host site with windows 2003 server and iis6.0 sandeep pandit via .NET 247 ASP .Net 0 04-28-2004 10:54 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57