由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
BuildingWeb版 - ASP.NET 高手请进!
相关主题
ASP problem in IIS 5.0"asp" weak question
救命呀,大家帮帮我的网页把Anyone has experience on vBulletin?
[转载] Asp新手求教: 文件读写问题ASP.NET问题:我不得不"hard code"吗?
a hello world questionHelp with ASP
怎样用自己的电脑host asp.net网站?紧急请教,初级问题。
求助!ASP可以访问远程数据库么?
[转载] How to start IIS 5.0 in windows 2000 professional version.is IIS server4.0 free download?
xp里哪里启动internet服务管理器?Q: ASP 里能够不用 ODBC 访问数据库吗
相关话题的讨论汇总
话题: iis话题: aspnet话题: aspx话题: asp话题: cats
进入BuildingWeb版参与讨论
1 (共1页)
c********r
发帖数: 11
1
偶在 IE 上敲入: http://localhost/cats/ClassicASP.asp
everything is OK.
但 testASP.asp 将换成 testASP.aspx, 再敲入:
http://localhost/cats/ClassicASP.aspx
出现以下错误信息, (I am sure testASP.aspx property is no problem! 是 IIS 的
configuration 不对吗?)
Server Error in '/cats' Application.
v**m
发帖数: 242
2

You can go to IIS configuration to check whether .aspx file is there.
Also if you have the source code for classicasp.aspx, it will be helpful to
know exactly what's the problem.

【在 c********r 的大作中提到】
: 偶在 IE 上敲入: http://localhost/cats/ClassicASP.asp
: everything is OK.
: 但 testASP.asp 将换成 testASP.aspx, 再敲入:
: http://localhost/cats/ClassicASP.aspx
: 出现以下错误信息, (I am sure testASP.aspx property is no problem! 是 IIS 的
: configuration 不对吗?)
: Server Error in '/cats' Application.

c********r
发帖数: 11
3


from IIS, classicasp.aspx is there and I do have source code there. It
contains some simple VBScritp. If I change classicasp.aspx to classic.asp.
everything is OK. So why IIS cannot access aspx file in the virusual
directory?

【在 v**m 的大作中提到】
:
: You can go to IIS configuration to check whether .aspx file is there.
: Also if you have the source code for classicasp.aspx, it will be helpful to
: know exactly what's the problem.

C****n
发帖数: 2324
4
I think you are missing the point.
IIS can accept ASP by default, if you have .Net installed, IIS can accept ASP
and ASPX at the same time.
But this doesn't mean you want the ASP.NET engine to interpret an ASP file,
which will get error anyway.
But your error is another story.
ASPX engine runs under user ASPNET instead of IUSER_???, ASPNET has limited
access to your harddrive.
Go to check the access right of ASPNET, and make it a member of Administrators
will solve your problem. :-) Or if you wa

【在 c********r 的大作中提到】
:
: 的
: from IIS, classicasp.aspx is there and I do have source code there. It
: contains some simple VBScritp. If I change classicasp.aspx to classic.asp.
: everything is OK. So why IIS cannot access aspx file in the virusual
: directory?

c********r
发帖数: 11
5
问题暂时解决了. 偶将到 ClassicASP.aspx 放到 C:\Inetpub\wwwroot, everything is
OK. 好象 aspx 文件只能放在这个 directory 下才 work, 谁知道为什么?

ASP
Administrators
right
IIS

【在 C****n 的大作中提到】
: I think you are missing the point.
: IIS can accept ASP by default, if you have .Net installed, IIS can accept ASP
: and ASPX at the same time.
: But this doesn't mean you want the ASP.NET engine to interpret an ASP file,
: which will get error anyway.
: But your error is another story.
: ASPX engine runs under user ASPNET instead of IUSER_???, ASPNET has limited
: access to your harddrive.
: Go to check the access right of ASPNET, and make it a member of Administrators
: will solve your problem. :-) Or if you wa

C****n
发帖数: 2324
6
ASPNET user can't access your directory other than inetpub\wwwroot.
Change the access right for ASPNET. Or make your directory accessible to
ASPNET.
(Go to account management to find out about user ASPNET)

is
file,
limited
helpful
classic.asp.

【在 c********r 的大作中提到】
: 问题暂时解决了. 偶将到 ClassicASP.aspx 放到 C:\Inetpub\wwwroot, everything is
: OK. 好象 aspx 文件只能放在这个 directory 下才 work, 谁知道为什么?
:
: ASP
: Administrators
: right
: IIS

c********r
发帖数: 11
7
Got it, thanks a lot!!

accept

there.

【在 C****n 的大作中提到】
: ASPNET user can't access your directory other than inetpub\wwwroot.
: Change the access right for ASPNET. Or make your directory accessible to
: ASPNET.
: (Go to account management to find out about user ASPNET)
:
: is
: file,
: limited
: helpful
: classic.asp.

1 (共1页)
进入BuildingWeb版参与讨论
相关主题
Q: ASP 里能够不用 ODBC 访问数据库吗怎样用自己的电脑host asp.net网站?
Using a new domain name求助!
急,TOMCAT4.0.3 上怎么把default port设成80?[转载] How to start IIS 5.0 in windows 2000 professional version.
ASP 问题xp里哪里启动internet服务管理器?
ASP problem in IIS 5.0"asp" weak question
救命呀,大家帮帮我的网页把Anyone has experience on vBulletin?
[转载] Asp新手求教: 文件读写问题ASP.NET问题:我不得不"hard code"吗?
a hello world questionHelp with ASP
相关话题的讨论汇总
话题: iis话题: aspnet话题: aspx话题: asp话题: cats