Have you tried IIS Reset and Removed temporary Internet Files.
Can you please check all EPiServer DLLs are in your bin folder and not referencing from GAC.
Regards
/K
We got the same error once when we renamed a page type (class name) and got the guid mixed up.
What have you done before this happen,can you tell me every step in the upgrade face you have done?
Thanks for your reply Khan & Henrik.
@Khan - Yes did that but still have the same issue.
@Henrik - I upgrade the site with database
Upgraded the system addons
Install nuget packages for episerver
Rebuild the project and fix those errors
Add the probing path to web.config
Update-epidatabase
Removed uiversionmerging and some other attributes in episerver.config because it's say unrecognized attribute
Then I got this error
Please help me to overcome this issue and its very urgent delivery to one of customer and thanks in advance.
It seems like you have not done any changes that would create that error the same way that I had.
this error is very hard to solve since it happens in the part where EPiServer creates or updates the things in the database.
I would create a support case and send the database and project to EPiServer to get some help.
what you could try before is:
1: start SQL-profiler and see what happens in the database. The problem is that EPiServer get back more than one record where it thinks only one should be returned.
2: change to debug in the log file and see if you can see something there.
good luck!
Could it be something with a problem between missmatching index for search and db? I have had a similiar error when using lucene index. Updating index solved my error.
Have you run the disable/upgrade addons script from deployment center?
Server Error in '/' Application. Could not load file or assembly 'EPiServer, Version=5.2.375.133, Culture=neutral, PublicKeyToken=8fe83dea738b45b7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileLoadException: Could not load file or assembly 'EPiServer, Version=5.2.375.133, Culture=neutral, PublicKeyToken=8fe83dea738b45b7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Source Error:
[No relevant source lines] |
Source File: c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\5d63dc1d\9a7e7873\App_global.asax.0.cs Line: 0
Assembly Load Trace: The following information can be helpful to determine why the assembly 'EPiServer, Version=5.2.375.133, Culture=neutral, PublicKeyToken=8fe83dea738b45b7' 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]. |
Stack Trace:
[FileLoadException: Could not load file or assembly 'EPiServer, Version=5.2.375.133, Culture=neutral, PublicKeyToken=8fe83dea738b45b7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)] EPiServer.Framework.Initialization.InitializationEngine.SetupAssemblyTypeScanner() +1441 EPiServer.Framework.Initialization.InitializationEngine.ScanAssemblies() +18 EPiServer.Framework.Initialization.InitializationModule.Initialize(HostType hostType) +262 EPiServer.Framework.Initialization.InitializationModule.FrameworkInitialization(HostType hostType) +104 EPiServer.Global..ctor() +110 EPiServer.Templates.Global..ctor() +40 ASP.global_asax..ctor() in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\5d63dc1d\9a7e7873\App_global.asax.0.cs:0 [TargetInvocationException: Exception has been thrown by the target of an invocation.] System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0 System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +159 System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +256 System.Activator.CreateInstance(Type type, Boolean nonPublic) +127 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) +14259449 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +200 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture) +28 System.Web.HttpRuntime.CreateNonPublicInstance(Type type, Object[] args) +83 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +312 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +475 [HttpException (0x80004005): Exception has been thrown by the target of an invocation.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12968244 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12807949 |
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18446
Assembly Refference in web.config and in bin amnd dll version in Bin are different.
Server Error in '/' Application.An item with the same key has already been added.Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: An item with the same key has already been added.
Source Error:
Source File: c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\03edd14e\d6059b33\App_global.asax.0.cs Line: 0
Stack Trace: