"混合模式调试不支持Windows 64位平台"试图附加到ASP.NET进程时使用Visual Studio 2008 [英] "Mixed mode debugging is not supported on Windows 64-bit platforms" when trying to attach to an ASP.NET process using Visual Studio 2008

查看:403
本文介绍了"混合模式调试不支持Windows 64位平台"试图附加到ASP.NET进程时使用Visual Studio 2008的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我这么用于连接调试.NET 2.0中的ASP.NET应用程序和VS.NET 2005年。我不知道是什么在VS.NET 2008年发生了此功能时的过程。

I am so used to attach a process when debugging ASP.NET application in .NET 2.0 and VS.NET 2005. I don't know what happened to this functionality in VS.NET 2008.

我也不想从开始页开始,因为当应用程序足够大,你不希望它被编译,你一时无法赶上从一开始做的情况下做调试和你想赶上这种情况下,在这段时间

I also don't want to do debugging by starting from the start page because when the application is big enough you don't want it to be compiled and you sometimes cannot catch a case from start and you want to catch that case during that time.

我便无法弄清楚这一个。

I could't figure this one out.

我运行Vista旗舰版64位与VS.NET 2008团队套件。

I am running Vista Ultimate x64 with VS.NET 2008 Team Suite.

另外,在网站的页面属性格式Server的启动选项选择为使用默认的Web服务器和自定义服务器是灰色的,我不能检查。 (我不知道如果我需要在这里的一些变化,但我甚至不能尝试)

Also in the start options of the WebSite Propery pages Server is selected as "Use Default Web Server" and custom server is grayed out which I cannot check. (I don't know if I need some change here but I can't even try that)

在它的上面,我试图从调试默认页面,但在这种情况下,我得到的是无法启动Web服务器上调试。不支持Windows 64位平台的混合模式调试。什么????无论如何,我进入了解决方案的配置管理器,改变混合模式为ANY CPU,但没有运气。

On top of it, I tried debugging from default page but in that case what I got is "Unable to start debugging on the web server. Mixed mode debugging is not supported on Windows 64-bit platforms". What???? Anyway I get into the configuration manager of the solution and changed the mixed mode to ANY CPU, however no luck.

这一次MS让我真的疯了。

This time MS made me really crazy.

寻求紧急帮助因为没有调试的帮助会带来下ASP.NET到PHP或其他种类的水平。

Seeking urgent help as going without the help of debugging brings down ASP.NET to the level of PHP or other kinds.

其他注意事项:
1.我使用的DotNetNuke 5.0.1及以下的建筑模块。
2. IIS 7中使用集成模式。

Additional notes: 1. I am using DotNetNuke 5.0.1 and building modules under that. 2. IIS 7 is used with Integrated mode.

推荐答案

从帮助卖家米切尔来到。
他指出,调试模式是好的但是同时连接到这个过程中,附加到被自动:本地code。

Help came from Mitchel Sellers. He pointed out that the debug mode was ok however while attaching to the process, the "Attach To" was "Automatic:Native Code".

更改为唯一的托管code或简单地选择管理code后,它开始工作。

After changing to only "Managed Code" or simply by selecting "Managed Code" it started working.

感谢米切尔。

这是最后的话,从米切尔:

And here is the final words from Mitchel:

脚本选项,是传统的ASP脚本,它总是在32位模式下运行,从而调试T-SQL和脚本在了混合模式的同时结果,T-SQL是64位通过默认。此外没有选择管理选项,你将永远无法反正调试。

The "Script" option, is for classic ASP scripts, which ALWAYS run in 32 bit mode, thus debugging T-SQL and Script at the same time results in the "mixed mode", as T-SQL is 64 bit by default. Additionally without the "Managed" option selected, you would never be able to debug anyway.

现在,至于为什么是不同的?我不知道,但一旦你改变它,你应该设置去的未来。

Now, as to why it was different? I'm not sure, but once you change it you should be set to go for the future.

这篇关于"混合模式调试不支持Windows 64位平台"试图附加到ASP.NET进程时使用Visual Studio 2008的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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