ActiveX component can't create object: 'Excel.Application' error ONLY in IIS
- From: Steve Kershaw <steve_kershaw@xxxxxxxxx>
- Date: Tue, 17 Jul 2007 08:58:47 -0700
Hi,
I have a simple web page that starts Excel and fills it with some
dummy data. Using IE I can run this web page from the C: drive (IE: "C:
\startexcel.htm") and it runs fine. However, when I put the web page
in the wwwroot directory in IIS and try to run it there (IE: "http://
startexcel.htm") it gives me the error:
Error: ActiveX component can't create object: 'Excel.Application'
The code line that fires the error can be seen below:
<SCRIPT LANGUAGE="VBScript">
sub button1_onclick()
' Launch Excel
dim app
set app = createobject("Excel.Application")
end sub
Is there a way to start Excel from IIS using VBScript? Or JavaScript
even?
Thanks
Steve
.
- Follow-Ups:
- Prev by Date: Re: get changed value only
- Next by Date: Re: Browser Incompatibility
- Previous by thread: How to clear a textbox on GotFocus in a web-page ?
- Next by thread: Re: ActiveX component can't create object: 'Excel.Application' error ONLY in IIS
- Index(es):