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.
|
|