Currently I am getting an assembly error on my site - Could not load file or assembly 'System.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. I can not find any information as to why this is happening. In my web.config I simply have - PHP: <assemblies> <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> </assemblies> No references to this at all, and when building/compiling when I check my references I clearly see that it should be using 2.0.0.0 for system.web I tried bining the dll too and no luck there. Any ideas on how to resolve this?
Did this happen after a change? One thing I recenty became aware of is the GAC will have priority with versioning. The System.Web assmeblies are definately in the GAC. So my guess would be you might need to change the version in your web.config to match. Just a guess.