0

After a succesfull uppgrade from EPi5 to EPi6 i get this error

    Error   101 Assembly 'EPiServer.Web.WebControls, Version=6.0.530.0, Culture=neutral,
 PublicKeyToken=8fe83dea738b45b7' uses 'EPiServer, Version=6.0.530.0, Culture=neutral, 
PublicKeyToken=8fe83dea738b45b7' which has a higher version than referenced assembly 'EPiServer, 
Version=5.2.375.236, Culture=neutral, PublicKeyToken=8fe83dea738b45b7'  
c:\EPiServer\Sites\UppgraderaSiteName\SiteName.Web\bin\EPiServer.Web.WebControls.dll    
SiteName.Web

The DLL is configured in web.config as 6.0.530.0 In the reference it says 6.0.530.0 The DLL file also says 6.0.530.0

There is something im not getting.

Jens Björnhager
  • 5,632
  • 3
  • 27
  • 47
Daarwin
  • 2,896
  • 7
  • 39
  • 69

1 Answers1

3

Try deleting the references of "EPiServer.Web.WebControls.dll" from the Solution Explorer & then add references of correct version.

Also, you can open the Project Files (".csproj" or ".vbproj") in notepad & check the <Reference/> Elements, to verify that correct version is being used:

<Project>
  <ItemGroup>
    <Reference/>
    ...
    <Reference/>
  </ItemGroup>
</Project>
Kapil Khandelwal
  • 15,958
  • 2
  • 45
  • 52
  • I get this in the .CsProj " " So it seems to reference the correct version, no? I have also deleted and re-referenced in the solution explorer. – Daarwin Nov 27 '12 at 12:20
  • For others with the same problem: The EpiServer.DLL reference pointed to v5 instead of v6. – Daarwin Nov 27 '12 at 12:59