Dubbla EPiServer.Global

Hej! Jag har både EPiServer 4.61 och 5.1 installerade (jobbar nu i 4.61). En konflikt verkar då uppstå mellan respektive EPiServer.Global. Jag får följande felmeddelande när jag startar sidan: Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS0433: The type 'EPiServer.Global' exists in both 'c:\WINDOWS\assembly\GAC\EPiServer\\EPiServer.dll' and 'c:\WINDOWS\assembly\GAC_MSIL\EPiServer\\EPiServer.dll' Mvh Linda
Mar 25, 2008 18:58
You had a conflict between episerver.dll and 5.1.281). 'c:\WINDOWS\assembly\GAC\EPiServer\\EPiServer.dll' and 'c:\WINDOWS\assembly\GAC_MSIL\EPiServer\\EPiServer.dll' During installation of the MSI-package EPiServer is registered in the GAC. Your 4.61-site does unfortunately seem to have problem separating the two dll:s (or rather the .NET-environment). The easiest solution seems to be to remove version from the GAC. This would at least solve your problem. The reason for the conflict is interesting but we should probably wait until RC1 to dig into this kind of problem. Version 281 (the CTP) has some known issues when it is running on the same machine as 4.6x so it is probably a waste of (your) time to track this problem down. I hope a removal of the EPiServer.dll ( from the GAC will solve your problem.
Mar 25, 2008 19:07
I got the exact same error message after trying to run a 4.61 site having EPiServer CMS RC2 installed. First I removed CMS dlls from the GAC. Then when I then tried to run my 4.61 site I discovered that the web.config file had been changed. A section containing CMS assembly bindings had been added to the compilation section. By removing this section I got my 4.61 site up and running again (I also uninstalled RC2, but not sure if that was necessary). Note that the issue with web.config being updated also happens to a colleague of mine (he's running version 5.1.303.0).
Mar 25, 2008 19:07

I had the same problem. web.config for my 4.61 installation was changed. In section system.web/compilation/assemblies a number of references to CMS 5 assemblies were added. Since multiple episerver.dll's were referenced a conflict occured.

Solution: Remove the extra lines from web.config. That did the trick for me. I did not have to remove any dll's from the GAC.

Jul 02, 2008 8:51
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.