Could not load file or assembly 'System.Web.Abstractions' or one of its dependencies.

Discussion in 'ASP.NET / ASP.NET Core' started by penchant, Jul 20, 2008.

  1. Windows 2008 / IIS 7

    Have created a web application using the latest MVC refresh (v4) & it works fine on my laptop, but when I upload it to discountasp.net and run it in my browser get this message:

    Could not load file or assembly 'System.Web.Abstractions' or one of its dependencies. Strong name signature could not be verified. The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)



    'System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'



    I came across this post which may be related.


    How to fix so my web application can run on DiscountASP server?
     
  2. Found a fix - there was a mixup in the DLL versioning. Set the Systems.Web.Abstractions dll to 'copy local = true'(References / right click properties) & uploaded it and the website loaded as expected.
     
  3. Thanks for posting the resolution, should be helpful to others. [​IMG]
     
  4. Not very helpful I'm afraid. I downloaded the files referenced here: http://forums.asp.net/t/1261720.aspxand dropped all thre libraries into my project. I referenced them and rebuilt the project and uploaded. It still says that the libraries could not be found. Incidentally, when I patched 3.5 to 3.5 SP1, this very issue was resolved on my local machine and everything ran perfectly. Have the DASP servers been upgraded to SP1 by chance? Penchant, what did you do to get it running...Iam not surewhat you are speaking about when you say "Set the Systems.Web.Abstractions dll to 'copy local = true'(References / right click properties) & uploaded it and the website loaded as expected"...

    Thanks!

    -Ken

    Post Edited (superwizbang) : 9/15/2008 4:47:38 PM GMT
     
  5. Hey Penchant, that worked for me. Thanks.
     

Share This Page