Sounds like some obsolete attribute in a different namespace or assembly is the issue or you have a legacy dll in there and it should be removed. try clearing you asp.net cache / temp files
Thanks for your reply. these are the dll in my project http://imgur.com/eb5PAjA
My best guess is that you have some 3rd party modules like EPiImage, PageTypeBuilder that you have multiple dlls for (both for EPiServer 6 and 7). Check through your bin folder and make sure that you only have one dll per 3rd party module...
you are looking for a module that is visible somewhere in edit/admin mode...like epi image...
If you can't locate the faulting 3rd party module...start trying to removing them one by one from solution until it works...
[InvalidOperationException: Cannot resolve dependencies for the following module(s) EPiServer.Blog.EventHandlers EPiServer.Cms.Shell.UI.ObjectEditing.InternalMetadata.ExpireBlockInitialization EPiServer.Cms.Shell.UI.ObjectEditing.InternalMetadata.ShortcutBlockInitialization EPiServer.Initialization.CmsDataInitialization EPiServer.Initialization.ParentRestoreInitialization EPiServer.Initialization.VirtualPathProvidersInitialization EPiServer.Initialization.XFormsInitialization EPiServer.Shell.UI.InitializationModule EPiServer.Cms.Shell.InitializableModule EPiServer.Events.EventsInitialization EPiServer.Initialization.CmsCoreInitialization EPiServer.Initialization.SaveConfigToDatabaseInitialization EPiServer.Initialization.SearchInitialization EPiServer.Packaging.PackagingInitialization EPiServer.Personalization.VisitorGroups.VisitorGroupInitialization EPiServer.Initialization.PlugInInitialization EPiServer.Initialization.ModelSyncInitialization EPiServer.Initialization.UrlRewriteProviderInitialization EPiServer.Web.InitializationModule] EPiServer.Framework.Initialization.InitializationEngine.CreateDependencySortedModules(IEnumerable`1 modules) +460 EPiServer.Framework.Initialization.InitializationEngine.Initialize(HostType hostType) +121 EPiServer.Framework.Initialization.InitializationModule.Initialize(HostType hostType) +308 EPiServer.Framework.Initialization.InitializationModule.FrameworkInitialization(HostType hostType) +93 EPiServer.Global..ctor() +102 EPiServer.Templates.Global..ctor() +40 ASP.global_asax..ctor() in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\0a09daa4\2d581c07\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
That looks like a missing dll in bin folder or wrong dll in bin folder. I would suggest installing an alloy demo site and compare file by file that you have all dlls of the correct version. Also check assembly redirects in web.config that it really redirects to the correct version...
Thanks for your reply.I have upgraded to 7 when upgrading to 7.5 in the step Install EPiServer.CMS.Core i am getting error saying that Install failed. Rolling back
Failed to add reference to System.core. Please make sure that it is the GAC. Any idea how could i resolve this.
Server Error in '/' Application.Multiple custom attributes of the same type found.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.Reflection.AmbiguousMatchException: Multiple custom attributes of the same type found.
Source Error:
Source File: c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\0a09daa4\2d581c07\App_global.asax.0.cs Line: 0
Stack Trace: