Re: Newby : Access denied creating com object

From: Chris Jackson (chrisjATmvpsDOTorgNOSPAM)
Date: 12/29/03

  • Next message: Doug Holland: "RE: Security Tab Missing"
    Date: Mon, 29 Dec 2003 10:48:29 -0500
    
    

    Since you are using web forms, then you need to check the permissions on
    your object to ensure that the user token that the ASP.NET worker process is
    running under (by default, MACHINE\ASPNET) has the appropriate permissions.

    You may also want to consider creating an interop assembly, which will give
    you strong typing and make using this COM object as easy as using a .NET
    assembly. VS.NET will do this for you, and you can also use the SDK tool
    tlbimp.exe.

    -- 
    Chris Jackson
    Software Engineer
    Microsoft MVP - Windows Client
    Windows XP Associate Expert
    -- 
    More people read the newsgroups than read my email.
    Reply to the newsgroup for a faster response.
    (Control-G using Outlook Express)
    -- 
    "JK" <joost.kooman@nospamlf.fr> wrote in message
    news:bs7l54$7v0$1@news.tiscali.fr...
    > Hello,
    >
    > When I try to create a Word application object from a webform using
    > server.createobject("Word.Application") I get this error "Access denied"
    >
    > Does anyone know what I am doing wrong? Thanks for any help!
    >
    > Joost
    >
    >
    

  • Next message: Doug Holland: "RE: Security Tab Missing"

    Relevant Pages

    • Re: question about SAMBA shared directory and file permissions
      ... I was thinking more of what happens to file permissions when a file is ... >> You might also need to set the directory mode on the share. ... >> ownerships get altered when accessed by a Windows client? ... There's a useful guide to configuring samba at: ...
      (freebsd-questions)
    • Re: prevent access to web.config
      ... encrypt the string, ... >should be using a user account with VERY low permissions ... >Microsoft MVP - Windows Client ... >More people read the newsgroups than read my email. ...
      (microsoft.public.dotnet.security)
    • Re: prevent access to web.config
      ... Set the ACLs on the file so that he doesn't have permission to view it. ... Also, you may want to explore the aspnet_setreg tool to encrypt the string, ... your team should theoretically have higher permissions anyway, ... Microsoft MVP - Windows Client ...
      (microsoft.public.dotnet.security)
    • Re: Unable to access FP extensions admin/permissions from site on
      ... You need to contact your web host to see if they will give you permissions to access the FP Admin ... Microsoft MVP - FrontPage ... "Thomas A. Rowe" wrote: ...
      (microsoft.public.frontpage.extensions.windowsnt)
    • Re: Deploying Software with Computer GPO Errors
      ... Nathan I recommend you to try with Share Permission everyone full control ... >> Microsoft MVP - Directory Services ... set the permissions on the share with Administrators having ... Setup the Software Installation default location to the ...
      (microsoft.public.win2000.active_directory)