是因为:临时目录没有把权限开放给 ASPNET 帐号最简单解决方法:把Windows目录下的Temp和TMP目录开放权限给Everyone可修改权限。
解决方案 »
- 网上一段代码,运行出错。需要帮助,谢谢!【.net中xmlhttp下载文件的方法参考】
- 字符串截取的问题 急急 立马结贴
- C#和C++传递回调
- 如何在Visual Studio2005中安装visio
- 请问怎么读这个资源文件里的资源?[在线等]急…………
- 各位高人能帮我解释下这段代码吗?谢谢了
- C#操作word出错了,高手快快来。。。
- datagrid导出到excel数据显示不全 求方案
- 如何设置“显示”控制面板中的监视器颜色深度?
- 谁能详细说一下API 中PolyDraw在C#中的使用?
- C#中的错误,大家帮我分析分析
- 40分,在win2003上如何设置才能支持shtml,请详细说明,立即给分!
To avoid this problem, give read/write priviledges for the Temp folder to the ASPNET account. When ASP.NET Web Services process WebMethods, the identity that is used most frequently to gain access to the system Temp folder is the local ASPNET account, which is the default account under which ASP.NET applications run. However, if you have configured your application to use impersonation in its Web.config file, the thread can also use the identity of any caller. If this is the case, all potential calling identities must have read/write priviledges to the Temp folder. A likely calling identity is the Internet Information Services (IIS) application's anonymous account (typically the ISUR_xxx account). The thread may also use the IWAM_xxx account. 把临时目录开发给ASPNET用户读写权限。