VS.NET 2008使用IIS7在VISTA上调试ASP.NET? [英] VS.NET 2008 Debug ASP.NET on VISTA with IIS7?
问题描述
您好,
我刚安装了VISTA Enterprise和VS.NET 2008.
按F5调试我的测试ASP.NET网站时,IE 7显示消息
Internet Explorer无法显示网页。
VS.NET 2008生成的本地URL是
http:// localhost:49705 / aaa / Default.aspx 。
在IIS7 Manager中,ASP.NET V2.0a?|是允许在ISAPI和CGI限制中。
如果我将IIS网站转换为IIS7,IIS7也在工作并显示ASP.NET网站
应用程序但是我想使用Debug选项。
感谢先进的任何帮助,
Asasf
那个:49705端口号看起来更像是你正在使用VS 2008 Web
开发内置于web服务器,而不是IIS。确保您的项目已配置
以使用IIS并且/ aaa /文件夹被标记为IIS应用程序。
结果URL将类似于:
http://locahost/aaa/default.aspx
- Peter
网站: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
简短网址&更多: http://ittyurl.net
" Asaf"写道:
您好,
我刚刚安装了VISTA Enterprise和VS.NET 2008.
当按F5调试我的测试ASP.NET网站时,IE 7显示消息
Internet Explorer无法显示网页。
VS的本地URL .NET 2008生成的是
http:// localhost:49705 / aaa / Default .aspx 。
在IIS7管理器中,ASP.NET V2.0a?|是允许在ISAPI和CGI限制中。
如果我将IIS网站转换为IIS7,IIS7也在工作并显示ASP.NET网站
应用程序但是我想使用Debug选项。
感谢先进的任何帮助,
Asasf
嗨彼得,
感谢您的回答。
我现在很困惑。
我不喜欢我不想在我的ASP.NET应用程序中使用IIS,所以为什么VS.NET正在使用
http:/ / localhost / ?
创建新网站时,我已将其设置为文件系统。所以它是
去寻找localhost?
我可以在哪里配置使用内置的Web服务器中的VS.NET 2008?
谢谢,
Asaf
" Peter Bromberg [C#MVP]"写道:
That":49705"端口号看起来更像是你正在使用VS 2008 Web
开发内置于web服务器,而不是IIS。确保您的项目已配置
以使用IIS并且/ aaa /文件夹被标记为IIS应用程序。
结果URL将类似于:
http://locahost/aaa/default.aspx
- Peter
网站: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
简短网址&更多: http://ittyurl.net
" ;阿萨夫"写道:
您好,
我刚刚安装了VISTA Enterprise和VS.NET 2008.
当按F5调试我的测试ASP.NET网站时,IE 7显示消息
Internet Explorer无法显示网页。
VS的本地URL .NET 2008生成的是
http:// localhost:49705 / aaa / Default .aspx 。
在IIS7管理器中,ASP.NET V2.0a?|是允许在ISAPI和CGI限制中。
如果我将IIS网站转换为IIS7,IIS7也在工作并显示ASP.NET网站
应用程序但是我想使用Debug选项。
感谢先进的任何帮助,
Asasf
看起来你在Visual Studio中访问内部Web服务器。而不是
IIS。
似乎防火墙/杀毒软件正在阻止请求
localhost:79705
要么在firwall上允许它,要么在你的
项目中使用http而不是本地文件系统。
George。
Asaf < AG ** @ newsgroups.nospamwrote in message
新闻:F3 **************************** ****** @ microsof t.com ...
您好,
我刚刚安装了VISTA Enterprise和VS.NET 2008.
当按F5调试我的测试ASP.NET网站时,IE 7显示
消息
" Internet资源管理器无法显示网页。
VS.NET 2008生成的本地URL是
http:// localhost:49705 / aaa / Default.aspx 。
在IIS7管理器中,ASP.NET V2.0。是允许在ISAPI和CGI中
限制。
如果我将它们转换为IIS7,那么IIS7正在工作并显示ASP.NET网站
IIS7
应用程序但是我想使用Debug选项。
感谢先进的任何帮助,
Asasf
Hello,
I have just installed VISTA Enterprise and VS.NET 2008.
When pressing F5 to debug my test ASP.NET website, IE 7 display the message
"Internet Explorer cannot display the webpage".
The local URL that VS.NET 2008 generates is
http://localhost:49705/aaa/Default.aspx.
In IIS7 Manager, ASP.NET V2.0a?| is "Allowed" in the ISAPI and CGI Restrictions.
Also IIS7 is working and display ASP.NET web sites if I convert them to IIS7
"Application" but I would like to use the Debug option.
Thanks in advanced for any help,
Asasf
That ":49705" port number looks more like you are hitting the VS 2008 Web
Development built in webserver, not IIS. Make sure your project is configured
to use IIS and that the /aaa/ folder is marked as an IIS application.
The resultand url would then resemble:
http://locahost/aaa/default.aspx
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short Urls & more: http://ittyurl.net
"Asaf" wrote:
Hello,
I have just installed VISTA Enterprise and VS.NET 2008.
When pressing F5 to debug my test ASP.NET website, IE 7 display the message
"Internet Explorer cannot display the webpage".
The local URL that VS.NET 2008 generates is
http://localhost:49705/aaa/Default.aspx.
In IIS7 Manager, ASP.NET V2.0a?| is "Allowed" in the ISAPI and CGI Restrictions.
Also IIS7 is working and display ASP.NET web sites if I convert them to IIS7
"Application" but I would like to use the Debug option.
Thanks in advanced for any help,
Asasf
Hi Peter,
Thanks for your answer.
I am confused now.
I don''t want to use IIS for my ASP.NET applications so why VS.NET is using
http://localhost/ ?
When creating a new website I have set it to work on "File System" so it is
going to look for localhost?
Where can I configure to use VS.NET 2008 built in web server please?
Thanks,
Asaf
"Peter Bromberg [C# MVP]" wrote:
That ":49705" port number looks more like you are hitting the VS 2008 Web
Development built in webserver, not IIS. Make sure your project is configured
to use IIS and that the /aaa/ folder is marked as an IIS application.
The resultand url would then resemble:
http://locahost/aaa/default.aspx
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short Urls & more: http://ittyurl.net
"Asaf" wrote:
Hello,
I have just installed VISTA Enterprise and VS.NET 2008.
When pressing F5 to debug my test ASP.NET website, IE 7 display the message
"Internet Explorer cannot display the webpage".
The local URL that VS.NET 2008 generates is
http://localhost:49705/aaa/Default.aspx.
In IIS7 Manager, ASP.NET V2.0a?| is "Allowed" in the ISAPI and CGI Restrictions.
Also IIS7 is working and display ASP.NET web sites if I convert them to IIS7
"Application" but I would like to use the Debug option.
Thanks in advanced for any help,
Asasf
It looks like you hitting the internal web server in Visual studio. And not
IIS.
Also seems to be firewall/antivirus is blocking the request to
localhost:79705
Either allow it on firwall or use http and not local file system for your
project.
George.
"Asaf" <AG**@newsgroups.nospamwrote in message
news:F3**********************************@microsof t.com...Hello,
I have just installed VISTA Enterprise and VS.NET 2008.
When pressing F5 to debug my test ASP.NET website, IE 7 display the
message
"Internet Explorer cannot display the webpage".
The local URL that VS.NET 2008 generates is
http://localhost:49705/aaa/Default.aspx.
In IIS7 Manager, ASP.NET V2.0. is "Allowed" in the ISAPI and CGI
Restrictions.
Also IIS7 is working and display ASP.NET web sites if I convert them to
IIS7
"Application" but I would like to use the Debug option.
Thanks in advanced for any help,
Asasf
这篇关于VS.NET 2008使用IIS7在VISTA上调试ASP.NET?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!