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

我添加了network,network service用户,并且都赋予了full control 的权限,但是还是不行,报错的方式一样。
为什么还是不行呢?有没有人以前遇到过此类的问题啊?拜托帮忙!!!

2006-05-25 11:07
快速回复:aspnet对word进行读取数据的操作时遇到权限问题如何解决
数据加载中...
 
   



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

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