Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bill Smith 52 posts 222 karma points
    Mar 14, 2013 @ 19:14
    Bill Smith
    0

    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

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 15, 2013 @ 01:27
    Jan Skovgaard
    0

    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

  • Bill Smith 52 posts 222 karma points
    Mar 15, 2013 @ 10:18
    Bill Smith
    0

    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


  • Alex Skrypnyk 6163 posts 24143 karma points MVP 8x admin c-trib
    Mar 15, 2013 @ 11:12
    Alex Skrypnyk
    0

    Hi Bill,

    do you set folders rights? 

    do you have MVC installed on the staging server?

    Alex

Please Sign in or register to post replies

Write your reply to:

Draft