RE: Permission Denied Create Object

From: Alok Kumar (AlokKumar_at_discussions.microsoft.com)
Date: 01/13/05


Date: Thu, 13 Jan 2005 06:21:06 -0800

You do not have write permission to one of the directories that the component
is tryign to write to. The best thing is to install "Filemon" (you can
download it from http://sysinternals.com/) and run it for "inetinfo.exe and
dllhost.exe" and then run your site from the browser. Look at the logs in
filemon and look for "access denied"
in the logs. That line will show you where the problem is. Go ahead and give
anonyous user (iusr_xxx) write permission to that directory.

Alok Kumar

"Farshid Farjami" wrote:

> Hi all,
>
> I have an application which is trying to create an Excel object via asp, but
> fails to do so.
>
> I get the error message:
> Microsoft VBScript runtime error '800a0046'
> Permission denied: 'CreateObject'
>
> The line of code looks like this:
>
> Set xlApp = CreateObject("Excel.Application")
>
> I have recentley moved the application to a windows 2003. The application on
> the old environment (win2000) works fine. Honestley the permissions on the
> old environment were generousley assigned. The Office version on both the
> old and the new environment is office2k SR1.
>
> I can run the excel on the server when I am logged on into it. I gave the
> computername_iuser user domain admin privileges and gave evreyone write
> permissions to windows and office directory. Gave script and execute rights
> in IIS to the application, but none of these actions helped.
>
> I have googled for a solution to this issue but find none.
>
> The question is what user privileges do I use when I try to create an
> instance of excel, when I am accessing the application via web? What kind of
> rights is to be assigned to the user in order to make the creation of Excel
> instance possible?.
>
> Thanx in advance.
>
>
>
>
>
>



Relevant Pages

  • Re: grant IIS permission to create excel activex object
    ... If you want to run excel automation on client-side via web ... The ASPNET account permission is only on server- ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Recommended way to pass identity to web service
    ... component will be called by multiple client applications and you want each ... of them only have the permission to view their own document in the MOSS ... (through excel service). ... And when you use webservice to access teh excel service document, ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • RE: Cannot change Code Groups Membership Condition to Strong Name
    ... If you're calling into Excel you'll need unmanaged code permission, and if you're doing much with threads you'll probably need control thread ... Cannot change Code Group's Membership Condition to Strong Name ... Produced By Microsoft MimeOLE V6.00.3790.0 ...
    (microsoft.public.dotnet.security)
  • Re: Recommended way to pass identity to web service
    ... of them only have the permission to view their own document in the MOSS ... (through excel service). ... And when you use webservice to access teh excel service document, ... So each of your client application will use its own domain account ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Disk full
    ... When Excel opens, it must create some temporary files. ... and look at the AltStartup and DefaultPath keys. ... > permission to open.I have all permissions for the file.My OS is Windows 2000 ...
    (microsoft.public.excel.misc)