Domanda

I have Sitefinity website created in my local machine working fine. But when I uploaded it in the server, I got this error:

Could not load file or assembly 'System.Web.Razor, Version=2.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)

I have the Sytem.Web.Razor in bin folder, and changed the binding redirect newer version to 2.0.0 but then i get the error below.

Could not load file or assembly 'System.Web.Razor' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

È stato utile?

Soluzione

I think you'll need to install MVC to you web-server.

Check out:

Could not load file or assembly 'System.Web.Razor' or one of its dependencies

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top