Take a look at the NTFS permissions on the directory with excel.exe in it.
I suspect the ASP login doesn't have privs to this directory. I ran into
similar problems with straight ASP and that was the solution.
Mike Ober.
"Anand[MVP]" <(E-Mail Removed)> wrote in message
news:B07A6B81-9A2D-4E64-B4DF-(E-Mail Removed)...
> From the error you got it does not seem to be a security problem. I would
> suspect Excel not being correctly registered. Are you able to create an
Excel
> object from a normal winform application running on the machine where the
web
> server is installed?
>
> --
> Rgds,
> Anand
> VB.NET MVP
> http://www.dotnetindia.com
>
>
> "Mark" wrote:
>
> > Yes it is installed.
> >
> > How can I get ASP.Net to recognize it and open it? (specifics are very
> > helpful, as I am not a guru with security, etc.)
> >
> > Thanks
> > Mark
> >
> > "Anand[MVP]" wrote:
> >
> > > Do you have excel installed on that machine??
> > >
> > > --
> > > Rgds,
> > > Anand
> > > VB.NET MVP
> > > http://www.dotnetindia.com
> > >
> > >
> > > "Mark" wrote:
> > >
> > > >
> > > >
> > > > VB Code
> > > > Dim xlApp As Microsoft.Office.Interop.Excel.Application
> > > >
> > > > 'Open Excel Application
> > > > xlApp = CreateObject("Excel.Application") ' ***** Blows up
here
> > > > *****
> > > >
> > > > Error Exception Details
> > > > System.Exception: Cannot create ActiveX component.
> > > >
> > > > Stack
> > > >
>