Redian新闻
>
asp.net/IIS configuration problem
avatar
asp.net/IIS configuration problem# DotNet - 窗口里的风景
r*y
1
I'm using a normal user account in win2003.
When I create new project by choosing File/New Project/ASP.Net Web Application
and click OK button, I receive 2 errors below:
1. "The Web was created successfully, but an error occured when trying to
configure the application root this Web. Web projects may not operate correctly
without an application root. The return error was:
A possible cause of this error is insufficient access rights to perform the
operation. You can manually configure root using
avatar
p*p
2

folder
IIS
It had to create the virtual dir in IIS manually. Normally we don't want to
put the source code in inetpub\wwwroot, so you need to create the virtual dir
first, then create the Web Project in VS.NET
user
Create a Application Pool in IIS, logging with your own user/pass. Assign the
Applicatin Pool to the ASP.NEt web application in IIS. this allows you to
debug it with non-adminiatrator account.
My best practice: forget about "Web Project" concept in VS.NET compleletly.
1. Use Cassini

【在 r****y 的大作中提到】
: I'm using a normal user account in win2003.
: When I create new project by choosing File/New Project/ASP.Net Web Application
: and click OK button, I receive 2 errors below:
: 1. "The Web was created successfully, but an error occured when trying to
: configure the application root this Web. Web projects may not operate correctly
: without an application root. The return error was:
: A possible cause of this error is insufficient access rights to perform the
: operation. You can manually configure root using

avatar
r*y
3
Thanks for reply first.
The problem was caused by a series of changes to my win2003 system -- I just
could not make clear about it. I installed vs.net2005beta and restored system
security policy maybe...
I must say, I was able to login as a user and could automatically new an
asp.net project and let vs.net 2003 create the appl root for me. Of course
I did some setting on the user groups, folder permissions...
But now I could not, although I tried everything I know.
I googled and found someone fa

【在 p*p 的大作中提到】
:
: folder
: IIS
: It had to create the virtual dir in IIS manually. Normally we don't want to
: put the source code in inetpub\wwwroot, so you need to create the virtual dir
: first, then create the Web Project in VS.NET
: user
: Create a Application Pool in IIS, logging with your own user/pass. Assign the
: Applicatin Pool to the ASP.NEt web application in IIS. this allows you to
: debug it with non-adminiatrator account.

avatar
d*r
4
Yes, 2005 is going to mess up the asp.net of 2003. I had such experience
and after I uninstall 2005, everything turns good.

【在 r****y 的大作中提到】
: Thanks for reply first.
: The problem was caused by a series of changes to my win2003 system -- I just
: could not make clear about it. I installed vs.net2005beta and restored system
: security policy maybe...
: I must say, I was able to login as a user and could automatically new an
: asp.net project and let vs.net 2003 create the appl root for me. Of course
: I did some setting on the user groups, folder permissions...
: But now I could not, although I tried everything I know.
: I googled and found someone fa

avatar
r*y
5
I'll try starting from a simpler and old question:
I'm using win2003 admin account, IIS started. I created a default.htm in
wwwroot, and type in IE: http://localhost/, default.htm can be browsed.
But the http://localhost/iisstart.htm cannot be browsed:
"Under Construction
The site you are trying to view does not currently have a default page. It
may be in the process of being upgraded and configured. "
I have registered ASP.NET and enabled all Web Service Extensions but no use.
Thanks!
BTW, I fo

【在 d*r 的大作中提到】
: Yes, 2005 is going to mess up the asp.net of 2003. I had such experience
: and after I uninstall 2005, everything turns good.

avatar
p*p
6
http://localhost/iisstart.htm is browsed: THe "Under Construction..." is
actually the content of the iisstart.html. :)

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html
just
system
course
ans.
2003server/IIS/ASP.NET
issue.
about

【在 r****y 的大作中提到】
: I'll try starting from a simpler and old question:
: I'm using win2003 admin account, IIS started. I created a default.htm in
: wwwroot, and type in IE: http://localhost/, default.htm can be browsed.
: But the http://localhost/iisstart.htm cannot be browsed:
: "Under Construction
: The site you are trying to view does not currently have a default page. It
: may be in the process of being upgraded and configured. "
: I have registered ASP.NET and enabled all Web Service Extensions but no use.
: Thanks!
: BTW, I fo

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。