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.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Source Error:
Line 134: <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
Line 135: <add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
Line 136: <add assembly="System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> Line 137: </assemblies>
Line 138: <buildProviders>
Application pool is set to .NET 4,, and from within IIS I also get the following error:
"the configuration section 'system.web.extensions' cannot be read"
Moving Umbraco site from development to staging servers
I backed up the source database and restored it to the target database and then copied the source files and pasted them into the target server.
I get a configuration error complaining about system.web.helper. I recopied all the dlls and then got a complaint about system.web.webpages,
All the dlls are present and I'm sure they are the correct versions.
Our staging server does not have visual studio.
Any ideas?
Bill
Hi Bill
Could you copy the whole error description?
Have you remembered to change the connection string to the database in the web.config file?
Have you checked that the app pool is running .NET 4 and integrated mode?
Looking forward to hearing from you.
/Jan
Jan, 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.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Source Error:
Line 134: <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> Line 135: <add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> Line 136: <add assembly="System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> Line 137: </assemblies> Line 138: <buildProviders>
Application pool is set to .NET 4,, and from within IIS I also get the following error:
"the configuration section 'system.web.extensions' cannot be read"
And, yes, DB connections are the same.
Any further thoughts?
Bill
Hi Bill,
do you set folders rights?
do you have MVC installed on the staging server?
Alex
is working on a reply...