I have just attempted to install Contour on a Umbraco 4.6.1 site. It has entirley killed the site with error below. Admin site is dead too. What did I do wrong?
Could not load file or assembly 'System.Web.WebPages.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)
Well OK I give up - where do I download it from? The Contour Support & Download page doosenlt seem to have any download links and it was installing from the repositry that got me the wrong version.
When I did my original install I was following the instructions here http://our.umbraco.org/projects/umbraco-pro/contour#projectFiles. My reading of the second para on that page was if using 4.x I could just install from the repository, but it was that that got me into trouble - maybe that wording needs clarification?
Beskrivelse: Der opstod en fejl under behandlingen af en konfigurationsfil, der er nødvendig for at behandle denne anmodning. Se detaljerne om fejlen nedenfor, og foretag de nødvendige ændringer af konfigurationsfilen.
Meddelelse om parserfejl: Filen eller assemblyen 'System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' eller en af dens afhængigheder kunne ikke indlæses. Den fundne assemblys manifestdefinition svarer ikke til assemblyens reference. (Undtagelse fra HRESULT: 0x80131040)
Belastningssporing af assembly: Følgende oplysninger kan være nyttige, når det skal afgøres, hvorfor assemblyen 'System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' ikke kunne indlæses.
WRN: Logføring af assemblybinding er deaktiveret.
Logføring af assemblybindingsfejl aktiveres ved at angive registreringsdatabaseværdien [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) til 1.
Bemærk! Ydeevnen forringes ved logføring af assemblybindingsfejl.
Denne funktion deaktiveres ved at fjerne registreringsdatabaseværdien [HKLM\Software\Microsoft\Fusion!EnableLog].
Versionsoplysninger: Microsoft .NET Framework version:4.0.30319; ASP.NET version:4.0.30319.272
Installing Contour kills entire site
I have just attempted to install Contour on a Umbraco 4.6.1 site. It has entirley killed the site with error below. Admin site is dead too. What did I do wrong?
Could not load file or assembly 'System.Web.WebPages.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)
Comment author was deleted
Installed the wrong version, check details on project page http://our.umbraco.org/projects/umbraco-pro/contour
For v4 of umbraco you'll need 3.0.6
TO fix remove umbraco.forms.* files from your /bin and then install correct version
Sorry for being so silly!!!
Comment author was deleted
Well it sucks that the version doesn't work on v4 but no way around it since v4 and v6 use a different version of mvc
Well OK I give up - where do I download it from? The Contour Support & Download page doosenlt seem to have any download links and it was installing from the repositry that got me the wrong version.
OK found it
But presumably I'll have to do a manual install as the mangemnet interface isnlt working
Comment author was deleted
http://our.umbraco.org/projects/umbraco-pro/contour
Many thanks - have site back.
When I did my original install I was following the instructions here http://our.umbraco.org/projects/umbraco-pro/contour#projectFiles. My reading of the second para on that page was if using 4.x I could just install from the repository, but it was that that got me into trouble - maybe that wording needs clarification?
Or must I ahve done something else wrong?
Many thanks again - excellent, prompt help:-)
Hey I've had the same problem - just removed files from the bin (umbraco.forms*.dll) - yet the error persists? "
Could not load file or assembly 'System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral,"
Any ideas?
Many thanks,
Joe
Found it by comparing it with the backup, had to remove System.Web.MvC which it had also installed in the /bin folder.
Hope this helps someone who will undoubtedly do the same thing!
Hi,
I have a similar problem. After installing Coutour, error occurs and I am logged out. The site is dead :(
I have tried to remove the files from the /bin folder with no luck, and also removed System.Web.Mvc still without luck.
I have an Umbraco 4.11.4, SQL CE
Best regards
Kim
Comment author was deleted
@Kim what error are you getting?
Hi Tim,
(Error in danish)
Serverfejl i programmet '/'.
Konfigurationsfejl
Beskrivelse: Der opstod en fejl under behandlingen af en konfigurationsfil, der er nødvendig for at behandle denne anmodning. Se detaljerne om fejlen nedenfor, og foretag de nødvendige ændringer af konfigurationsfilen.
Meddelelse om parserfejl: Filen eller assemblyen 'System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' eller en af dens afhængigheder kunne ikke indlæses. Den fundne assemblys manifestdefinition svarer ikke til assemblyens reference. (Undtagelse fra HRESULT: 0x80131040)
Kildefejl:
Linje 120: <add assembly="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> Linje 121: <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> Linje 122: <add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> Linje 123: <add assembly="System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> Linje 124: </assemblies>
Kildefil: C:\Users\kra\Desktop\BU\web.config Linje: 122
Belastningssporing af assembly: Følgende oplysninger kan være nyttige, når det skal afgøres, hvorfor assemblyen 'System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' ikke kunne indlæses.
Versionsoplysninger: Microsoft .NET Framework version:4.0.30319; ASP.NET version:4.0.30319.272
Best regards
Kim
Linje 122: <add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
(Line 122 is in red)
Comment author was deleted
Try restoring the bin directory with the assemblies from a fresh 4.11.4 download
Hi Tim,
Thanks for your reply.
I have a backup of the site, so no worries about that.
My problem lies in installing Contour - I have tried a couple of times with the same result.
Best regards
Comment author was deleted
On version 4 you'll need 3.0.6 of Contour http://our.umbraco.org/projects/umbraco-pro/contour
Comment author was deleted
Here is the direct link: http://our.umbraco.org/FileDownload?id=4926
Thanks! It seems to work!
Best regards
Kim
Comment author was deleted
Super!
@Joe Morrison, your solution did the trick, thank you!
is working on a reply...