Hi I have been developing an application to on VS2008 in C# and now i tried to deploy it for the first time on my windows 2003 server. The app ran great in VS2008 but when i try to deploy it on the server for some testing i get the following. Iv been looking
around on the internet and tried chaning line 45 from 3.5.0.0 to 2.0.0.0 etc but it doesnt work. Could any help me understand what is wrong and how i can fix it?
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 43:
Line 44: <assemblies>
Line 45: <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
Line 46: <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
Line 47: <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
When you install VS2008 on your development machine, .NET Framework 3.5 is installed as well. Also, when you create new web sites, by default the target framework is 3.5, and thus requires 3.5 assemblies to be present ont the deployment environment.
==============================================
If you get the answer to your question, please mark it as the answer.
Marked as answer by flummer on Jan 16, 2008 05:15 AM
I tried delpying the website on another server and noticed that i had framework 3.0 servicepack 1 installed but framework 3.5 was not present. After installing that the application started running.
I was using Visual Studio 2008 to build an HTTP Module to do some SharePoint munging, and suddently some incremental change I made started generated the error message about 3.5 missing. Up until that time, my code was running fine with 2.0, but some tiny
change suddently started requiring 3.5. Strange.
Thank you for saving me some time. This post helped me out.
Sorry for being a bit slow. I am very new at this. My hosting provier states they have .Net Framework 3.5 but I am still getting this error. Would someone give me a little detail here?
flummer
Member
95 Points
118 Posts
Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral....
Jan 15, 2008 09:17 AM|LINK
Hi I have been developing an application to on VS2008 in C# and now i tried to deploy it for the first time on my windows 2003 server. The app ran great in VS2008 but when i try to deploy it on the server for some testing i get the following. Iv been looking around on the internet and tried chaning line 45 from 3.5.0.0 to 2.0.0.0 etc but it doesnt work. Could any help me understand what is wrong and how i can fix it?
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:
Source File: C:\Inetpub\wwwroot\CMS\web.config Line: 45
Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' could not be loaded.
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
hongping
Contributor
3403 Points
635 Posts
Microsoft
Re: Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral....
Jan 15, 2008 05:54 PM|LINK
You need .NET Framework 3.5 on the server too.
When you install VS2008 on your development machine, .NET Framework 3.5 is installed as well. Also, when you create new web sites, by default the target framework is 3.5, and thus requires 3.5 assemblies to be present ont the deployment environment.
If you get the answer to your question, please mark it as the answer.
flummer
Member
95 Points
118 Posts
Re: Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral....
Jan 16, 2008 05:15 AM|LINK
Right you are.
I tried delpying the website on another server and noticed that i had framework 3.0 servicepack 1 installed but framework 3.5 was not present. After installing that the application started running.
eniveld
Member
4 Points
4 Posts
Re: Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral....
Feb 26, 2008 09:40 PM|LINK
I was using Visual Studio 2008 to build an HTTP Module to do some SharePoint munging, and suddently some incremental change I made started generated the error message about 3.5 missing. Up until that time, my code was running fine with 2.0, but some tiny change suddently started requiring 3.5. Strange.
Thank you for saving me some time. This post helped me out.
David
President, Asparagus Corporation
WayneF
Member
6 Points
30 Posts
Re: Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral....
Jul 07, 2008 11:12 AM|LINK
Sorry for being a bit slow. I am very new at this. My hosting provier states they have .Net Framework 3.5 but I am still getting this error. Would someone give me a little detail here?
WayneF
Member
6 Points
30 Posts
Re: Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral....
Jul 13, 2008 01:28 PM|LINK
Just an update, as it turns out, my provider did not have .NET framework installed.