不能调试存储在IIS中的ASP.NET应用程序 [英] Can't debug ASP.NET application stored in IIS

查看:163
本文介绍了不能调试存储在IIS中的ASP.NET应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个关于一个问题的 IIS(版本7.5)和ASP.NET(.NET Framework 4中)。我想调试它存储在IIS ASP.NET Web应用程序。现在,我已经做到了这一点,每次它完美地工作。

I have a question regarding IIS (version 7.5) and ASP.NET (.NET Framework 4) . I am trying to debug ASP.NET web application which is stored on IIS. Now, I have done this in past and everytime it worked perfectly.

但现在,当我尝试做同样的,**的Visual Studio 2010 **总是给我的错误,**无法启动调试Web服务器上。IIS工作进程启动的URL不是当前正在运行。 .. **即使我在过去创建(存储在IIS)的应用程序不能调试使用Visual Studio。但是,所有的应用程序(新老)可如果我输入自己的路径浏览器进行访问,和他们的工作也没关系。

But now when I try to do same, **Visual Studio 2010** always gives me error, **"unable to start debugging on the web server. the iis worker process for the launched URL is not currently running" ...** even the application I had created in past (& stored in IIS) can't debug using Visual Studio. But all applications (new & old) can be accessed if I type their path in Browser, and they work fine too.

我做了搜索在互联网上关于我的问题,我发现有很多帖子,但几乎快要激活** Windows身份验证**在IIS中为有问题的应用程序每一个岗位的会谈。但是,我使用Windows 7家庭premium,并随此版本的IIS不支持选项Windows身份验证。此外,如果这是唯一的原因,为什么我的旧应用程序是到现在为止没有这个认证方式工作得很好?我发现 MSDN关于此错误的的帮助,但它是没有太大的帮助我。我还检查应用程序池,选择在IIS和我的申请(两者都使用V.4.XX.XXX)...我还检查** **约束力,这是*:80到默认网站,这意味着所有的请求80端口将被定向到默认的网站(在我的所有应用程序驻留)

I did search on internet about my problem and I found many posts, but almost every post talks about activating **Windows Authentication** in IIS for the application in question. But, I am using Windows 7 home premium and the IIS shipped with this version doesn't support option for Windows Authentication. Also, if this is the only reason then why my old applications were working just fine till now without this Authentication method?? I found MSDN help about this error but it is not much helpful to me. I also checked APPLICATION POOL selection in IIS and my Application (both are using V.4.XX.XXX)... I have also checked **BINDING** , which is *:80 to Default Website, that means all requests to port 80 will be directed to default website (where my all applications reside)

作为一个方面说明,我有S​​harePoint Server 2010的安装。它有自己的网站(我已经禁用调试时)...

As a side note, I have SharePoint Server 2010 installed. Which has its own website (which I have disabled while debugging) ...

我觉得有东西在我的IIS配置发生变化,但我不能弄清楚它是什么。而且我相信,它是与SharePoint安装(可能是因为多个网站在IIS上的同一个端口??)。因为我使用的是IIS首次安装SharePoint后,我有这个错误。

I think there is something is changed in my IIS configuration, but I cant figure out what it is. And I am sure that it has something to do with SharePoint installation (may be because of more than one website on IIS for same port ??). Because I am using IIS for first time after installing SharePoint and I am having this error.

我会真的AP preciate,如果任何人有答案...

I will really appreciate if any one has answer ...

谢谢, 杰克

推荐答案

检查Bug修复此问题在微软Connect网站。

Check the Bug fix for this issue in the Microsoft's Connect site.

它是在.NET 3.5在Visual Studio 2010中,如果是,则检查<一href="http://www.ginktage.com/2010/08/fix-for-visual-studio-2010-hangs-when-debugging-asp-net-3-5-web-application/" rel="nofollow">http://www.ginktage.com/2010/08/fix-for-visual-studio-2010-hangs-when-debugging-asp-net-3-5-web-application/信息

Is it with .NET 3.5 in Visual Studio 2010 , if yes , then check http://www.ginktage.com/2010/08/fix-for-visual-studio-2010-hangs-when-debugging-asp-net-3-5-web-application/ for information

这篇关于不能调试存储在IIS中的ASP.NET应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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