Having a very strange issue and I'm not sure what is causing the problem.
Basic Background is - I have an Umbraco website running on a development server, using asp 4.0(Integrated Pipeline) which worked fine. No compiler errors or anything.
Today we have moved the site to our live server, we had given it its own dedicated application pool which is also using Asp 4.0 (Integrated) identical to the previous server. Yet I am now running into a FileNotFoundException. (See below)
[FileNotFoundException: Could not load file or assembly 'System.Net.Http, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.]
I Dont know if the application pool is directly related but thought I would post this information anyway incase it may help
The site has always referenced the V2.0.0.0 of System.Net.Http, yet on the swap it seems to have lost that reference in some way.
Side Note : I Have researched through other stack overflow questions that have similar issues with the System.net.http assembly. But I could not find an issue that related to the moving of a website breaking the dependancy.
Thank you for your time guys.