简体   繁体   English

如何使用CLR Profiler调试在IIS 7.5上运行的ASP.Net应用程序?

[英]How do I use CLR Profiler to debug an ASP.Net app running on IIS 7.5?

I am having memory leak issues with my ASP.Net application. 我的ASP.Net应用程序存在内存泄漏问题。 I've tried WinDbg, which IMO displays mostly useless information, and I'm currently trying to get the CLR profiler to work. 我试过WinDbg,IMO显示的内容大多是无用的信息,而我正在尝试让CLR分析器工作。

My problem is everytime I try to "Profile ASP.NET" It just flashes two consoles up so fast I can't read them, then the title bar of the CLR Profiler says "Starting IIS. Error 2 occurred." 我的问题是每次我尝试“配置文件ASP.NET”它只是快速闪烁两个控制台我无法读取它们,然后CLR Profiler的标题栏说“启动IIS。出现错误2”。

  • IIS 7.5 IIS 7.5
  • Windows Server 2008 R2 Enterprise Windows Server 2008 R2 Enterprise

Other things to know: 其他要知道的事情:

I did try running the CLR Profiler as administrator. 我尝试以管理员身份运行CLR Profiler。

I really need to identify the source of my memory leak, any help would be appreciated. 我真的需要确定我的内存泄漏的来源,任何帮助将不胜感激。

EDIT: 编辑:

I've already seen this: http://msdn.microsoft.com/en-us/library/ff650691.aspx 我已经看过了: http//msdn.microsoft.com/en-us/library/ff650691.aspx

I've had the same issue. 我有同样的问题。 I stoped IIS explicitly myself. 我自己明确地停止了IIS。 Than I was able 比我能够

同样的问题,上面的帖子有帮助 - 我通过运行CLRProfiler作为'管理员'来解决它

I've had this problem when using an old, incorrect version of the CLR Profiler (not for use with .NET 4). 当使用旧的,不正确的CLR Profiler版本(不适用于.NET 4)时,我遇到了这个问题。 Make sure you're using the right version of the CLR Profiler for the .net environment you're in: 确保您使用正确版本的CLR Profiler来处理您所在的.net环境:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 IIS 7.5 上运行的 ASP.NET 应用程序上强制 Https - Force Https on an ASP.NET app running on IIS 7.5 IIS 7.5 asp.net应用程序未运行 - IIS 7.5 asp.net application not running 如何使用 IIS 7.5 压缩来自 ASP.NET MVC 的 Json 结果 - How do I compress a Json result from ASP.NET MVC with IIS 7.5 如何在IIS 7.5上使用ASP.NET表单身份验证保护静态文件? - How do I protect static files with ASP.NET form authentication on IIS 7.5? 在IIS 7.5上运行Intranet ASP.NET MVC 3应用程序 - Running intranet ASP.NET MVC 3 application on IIS 7.5 我如何在 IIS 中发布 Blazor ASP.NET 应用程序? - How do i publish a Blazor ASP.NET App in IIS? 当我在 iis 7.5 上部署我的 asp.net mvc-5 web 应用程序时,hangfire 没有运行 - hangfire is not running when i deploy my asp.net mvc-5 web application on iis 7.5 如何通过IIS 7.5使用集成管道模式和ASP.Net应用程序连接到Oracle数据库? - How do I connect to an Oracle database using integrated pipeline mode with an ASP.Net application through IIS 7.5? 如何在本地IIS而不是Express中调试ASP.NET 5 Web应用程序 - How to debug an ASP.NET 5 web app in local IIS not Express 如何在IIS 7.5上预热ASP.NET MVC应用程序? - How to warm up an ASP.NET MVC application on IIS 7.5?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM