VS2008 HTTP 403帮助!! [英] VS2008 HTTP 403 Help!!

查看:88
本文介绍了VS2008 HTTP 403帮助!!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经远离ASPNET了 - 我在VS2008中打开了一个新的Web应用程序并进入了

属性并选择使用IIS而不是个人Web服务器。然后

我在调试模式下运行它说我必须在

Web.config中设置Debug = True。然后尝试再次运行它,它说我必须启用

集成安全性。然后我尝试再次运行它并获得HTTP

403错误 - "此错误(HTTP 403 Forbidden)意味着Internet Explorer

能够连接到该网站,但它无权查看该页面




我需要做些什么才能绕过这个来调试一个简单的ASPNET应用程序?


TIA

Harry

I''ve been away from ASPNET - I open up a new Web app in VS2008 and go into
properties and select to use IIS instead of the personal web server. Then
I run in debug mode and it says I have to set the Debug= True in the
Web.config which I do. Then try to run it again and it says I must enable
integrated security which I do. I then try to run it again and get the HTTP
403 error - " This error (HTTP 403 Forbidden) means that Internet Explorer
was able to connect to the website, but it does not have permission to view
the webpage."

What have I got to do to get around this to debug a simple ASPNET app?

TIA
Harry

推荐答案

您的ASP.NET应用程序是否作为IIS应用程序运行?

ASP.NET运行的帐户是否具有读取应用程序物理目录的权限?


Juan T. Llibre,asp.net MVP

asp.net faq:< a rel =nofollowhref =http://asp.net.do/faq/target =_ blank> http://asp.net.do/faq/

foros de asp.net,en espa?ol: http://asp.net。 do / foros /

================================== ====

" Harry Simpson" < hs ******* @ phgt.netwrote in message news:ec ************** @ TK2MSFTNGP03.phx.gbl ...
Is your ASP.NET application running as an IIS application ?
Does the account ASP.NET runs as, have read permissions to the app''s physical directory ?


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espa?ol : http://asp.net.do/foros/
======================================
"Harry Simpson" <hs*******@phgt.netwrote in message news:ec**************@TK2MSFTNGP03.phx.gbl...

我已经远离ASPNET了 - 我在VS2008中打开了一个新的Web应用程序并进入属性并选择使用IIS代替

个人Web服务器。然后我在调试模式下运行,它说我必须在Web.config中设置Debug = True,我这是
。然后尝试再次运行它,它说我必须启用我所做的集成安全性。然后我尝试再次运行它,

得到HTTP 403错误 - "此错误(HTTP 403 Forbidden)表示Internet Explorer能够连接到

网站,但它无权查看该网页。


我需要做些什么才能绕过这个来调试一个简单的ASPNET应用程序?


TIA

Harry
I''ve been away from ASPNET - I open up a new Web app in VS2008 and go into properties and select to use IIS instead of
the personal web server. Then I run in debug mode and it says I have to set the Debug= True in the Web.config which I
do. Then try to run it again and it says I must enable integrated security which I do. I then try to run it again and
get the HTTP 403 error - " This error (HTTP 403 Forbidden) means that Internet Explorer was able to connect to the
website, but it does not have permission to view the webpage."

What have I got to do to get around this to debug a simple ASPNET app?

TIA
Harry



这是我检查的第一件事。是的。

它在项目属性中创建一个虚拟目录。当我进入IIS

时,我将其视为一个网络应用程序。


Juan T. Llibre < no *********** @ nowhere.comwrote in message

news:er ************** @ TK2MSFTNGP02.phx。 gbl ...
Those were the first things I checked. Yes.
It creates a virtual directory in the project properties. When I go into IIS
I see it as a web app.

"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:er**************@TK2MSFTNGP02.phx.gbl...

您的ASP.NET应用程序是否作为IIS应用程序运行?

ASP.NET运行的帐户是否具有读取应用程序的

物理目录的权限?


Juan T. Llibre,asp.net MVP

asp.net faq: http://asp.net.do/faq/

foros de asp.net,en espa?ol: http://asp.net.do/foros/

========================== ============

" Harry Simpson" < hs ******* @ phgt.netwrote in message

news:ec ************** @ TK2MSFTNGP03.phx.gbl ...
Is your ASP.NET application running as an IIS application ?
Does the account ASP.NET runs as, have read permissions to the app''s
physical directory ?


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espa?ol : http://asp.net.do/foros/
======================================
"Harry Simpson" <hs*******@phgt.netwrote in message
news:ec**************@TK2MSFTNGP03.phx.gbl...

>我已离开ASPNET - 我在VS2008中打开一个新的Web应用程序并进入属性并选择使用IIS代替个人网络服务器。
然后我运行在调试模式,它说我必须在
Web.config中设置Debug = True。然后尝试再次运行它,它说我必须启用我所做的集成安全性。然后我尝试再次运行它并获得
HTTP 403错误 - "此错误(HTTP 403 Forbidden)意味着Internet
Explorer能够连接到该网站,但它没有查看该网页的权限。

什么有我必须做到这一点来调试一个简单的ASPNET应用程序?

TIA
Harry
>I''ve been away from ASPNET - I open up a new Web app in VS2008 and go
into properties and select to use IIS instead of the personal web server.
Then I run in debug mode and it says I have to set the Debug= True in the
Web.config which I do. Then try to run it again and it says I must enable
integrated security which I do. I then try to run it again and get the
HTTP 403 error - " This error (HTTP 403 Forbidden) means that Internet
Explorer was able to connect to the website, but it does not have
permission to view the webpage."

What have I got to do to get around this to debug a simple ASPNET app?

TIA
Harry




我已经获得了web应用程序实际文件所在目录的完全权利

所在...

" Harry辛普森" < hs ******* @ phgt.netwrote in message

news:ep ************** @ TK2MSFTNGP02.phx.gbl ...
And I''ve given full rights on the directory where the web app actual files
reside...
"Harry Simpson" <hs*******@phgt.netwrote in message
news:ep**************@TK2MSFTNGP02.phx.gbl...

这是我检查的第一件事。是的。

它在项目属性中创建一个虚拟目录。当我进入

IIS时,我将其视为一个网络应用程序。


Juan T. Llibre < no *********** @ nowhere.comwrote in message

news:er ************** @ TK2MSFTNGP02.phx。 gbl ...
Those were the first things I checked. Yes.
It creates a virtual directory in the project properties. When I go into
IIS I see it as a web app.

"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:er**************@TK2MSFTNGP02.phx.gbl...

>您的ASP.NET应用程序是否作为IIS应用程序运行?
ASP.NET运行的帐户是否具有读取权限到应用程序的物理目录?

Juan T. Llibre,asp.net MVP
asp.net faq: http://asp.net.do/faq/
foros de asp.net,en espa ?ol: http://asp.net.do/foros/
======================================
Harry Simpson < hs ******* @ phgt.netwrote in message
新闻:ec ************** @ TK2MSFTNGP03.phx.gbl ...
>Is your ASP.NET application running as an IIS application ?
Does the account ASP.NET runs as, have read permissions to the app''s
physical directory ?


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espa?ol : http://asp.net.do/foros/
======================================
"Harry Simpson" <hs*******@phgt.netwrote in message
news:ec**************@TK2MSFTNGP03.phx.gbl...

>>我已离开ASPNET - 我在VS2008中打开一个新的Web应用程序并进入属性并选择使用IIS而不是个人网站服务器。然后我在调试模式下运行,它说我必须在Web.config中设置Debug =
True。然后尝试再次运行它并说它
我必须启用我所做的集成安全性。然后我再次尝试运行它
并得到HTTP 403错误 - "此错误(HTTP 403 Forbidden)
意味着Internet Explorer能够连接到该网站,但它没有权限查看该网页。

什么有我必须做到这一点来调试一个简单的ASPNET应用程序?

TIA
Harry
>>I''ve been away from ASPNET - I open up a new Web app in VS2008 and go
into properties and select to use IIS instead of the personal web
server. Then I run in debug mode and it says I have to set the Debug=
True in the Web.config which I do. Then try to run it again and it says
I must enable integrated security which I do. I then try to run it
again and get the HTTP 403 error - " This error (HTTP 403 Forbidden)
means that Internet Explorer was able to connect to the website, but it
does not have permission to view the webpage."

What have I got to do to get around this to debug a simple ASPNET app?

TIA
Harry





这篇关于VS2008 HTTP 403帮助!!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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