Asp.net mvc 在WebActivator.ActivationManager类型上运行的预应用程序启动初始化方法引发异常

Asp.net mvc 在WebActivator.ActivationManager类型上运行的预应用程序启动初始化方法引发异常,asp.net-mvc,asp.net-mvc-4,iis,iis-6,webactivator,Asp.net Mvc,Asp.net Mvc 4,Iis,Iis 6,Webactivator,我正在尝试在IIS上运行ASP MVC 4应用程序。当我从基本模板发布MVC4应用程序时——除了向导生成的依赖项之外,没有任何依赖项——应用程序工作正常。但当我发布其他应用程序(即使用WebActivator和许多其他LIB)时,我看到以下错误: Could not load file or assembly 'System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e, Retargetable=

我正在尝试在IIS上运行ASP MVC 4应用程序。当我从基本模板发布MVC4应用程序时——除了向导生成的依赖项之外,没有任何依赖项——应用程序工作正常。但当我发布其他应用程序(即使用WebActivator和许多其他LIB)时,我看到以下错误:

Could not load file or assembly 'System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e, Retargetable=Yes' or one of its dependencies. The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047) 
和完整的堆栈跟踪:

[FileLoadException:无法加载文件或程序集'System.Core,Version=2.0.5.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e,Retargetable=Yes'或其依赖项之一。给定的程序集名称或代码库无效。(HRESULT中的异常:0x80131047)] System.ModuleHandle.ResolveType(RuntimeModule模块、Int32 typeToken、IntPtr*typeInstArgs、Int32 typeInstCount、IntPtr*methodInstArgs、Int32 methodInstCount、ObjectHandleOnStack类型)+0 System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule模块、Int32 typeToken、RuntimeTypeHandle[]TypeInstanceContext、RuntimeTypeHandle[]MethodInstanceContext)+180 System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken,类型[]genericTypeArguments,类型[]genericMethodArguments)+192 System.Reflection.CustomAttribute.FilterCustomAttributeCord(CustomAttributeRecord caRecord,MetadataImport作用域,Assembly&LastAptCookAssembly,RuntimeModule decoratedModule,MetadataToken decoratedToken,RuntimeType attributeFilterType,Boolean mustBeInheritable,Object[]属性,IList-derivedAttributes,RuntimeType和attributeType,IRontimeMethodInfo和ctor,Boolean和ctorHasParameters,Boolean和isVarArg)+115 System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule、Int32 decoratedMetadataToken、Int32 pcaCount、RuntimeType attributeFilterType、Boolean mustBeInheritable、IList derivedAttributes、Boolean isDecoratedTargetSecurityTransparent)+426 System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly程序集,RuntimeType caType)+103 System.Reflection.RuntimeAssembly.GetCustomAttributes(类型attributeType,布尔继承)+64 WebActivator.AssemblyExtensions.GetActivationAttributes(程序集)+113 WebActivator.ActivationManager.RunActivationMethods()+216 WebActivator.ActivationManager.RunPreStartMethods()+28 WebActivator.ActivationManager.Run()+55

[InvalidOperationException:应用程序启动前初始化 在WebActivator.ActivationManager类型上运行的方法引发了异常 出现以下错误消息:无法加载文件或程序集 'System.Core,版本=2.0.5.0,区域性=中性, PublicKeyToken=7cec85d7bea7798e,可重定目标=Yes'或其 依赖项。给定的程序集名称或代码基无效。 (HRESULT的例外:0x80131047)。]
System.Web.Compilation.BuildManager.InvokePrestartInethods(ICollection`1 方法)+423
System.Web.Compilation.BuildManager.CallPreStartInitMethods()+306
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager,IApplicationHost appHost,IConfigMapPathFactory configMapPathFactory,HostingEnvironmentParameters hostingParameters, PolicyLevel PolicyLevel,异常appDomainCreationException)+591

[HttpException(0x80004005):应用程序启动前初始化 在WebActivator.ActivationManager类型上运行的方法引发了异常 出现以下错误消息:无法加载文件或程序集 'System.Core,版本=2.0.5.0,区域性=中性, PublicKeyToken=7cec85d7bea7798e,可重定目标=Yes'或其 依赖项。给定的程序集名称或代码基无效。 (HRESULT的例外:0x80131047)。]
System.Web.HttpRuntime.FirstRequestInit(HttpContext上下文)+8946484 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext上下文)+97 System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequestWR) +258

是IIS6相关问题,还是我在服务器上丢失了什么