Re: ASP Error opening Excel

From: Karl Levinson [x y] mvp (levinson_k@excite.com)
Date: 11/07/02


From: "Karl Levinson [x y] mvp" <levinson_k@excite.com>
Date: Thu, 7 Nov 2002 13:56:50 -0500


"Hajime Kusakabe" <hajime.kusakabe@eimcoprocess.com> wrote in message
news:563d01c28683$66d1d2e0$95e62ecf@tkmsftngxs02...
> I am receiving the following error;
> ==============================================
> Error Type:
> Server object, ASP 0178 (0x80070005)
> The call to Server.CreateObject failed while checking
> permissions. Access is denied to this object.
> ==============================================
>
> Code is;
> ==============================================
> dim xlApp
> Set xlApp = Server.CreateObject("Excel.Application") <<<
> ==============================================
>
> I did all permissiion stuff, Q278013, Q315454, Q192152 but
> nothing worked.

Sounds like a permissions problem. You should enable auditing, then check
the Windows security event log. You might also be able to see what
permission is lacking by looking in the IIS web server log.

Also, it could be that the ID you think is being used is not the one being
used. As you might already know, the IWAM_computername account [and not the
IUSR account] is used if the Application Isolation setting on the folder
containing your .ASP script is set to Medium or High in the IIS MMC.

http://www.securityadmin.info/faq.htm#auditing - enabling auditing
http://www.securityadmin.info/faq.htm#iwam - IWAM vs IUSR
http://www.iisfaq.com - lots of answers to lots of IIS questions



Relevant Pages

  • Problems loading an Excel File
    ... I keep getting the following error when my ASP page gets to the line 38 --> " ... Error Type: ... Server object, ASP 0196 ... Only InProc server components should be used. ...
    (microsoft.public.inetserver.iis)
  • Server.CreateObject error
    ... Set xlsApp = Server.CreateObject ... I am writing the above code in asp and getting the following error ... Server object, ASP 0178 ... The call to Server.CreateObject failed while checking permissions. ...
    (microsoft.public.inetserver.asp.components)
  • Server object, ASP 0178
    ... Error Type: ... Server object, ASP 0178 ... permissions. ...
    (microsoft.public.inetserver.iis.security)
  • Server object, ASP 0177 (0x8007000E) Ran out of memory
    ... I am creating an instance of MFC COM dll through ASP page. ... Error Type: ... Server object, ASP 0177 ...
    (microsoft.public.inetserver.iis)
  • Invaldi ProgID: ASP 0177 (0x800401F3)
    ... I am getting a problem when I try to run my asp page.The error I am ... Error Type: ... Server object, ASP 0177 ... Invalid ProgID. ...
    (microsoft.public.inetserver.asp.components)