Visual Studio 2008中使用ASP.NET性能分析器问题 [英] Visual Studio 2008 Performance Profiler Problems with ASP.NET

查看:172
本文介绍了Visual Studio 2008中使用ASP.NET性能分析器问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直很努力,和失败,让VS.NET 2008来分析ASP.NET MVC应用程序。当我尝试,并开始分析会话我得到一个通用服务器500错误从VS.NET:

I've been trying, and failing, to get VS.NET 2008 to profile an ASP.NET MVC application. When I try and start a profiling session I get a generic server 500 error from VS.NET:

该网站不能被正确配置;获取ASP.NET进程信息失败。请求的http://本地主机:4750 /富/ VSEnterpriseHelper.axd '返回一个错误:远程服务器返回错误:(500)内部服务器错误

The web site could not be configured correctly; getting ASP.NET process information failed. Requesting 'http://localhost:4750/foo/VSEnterpriseHelper.axd' returned an error: The remote server returned an error: (500) Internal Server Error.

我试过几件事情,其中​​包括:

I've tried several things, including:


  • 确保web.config文件是可写的

  • 确保没有任何权限问题(一切正在作为我来说,我是管理员,而UAC是关闭的)

  • 这里的一切都提到:
    <一href=\"http://stackoverflow.com/questions/260432/500-error-running-visual-studio-asp-net-unit-test\">http://stackoverflow.com/questions/260432/500-error-running-visual-studio-asp-net-unit-test

有一个全新的ASP.NET MVC应用程序(即文件|新建|工程)将配置文件没有问题,所以我知道我的机器是可以分析这样一个应用程序的

A brand new ASP.NET MVC app (i.e. File | New | Project ) will profile without problem, so I know my machine is capable of profiling such an app.

所以,在这里我的问题是什么是可以从一个ASP.NET应用程序?

So, my question here is what are the other common and uncommon things that can prevent VS.NET from starting a profiling session on an ASP.NET app?

推荐答案

如果你不能得到VS.Net分析工作有一对夫妇的第三方工具,可以帮助。显然youy'll需要支付这些虽然。

If you can't get VS.Net profiling to work there are a couple of 3rd party tools that might help. Obviously youy'll need to pay for these though.

蚂蚁有一个免费的演示在这里:的http:/ /www.red-gate.com/products/ants%5Fmemory%5Fprofiler/index%5Fv2.htm

ANTS has a free demo here: http://www.red-gate.com/products/ants%5Fmemory%5Fprofiler/index%5Fv2.htm

JetBrains公司也有一个跟踪工具,提供分析(我没有使用过这一点,但我喜欢他们的ReSharper的工具,所以我怀疑这将是很好的)的 http://www.jetbrains.com/profiler/index.html

JetBrains also have a trace tool that offers profiling (I have not used this but I like their Resharper tool, so I suspect this will be good): http://www.jetbrains.com/profiler/index.html

这篇关于Visual Studio 2008中使用ASP.NET性能分析器问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆