Access denied to COM DLL

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Access denied to COM DLL

    Hi,
    I've been using a COM DLL (a ftp component from ChilkatSoft) without any
    issues so far in a Microsoft CMS 2002 project. The first time i used it I
    got an Acccess Denied error and so i gave the ASPNET account the full
    permissions to the tool and it worked fine.

    Now suddenly Im getting a error while loading the site. It says

    Parser Error Message: Access is denied: 'Interop.CHILKATFTPLib'.

    Source Error:


    Line 196: <add assembly="System.EnterpriseServices, Version=1.0.5000.0,
    Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    Line 197: <add assembly="System.Web.Mobile, Version=1.0.5000.0,
    Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    Line 198: <add assembly="Interop.CHILKATFTPLib, Version=1.0.0.0,
    Culture=neutral, PublicKeyToken=null"/>
    Line 199: <add assembly="*"/>
    Line 200: </assemblies>


    I only added the line to machine.config today when i got this error.

    Any ideas ? should I get this COM DLL Signed ? if so how would i do this ?

    cheers
    Ben


    Ben Guest

  2. Similar Questions and Discussions

    1. One With Access Denied, Another With Access, But NotFull
      I'm suddenly having access denied/permission problems through Contribute on every page after the templates and their related pages were updated with...
    2. Access denied??
      Hi, This is an error that my site got. I dont know why and where it comes from. What I can do is justing waiting a several minute and the error...
    3. Web Service + Anon Access, but getting 401 Access Denied Error
      I have a simple webservice that just returns a string. The security for this is set to windows authentication in IIS (XP Professional) and anonymous...
    4. Access denied when creating Access application object
      In an ASP file I am running the following in VBScript in order to extract data from an Access 2002 MDB file which is physically located in the...
    5. access denied on data access pages
      I have created data access pages that worked well when I tried them on two separate computer simutaneously, but when we went into production we got...
  3. #2

    Default Re: Access denied to COM DLL

    I solved this problem (perhaps temporarily). The COM DLL was referenced in
    another .NET DLL which was being used in the Web Application (CMS
    woodgrove). I removed the reference to my project .NET DLL from the web app
    and re-added ansd recompiled and now the application launches.

    The question on whether I should be signing the DLL still stands . Is there
    a best practices regarding COM Interop here ?

    Cheers
    Ben

    "Ben" <benjy@allfreetech[DOT]com> wrote in message
    news:Oj2QdTh0DHA.1764@TK2MSFTNGP10.phx.gbl...
    > Hi,
    > I've been using a COM DLL (a ftp component from ChilkatSoft) without any
    > issues so far in a Microsoft CMS 2002 project. The first time i used it I
    > got an Acccess Denied error and so i gave the ASPNET account the full
    > permissions to the tool and it worked fine.
    >
    > Now suddenly Im getting a error while loading the site. It says
    >
    > Parser Error Message: Access is denied: 'Interop.CHILKATFTPLib'.
    >
    > Source Error:
    >
    >
    > Line 196: <add assembly="System.EnterpriseServices, Version=1.0.5000.0,
    > Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    > Line 197: <add assembly="System.Web.Mobile, Version=1.0.5000.0,
    > Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    > Line 198: <add assembly="Interop.CHILKATFTPLib, Version=1.0.0.0,
    > Culture=neutral, PublicKeyToken=null"/>
    > Line 199: <add assembly="*"/>
    > Line 200: </assemblies>
    >
    >
    > I only added the line to machine.config today when i got this error.
    >
    > Any ideas ? should I get this COM DLL Signed ? if so how would i do this ?
    >
    > cheers
    > Ben
    >
    >

    Ben Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139