【发布时间】:2016-01-08 09:17:16
【问题描述】:
今天我新建了一个网络应用程序(简单的 aspx-web-application)。当我尝试在我的服务器上将其加载到 IIS 并导航到起始页时,出现以下异常:
Die DLL "vsperf140.dll": Das angegebene Modul wurde nicht gefunden。 (Ausnahme von HRESULT: 0x8007007E) kann nicht geladen werden。
(意思是:DLL“vsperf140.dll”:找不到指定的模块。)
stacktrace 也帮不上什么忙:
[DllNotFoundException: Die DLL "vsperf140.dll": Das angegebene Modul wurde nicht gefunden。 (Ausnahme von HRESULT: 0x8007007E) kann nicht Geladen werden。] _CAP_Enter_Function_Managed(Int32,Int32,Int32 ) +0 ASP.global_asax..ctor() +23
[TargetInvocationException: Ein Aufrufziel hat einen Ausnahmefehler verursacht.] System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0
System.RuntimeType.CreateInstanceSlow(布尔 publicOnly,布尔 skipCheckThis、布尔填充缓存、StackCrawlMark 和 stackMark)+113
System.RuntimeType.CreateInstanceDefaultCtor(布尔 publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +232 System.Activator.CreateInstance(Type type, Boolean nonPublic) +83 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo 文化, Object[] 激活属性、StackCrawlMark 和 stackMark)+1122
System.Activator.CreateInstance(类型类型,BindingFlags bindingAttr, Binder 活页夹、Object[] 参数、CultureInfo 文化、Object[] 激活属性)+128 System.Activator.CreateInstance(类型 类型,BindingFlags bindingAttr,Binder binder,Object[] args, CultureInfo 文化)+18
System.Web.HttpRuntime.CreateNonPublicInstance(类型类型,对象 [] 参数)+60
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext、HttpContext 上下文)+260
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +296[HttpException (0x80004005): Ein Aufrufziel hat einen Ausnahmefehler verursacht.] System.Web.HttpRuntime.FirstRequestInit(HttpContext 上下文)+9930568
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext 上下文) +101 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest WR,HttpContext 上下文)+254
知道问题可能是什么吗?在谷歌搜索 - 但似乎没有人知道那个 vsperf140.dll ......
【问题讨论】:
-
嗨,Matthias,您找到解决方案了吗?
-
@ChandlerTribbiani 似乎是性能分析器附带的。删除项目并将其从 TFS 中拉出再次解决了我的问题。其中一个让我开心的时刻,使用源代码控制:)