Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. error occur in adding dll

error occur in adding dll

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-netcomtutorial
7 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Piyush Vardhan Singh
    wrote on last edited by
    #1

    hi friends i am adding dll in asp.net then this error occur error:- Retrieving the COM class factory for component with CLSID {E0AA501C-CAD6-4D93-A5A7-DAF1C0B30F32} failed due to the following error: 80070005. then how to find solution of this error please help me.

    Piyush Vardhan Singh Senior Software Engineer TAS NewDelhi India

    A 1 Reply Last reply
    0
    • P Piyush Vardhan Singh

      hi friends i am adding dll in asp.net then this error occur error:- Retrieving the COM class factory for component with CLSID {E0AA501C-CAD6-4D93-A5A7-DAF1C0B30F32} failed due to the following error: 80070005. then how to find solution of this error please help me.

      Piyush Vardhan Singh Senior Software Engineer TAS NewDelhi India

      A Offline
      A Offline
      Abolfazl Sheikhloo
      wrote on last edited by
      #2

      i think no any solution for your question. your dll may be use any activex object that it's required to register in windows registery HKEYs. u most register your com class in windows registery. see your comm class help. We Can Do Anything, If We Want It

      P 2 Replies Last reply
      0
      • A Abolfazl Sheikhloo

        i think no any solution for your question. your dll may be use any activex object that it's required to register in windows registery HKEYs. u most register your com class in windows registery. see your comm class help. We Can Do Anything, If We Want It

        P Offline
        P Offline
        Piyush Vardhan Singh
        wrote on last edited by
        #3

        can we load our dll as dynamically at run time have u any link or example then provide me

        Piyush Vardhan Singh Senior Software Engineer TAS NewDelhi India

        1 Reply Last reply
        0
        • A Abolfazl Sheikhloo

          i think no any solution for your question. your dll may be use any activex object that it's required to register in windows registery HKEYs. u most register your com class in windows registery. see your comm class help. We Can Do Anything, If We Want It

          P Offline
          P Offline
          Piyush Vardhan Singh
          wrote on last edited by
          #4

          when i have loadin dynamically ti this code:- Dim asmblyload As System.Reflection.Assembly = System.Reflection.Assembly.LoadFile("C:\Inetpub\wwwroot\UccpLibrary\Bin\Uccp.dll") then error occurred:- The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018)

          Piyush Vardhan Singh Senior Software Engineer TAS NewDelhi India

          S 1 Reply Last reply
          0
          • P Piyush Vardhan Singh

            when i have loadin dynamically ti this code:- Dim asmblyload As System.Reflection.Assembly = System.Reflection.Assembly.LoadFile("C:\Inetpub\wwwroot\UccpLibrary\Bin\Uccp.dll") then error occurred:- The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018)

            Piyush Vardhan Singh Senior Software Engineer TAS NewDelhi India

            S Offline
            S Offline
            Sam Xavier
            wrote on last edited by
            #5

            Hello Piyush: The original error which you are getting is a very generic error. This error may arise because of the fact that ASPNET account is not given sufficient permissions to access the resource. I would suggest you to try following steps: To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access. If this does not work then, please let us know which COM DLL are you looking to use in your application? If you open DCOMCNFG from the command prompt, opened Component Services, expanded Computers/My Computer/DCOM Config, then do you see Application (DLL which you are looking to use)? If yes, then please select the same application, right click on it and click on Properties and in the resulting dialog select Security tab. Under Security Tab, click on Launch and Activation Permissions to customize, Access Permissions to customize and configuration Permissions to customize. And in all of these three select the ASPNET account.

            Best Regards, Sam Xavier www.componentone.com

            P 2 Replies Last reply
            0
            • S Sam Xavier

              Hello Piyush: The original error which you are getting is a very generic error. This error may arise because of the fact that ASPNET account is not given sufficient permissions to access the resource. I would suggest you to try following steps: To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access. If this does not work then, please let us know which COM DLL are you looking to use in your application? If you open DCOMCNFG from the command prompt, opened Component Services, expanded Computers/My Computer/DCOM Config, then do you see Application (DLL which you are looking to use)? If yes, then please select the same application, right click on it and click on Properties and in the resulting dialog select Security tab. Under Security Tab, click on Launch and Activation Permissions to customize, Access Permissions to customize and configuration Permissions to customize. And in all of these three select the ASPNET account.

              Best Regards, Sam Xavier www.componentone.com

              P Offline
              P Offline
              Piyush Vardhan Singh
              wrote on last edited by
              #6

              hi friend. i am using uccp.dll library in asp.net. you given this solution:- To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access. but have not gotted this property in uccp.dll property. where i have got this property please help me

              Piyush Vardhan Singh Senior Software Engineer TAS NewDelhi India

              1 Reply Last reply
              0
              • S Sam Xavier

                Hello Piyush: The original error which you are getting is a very generic error. This error may arise because of the fact that ASPNET account is not given sufficient permissions to access the resource. I would suggest you to try following steps: To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access. If this does not work then, please let us know which COM DLL are you looking to use in your application? If you open DCOMCNFG from the command prompt, opened Component Services, expanded Computers/My Computer/DCOM Config, then do you see Application (DLL which you are looking to use)? If yes, then please select the same application, right click on it and click on Properties and in the resulting dialog select Security tab. Under Security Tab, click on Launch and Activation Permissions to customize, Access Permissions to customize and configuration Permissions to customize. And in all of these three select the ASPNET account.

                Best Regards, Sam Xavier www.componentone.com

                P Offline
                P Offline
                Piyush Vardhan Singh
                wrote on last edited by
                #7

                in this solution:- If you open DCOMCNFG from the command prompt, opened Component Services, expanded Computers/My Computer/DCOM Config, then do you see Application (DLL which you are looking to use)? If yes, then please select the same application, right click on it and click on Properties and in the resulting dialog select Security tab. Under Security Tab, click on Launch and Activation Permissions to customize, Access Permissions to customize and configuration Permissions to customize. And in all of these three select the ASPNET account. i have not gotted my dll in the Component Services(Computers/My Computer/DCOM Config) then what i do

                Piyush Vardhan Singh Senior Software Engineer TAS NewDelhi India

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups