| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 640 人关注过本帖
标题:aspnet对word进行读取数据的操作时遇到权限问题
只看楼主 加入收藏
wangshan1983
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2006-5-24
收藏
 问题点数:0 回复次数:1 
aspnet对word进行读取数据的操作时遇到权限问题

求助asp.net高手,我是用aspnet对word进行读取数据的操作,调试过程中遇到如下错误:
Server Error in '/Autotest' Application.
Access to the path "c:\windows\microsoft.net\framework\v1.1.4322\Temporary ASP.NET Files\autotest\ce77492c\246ee867" 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 "c:\windows\microsoft.net\framework\v1.1.4322\Temporary ASP.NET Files\autotest\ce77492c\246ee867" 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 write 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.

我将aspnet账户设为administrator,并且把autotest文件夹的secutiry里的aspnet设为full control,还在administrative tools里的dcmp中对word进行了设置,但是都不行,实在是没办法了,555555555555
请问有没有高手帮助一下啊,不胜感激!!!

搜索更多相关主题的帖子: aspnet word framework web windows 
2006-05-24 10:18
seals
Rank: 1
等 级:新手上路
帖 子:141
专家分:0
注 册:2005-2-5
收藏
得分:0 
拜托,在服务器相关目录上操作啊!加入aspnet用户,把权限都给上就结啦!

说你哪,看了我那么多帖子都不回,好意思吗?! 觉得需要我帮助,请Q:496227096
2006-05-27 18:59
快速回复:aspnet对word进行读取数据的操作时遇到权限问题
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.054234 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved