Issue deploying on shared server

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
ShadowMaster
User
Posts: 2

Issue deploying on shared server

Post by ShadowMaster »

Hi,

My site works 100% on local pc connecting to database hosted by Asphostportal.com. The moment i move my site to Asphostportal windows hosting (PLESK frontend it gives me the following error:

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.Web.WebPages.Razor, 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 72: <add assembly="System.DirectoryServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
Line 73: <!-- Optional -->
Line 74: <add assembly="System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
Line 75: </assemblies>
Line 76: <codeSubDirectories>

Source File: C:\PleskVhosts\freedomhealthagency.com\httpdocs\tiltup\web.config Line: 63

Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' 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:4.0.30319; ASP.NET Version:4.0.30319.18449

Is there anything that I missed?

Thank you


MichaelG
User
Posts: 1095

Post by MichaelG »

Make sure that your site is enabled for ASP.NET Core 6.0.1 or later. Read system requirement:
https://aspnetmaker.dev/download.php


ShadowMaster
User
Posts: 2

Post by ShadowMaster »

Hi Michael,

Thanks for your update. Asphostportal's support team helped me to solve the issue.

Thank you


Post Reply