In this short asp.net tutorial you will learn how to get rid of this Could not load file or assembly 'System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified error.
Today when I tried to run my .aspx page while using visual studio 2008 I got this error.In my .aspx page I am using JSON (JavaScript Object Notation) and for JSON to work efficiently I was using System.Web.Services namespace.
I am giving all these details because I am not getting such error when I tried to run any of my .aspx webpage that just contain c# code. So let’s have a look over how to solve the problem.
To get rid of this error you just have to install .NET Framework 3.5 Service Pack 1 and that’s it. You can download the .NET Framework 3.5 Service Pack 1 microsoft website using this link http://www.microsoft.com/downloads/details.aspx?FamilyID=AB99342F-5D1A-413D-8319-81DA479AB0D7&displaylang=en
And if you found this link broken then go to google.com
So this is the way to get rid of this Could not load file or assembly 'System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. nasty error.
I am giving all these details because I am not getting such error when I tried to run any of my .aspx webpage that just contain c# code. So let’s have a look over how to solve the problem.
To get rid of this error you just have to install .NET Framework 3.5 Service Pack 1 and that’s it. You can download the .NET Framework 3.5 Service Pack 1 microsoft website using this link http://www.microsoft.com/downloads/details.aspx?FamilyID=AB99342F-5D1A-413D-8319-81DA479AB0D7&displaylang=en
And if you found this link broken then go to google.com
So this is the way to get rid of this Could not load file or assembly 'System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. nasty error.
Read more...