Re: Permission Denied Create Object

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Farshid Farjami (farshid.farjami_at_atosorigin.com)
Date: 01/13/05


Date: Thu, 13 Jan 2005 16:17:36 +0100

Thanx a lot to all of you for your answers.
This issue was raised due to the fact that I am using a domain user as tha
anonymous user.
I succeded to resolve the problems by running the dcomcnfg utility and
giving the user "allow" access to "Microsoft Excel Program" (located under
the DCOM Config container)
Cheers
/Farshid
"Farshid Farjami" <farshid.farjami@atosorigin.com> wrote in message
news:OwZOetW%23EHA.3616@TK2MSFTNGP11.phx.gbl...
> 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: Permission Denied Create Object
    ... > I can run the excel on the server when I am logged on into it. ... > computername_iuser user domain admin privileges and gave evreyone write ... > permissions to windows and office directory. ... > rights is to be assigned to the user in order to make the creation of ...
    (microsoft.public.inetserver.iis)
  • SQL server 2008 service: access to Excel object model
    ... We have a situation where a service, which is running as a domain user, ... We have already checked to make sure that Excel has been told to allow ... access to the Excel/VBA object model, ... The code that's doing the calling is C#. ...
    (microsoft.public.sqlserver.security)
  • Re: Permission Denied Create Object
    ... This issue was raised due to the fact that I am using a domain user as tha ... giving the user "allow" access to "Microsoft Excel Program" (located under ... > permissions to windows and office directory. ... > rights is to be assigned to the user in order to make the creation of ...
    (microsoft.public.inetserver.asp.db)
  • Re: Permission denied: CreateObject
    ... This issue was raised due to the fact that I am using a domain user as tha ... giving the user "allow" access to "Microsoft Excel Program" (located under ... > permissions to windows and office directory. ... > Excel instance possible?. ...
    (microsoft.public.inetserver.misc)
  • Re: Cubes - Role
    ... client is using -- Excel or any client tool. ... Permissions are 'union'ed together. ... the cube. ...
    (microsoft.public.sqlserver.olap)