Access to the path : D:/... is denied 解决方案
来源:互联网 发布:淘宝快递破损怎么处理 编辑:程序博客网 时间:2024/04/30 03:41
1.提示:Access to the path : C:/pbmis/cfg.xml is denied.
asp.net程序目录放在系统盘,ntfs格式。
程序中对cfg.xml有写入操作。
运行的时候出现了这个问题。
请问怎么解决?
谢谢。
在我自己的机器上没有问题
一到别人的机器上就出现这个错误了
郁闷
没有写权限
用文本编辑器打开位于 %systemroot%/microsoft.net/framework/v1.1.4322/config 下的 machine.config 文件,找到 <processmodel> 节,设置 username="system" 。
2.虚拟空间上经常出现access to the path X:XX is denied,尤其是一些诸如Xml,Lrc为扩展名的文件,其解决方法为:
在Web.Config的<System.Web>里加<identity impersonate="true"/>节点即可.
解释:对你要操作的文件目录增加用户,也就是ASP.net的用户,一般都是“IUSER_computerName”
3.如出现access to the path X:XX is denied 类似这种问题
把文件目录在IIS目录把Iuser/用户名,加上修改权限就可以了!
- Access to the path : D:/... is denied 解决方案
- Access to the path : D:/... is denied 解决方案
- Access to the path '' is denied.解决方案
- Access to the path is denied. ------- .net
- Access to the path is denied
- Access to the path is denied
- Unable to copy file, Access to the path is denied
- Access to the path : C:/test/configtest.xml is denied.
- access to the path X:XX is denied
- 关于access to the path is denied问题的解决
- 关于access to the path is denied问题的解决
- Access to the path 'Global\.net clr networking' is denied
- 如何解决 "Access to the path *** is denied"
- [ASP.NET] FileUpload SaveAs() access to the path is denied
- Access to the path "Library\UnityAssemblies\UnityEngine.xml" is denied.
- Access to the path "/etc/mono/registry" is denied.
- 出现Access to the path : C:/... is denied 的解决方法
- Access to the path "Library\UnityAssemblies\UnityEngine.xml" is denied.
- Nginx打开目录浏览功能(autoindex)
- note IDs详解
- dojo.place的问题
- GCC-3.4.6源代码学习笔记(118)
- C# 发邮件
- Access to the path : D:/... is denied 解决方案
- Studying note of GCC-3.4.6 source (118)
- sql_constraint
- _stdcall,_cdecl,_fastcall 详细说明
- QoS,ToS和DiffServ
- Html table 对象访问作用域区分
- ubuntu更新时报错Sub-process /usr/bin/dpkg returned an error code
- 关于对Fisher Exact Test 的理解
- linux内核配置系统浅析