Question : .NET 3.5 web application crashes on 3.0 server

ehhh... I updated a project to .NET 3.5, and now it is crashing when I try to serve it from a server with 3.0 on it.

It's the web.config file.

Is there any way I can revert back?  Or at least point the assembly to the right version and key?  I can't update the server.

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 58:       

Thanks

Answer : .NET 3.5 web application crashes on 3.0 server

Go to the properties for the project file (in Solution Explorer right-click the project and choose properties). On the Application tab change the Target Framework to 3.0. It should remove all the 3.5-specific stuff from the web.config.

If that doesn't work, you could probably hand-edit the web.config and remove any of the stuff that refers to 3.5 assemblies.
Random Solutions  
 
programming4us programming4us