产品使用及交流论坛

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

跪求高手进来看下,初级问题遇到困难了 [复制链接]

1#
我用的是XP,昨天下载了相关东西,都装好了,在初始化网页的时候,他显示

Server Error in '/' Application.
Access to the path 'E:\pacms\web.Config' is denied.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.UnauthorizedAccessException: Access to the path 'E:\pacms\web.Config' 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 <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
分享 转发
TOP
2#

给'E:\pacms\目录写权限就可以了,没有写权限导致修改被拒绝
TOP
3#

谢谢,这个过去了,之前连数据库还是有点不太明白,不知道默认安装好的MS SQL 2005的数据库名称叫什么,每次使用SQL的时候就显示 库名错误,现在只能用ACCESS
TOP
发新话题 回复该主题