Copied to clipboard

Flag this post as spam?

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


  • Ben Tice 31 posts 131 karma points
    Jul 22, 2014 @ 17:09
    Ben Tice
    0

    Error after deploying to server

    Hi All,

    I have a working instance of Umbraco 7 on my local machine via Visual Studio 2013. I've deployed it to my live server by:

    1. Publishing the project to the local file system
    2. uploading the file to my server
    3. backing up the local db (SQL Server 2012 Express)
    4. Restoring the db on my server

    I've received this 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 'NHibernate, Version=3.3.1.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4' or one of its dependencies. The system cannot find the file specified.

    Source Error:

    Line 182:      <assemblies>
    Line 183:        <add assembly="System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    Line 184:        <add assembly="NHibernate, Version=3.3.1.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4"/>
    Line 185:        <add assembly="Castle.Windsor, Version=3.2.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc"/>
    Line 186:        <add assembly="Castle.Core, Version=3.2.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc"/>


    Source File: C:\inetpub\wwwroot\mysupportmailbox.com\www2\web.config    Line: 184

     

    Can someone please help? Am I missing a step publishing in VS?

    Thanks,
    Ben

  • Ben Tice 31 posts 131 karma points
    Jul 22, 2014 @ 17:50
    Ben Tice
    1

    In case this comes up for anyone else. The publish functionality only publishes items that are included in the project. In my case, I had a folder of dlls in the bin directory that had not come across with the publish.

    Ben

  • James 251 posts 1169 karma points
    Jul 23, 2014 @ 11:19
    James
    0

    It may be worth going through your project with hidden files turned on and individually publishing or adding to project those files that are missing.

    App Data for me hasd to be published seperately unless i include it in the project.

    Maybe one or two files form inside that folder are missing?

Please Sign in or register to post replies

Write your reply to:

Draft