I've very much liked working with umbraco and finally got the site looking how I needed it to on the dev server. I went to change it over on to the live server and I get this error.
Server Error in '/' Application.
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 97: <assemblies> Line 98: <!-- ASPNETAJAX --> Line 99: <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> Line 100: <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> Line 101: <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
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.1873; ASP.NET Version:2.0.50727.1433
I was running this as a .NET 2.0 application on the dev server with no issues and I have verified that .NET AJAX extensions are installed on the live server. Is this just a matter of having a wrong web.config file or am I in trouble here?
I have looked for a web.config file that will work with .NET 2.0 and haven't found any different ones. I am not a developer or SA unfortunately, more of a designer forced into getting this done so I have some understanding of IIS but not a ton. Any help would be seriously appreciated.
Looks like you have dependencies on the 3.5 framework in your web.config, but I don't recall those being part of the default settings for 4.0.x versions?
The 3.5 framework is an extension to the 2.0 runtime, so even though your dev server site runs in 2.0 mode, it might still use 3.5 assemblies.
I have a config file that has these entries around the place you mention:
Parser
Error Message: Could not load file or assembly
'System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system
cannot find the file specified.
Source Error:
Line 97: <assemblies> Line 98: <!-- ASPNETAJAX --> Line 99: <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> Line 100: <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /> Line 101: <add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
I was using the web.config straight out of the box from the latest version of umbraco at the time 4.0.2 and had only made changes to the database connection and smtp server areas.
I originally thought it was maybe some downloaded add-ons that were making reference to these 3.5 assemblies but I tried a clean install of 4.0.3 and same deal.
The error is now different. I removed all references to .NET 3.5 assemblies and I now get the following error:
Compiler executable file csc.exe cannot be found.
Description: An unhandled exception occurred during
the execution of the current web request. Please review the stack trace
for more information about the error and where it originated in the
code.
Exception Details: System.InvalidOperationException:
Compiler executable file csc.exe cannot be found.
Source Error:
An unhandled exception was generated during the execution of the current
web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
This was a great help. I don't know how I ended up with a bad web.config but I did. This makes Umbraco run on the server, but even though I copied all the files over from the dev server, it is making me install umbraco again when I navigate to the URL. Is this normal?
Will all of my content and custom templates and such be there when I get there? I've already restored the server backup to the new location.
Actually, it appears most of it did transfer over...but I can't log into Umbraco! None of my users transfered over so I'm a bit stuck. Also, some style sheets appear to have gotten lost in the shuffle as well but I can fix that if I can gain access to the back end. Any ideas?
@Sebastiaan - You saved my life. That is the issue and I can log in without issue.
@Morten - I did figure that out eventually but thank you for all the help throughout the process. As soon as the SA gets directoryURLs set up for me, the site will be fully functional and operational!
Site worked fine on dev, and won't work on live
HI all,
I've very much liked working with umbraco and finally got the site looking how I needed it to on the dev server. I went to change it over on to the live server and I get this error.
Server Error in '/' Application.
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: \\GMTI\DFS01\GTV\CAPTIVATE\Blogs\web.config Line: 99
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.1873; ASP.NET Version:2.0.50727.1433
I was running this as a .NET 2.0 application on the dev server with no issues and I have verified that .NET AJAX extensions are installed on the live server. Is this just a matter of having a wrong web.config file or am I in trouble here?
I have looked for a web.config file that will work with .NET 2.0 and haven't found any different ones. I am not a developer or SA unfortunately, more of a designer forced into getting this done so I have some understanding of IIS but not a ton. Any help would be seriously appreciated.
Which version of Umbraco are you using?
Looks like you have dependencies on the 3.5 framework in your web.config, but I don't recall those being part of the default settings for 4.0.x versions?
The 3.5 framework is an extension to the 2.0 runtime, so even though your dev server site runs in 2.0 mode, it might still use 3.5 assemblies.
I have a config file that has these entries around the place you mention:
But you might need to make more changes if the entire web.config is set up for 3.5 framework.
Odd,
I still get this message:
Parser Error Message: Could not load file or assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
Source Error:
I was using the web.config straight out of the box from the latest version of umbraco at the time 4.0.2 and had only made changes to the database connection and smtp server areas.
Hi Morten,
Thanks for the help first off.
I originally thought it was maybe some downloaded add-ons that were making reference to these 3.5 assemblies but I tried a clean install of 4.0.3 and same deal.
Hmmm,
The error is now different. I removed all references to .NET 3.5 assemblies and I now get the following error:
Compiler executable file csc.exe cannot be found.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.InvalidOperationException: Compiler executable file csc.exe cannot be found.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
The complete web.config from 4.0.3 looks like this (below).
I don't see any references to 3.5 assemblies in there. Could you try using this config, and just inserting your own connection string?
Have you done any other changes to your own web.config file?
Hi Morten,
This was a great help. I don't know how I ended up with a bad web.config but I did. This makes Umbraco run on the server, but even though I copied all the files over from the dev server, it is making me install umbraco again when I navigate to the URL. Is this normal?
Will all of my content and custom templates and such be there when I get there? I've already restored the server backup to the new location.
Actually, it appears most of it did transfer over...but I can't log into Umbraco! None of my users transfered over so I'm a bit stuck. Also, some style sheets appear to have gotten lost in the shuffle as well but I can fix that if I can gain access to the back end. Any ideas?
You might want to change the passwordFormat by removing these properties:
It's possible that your users were made when password hashing was not on by default.
To make it not show the install wizard, set this key:
Thank you both for the response.
@Sebastiaan - You saved my life. That is the issue and I can log in without issue.
@Morten - I did figure that out eventually but thank you for all the help throughout the process. As soon as the SA gets directoryURLs set up for me, the site will be fully functional and operational!
Thanks again everyone
is working on a reply...