how to load the dll from Web services. RRS feed

  • Question

  • Hi ,
          I have create the web service and deployed.In web sevices i am load the another Dll from different path(D:\\test\*.dll) using reflection . but i am getting some error ..

    Server was unable to process request. ---> Could not load file or assembly 'test, Version=, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418).

    all helps are appreciate.

    thanks & Regards,

    Monday, November 2, 2009 12:11 PM


All replies

  • Hi,
    A quick question: did you try to install the dll into GAC? if not, you may have a try.
    by the way, how did you deploy the web service? is the web service located on other machine?

    Please remember to mark helpful replies as answers and unmark them if they provide no help.
    Friday, November 6, 2009 7:34 AM
  • If you are sure that you have that file in that folder on that machine you may need to check if aspnet_wp account has access to that folder.
    Tech Lead at software development company
    • Marked as answer by eryang Wednesday, November 11, 2009 10:17 AM
    Monday, November 9, 2009 6:53 PM