wenxueman2006-09-02 21:28:44
两台机器,一个是win server 2003, 另一个是win xp pro.

都装了vs.net,server是iis 6.0, xp是iis 5.0 。 数据库在win server 2003

我做的web system分别都放在两台机器里面。分别用virtual directory

问题是这样的,我用xp 可以debug我的web system,但是当我在server 上debug,就会出现access deny的error。

Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\xxxxx\7f635044\fff86b83" is denied.


ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via , the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.


我google了一下,做了以下一些改动。我尝试把, 还是access deny

我又把index service给stop了(网上说跟这个有关系),可是还是不行。

我又在IIS 6.0里把Directory Security 里面的account used for anonymous access里面的user 改成administrator(member of administrator group and debugger group)
结果还是不行。

有没有遇到相同问题的朋友,这个问题好像挺普遍的,IIS 6.0在安全性能上作了很多upgrade