Server Error in '/cmsupload' Application.
--------------------------------------------------------------------------------Access denied to 'D:\CMS\CmsUpload\login.aspx'. Failed to start monitoring file changes.
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.Web.HttpException: Access denied to 'D:\CMS\CmsUpload\login.aspx'. Failed to start monitoring file changes.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. Stack Trace:
[HttpException (0x80070005): Access denied to 'D:\CMS\CmsUpload\login.aspx'. Failed to start monitoring file changes.]
System.Web.DirectoryMonitor.AddFileMonitor(String file) +381
System.Web.DirectoryMonitor.StartMonitoringFile(String file, FileChangeEventHandler callback, String alias) +76
System.Web.FileChangesMonitor.StartMonitoringPath(String alias, FileChangeEventHandler callback) +495
System.Web.Caching.CacheDependency.Init(Boolean isPublic, Boolean isSensitive, String[] filenamesArg, String[] cachekeysArg, CacheDependency dependency, DateTime utcStart) +1535
System.Web.Caching.CacheDependency..ctor(Boolean isSensitive, String[] filenames, DateTime utcStart) +50
System.Web.Configuration.HttpConfigurationSystem.GetCacheDependencies(Hashtable cachedeps, DateTime utcStart) +154
System.Web.Configuration.HttpConfigurationSystem.ComposeConfig(String reqPath, IHttpMapPath configmap) +760
System.Web.HttpContext.GetCompleteConfigRecord(String reqpath, IHttpMapPath configmap) +434
System.Web.HttpContext.GetCompleteConfig() +49
System.Web.HttpContext.GetConfig(String name) +195
System.Web.CustomErrors.GetSettings(HttpContext context, Boolean canThrow) +20
System.Web.HttpResponse.ReportRuntimeError(Exception e, Boolean canThrow) +40
System.Web.HttpRuntime.FinishRequest(HttpWorkerRequest wr, HttpContext context, Exception e) +480
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:; ASP.NET Version:
--------------------------------------------------------------------------------Access denied to 'D:\CMS\CmsUpload\login.aspx'. Failed to start monitoring file changes.
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.Web.HttpException: Access denied to 'D:\CMS\CmsUpload\login.aspx'. Failed to start monitoring file changes.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. Stack Trace:
[HttpException (0x80070005): Access denied to 'D:\CMS\CmsUpload\login.aspx'. Failed to start monitoring file changes.]
System.Web.DirectoryMonitor.AddFileMonitor(String file) +381
System.Web.DirectoryMonitor.StartMonitoringFile(String file, FileChangeEventHandler callback, String alias) +76
System.Web.FileChangesMonitor.StartMonitoringPath(String alias, FileChangeEventHandler callback) +495
System.Web.Caching.CacheDependency.Init(Boolean isPublic, Boolean isSensitive, String[] filenamesArg, String[] cachekeysArg, CacheDependency dependency, DateTime utcStart) +1535
System.Web.Caching.CacheDependency..ctor(Boolean isSensitive, String[] filenames, DateTime utcStart) +50
System.Web.Configuration.HttpConfigurationSystem.GetCacheDependencies(Hashtable cachedeps, DateTime utcStart) +154
System.Web.Configuration.HttpConfigurationSystem.ComposeConfig(String reqPath, IHttpMapPath configmap) +760
System.Web.HttpContext.GetCompleteConfigRecord(String reqpath, IHttpMapPath configmap) +434
System.Web.HttpContext.GetCompleteConfig() +49
System.Web.HttpContext.GetConfig(String name) +195
System.Web.CustomErrors.GetSettings(HttpContext context, Boolean canThrow) +20
System.Web.HttpResponse.ReportRuntimeError(Exception e, Boolean canThrow) +40
System.Web.HttpRuntime.FinishRequest(HttpWorkerRequest wr, HttpContext context, Exception e) +480
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:; ASP.NET Version:
解决方案 »
- Ajax control toolkit安装后,有些控件不能拖放到页面
- 【定时发送】短信或者邮件的思路
- 有关IIS服务问题
- .net 连接oracle为什么连接字符串中没有SERVER呢?
- 请问session变量可以在什么地方声明?
- 【提问】如何将图片的文字描边?? ················
- DataNavigateUrlFormatString的问题
- 哪个神仙哥哥,能帮小弟解决幼稚的问题!!!!
- 请问在加拿大有哪些比较好的ASP.NET空间供应商?强烈请求帮忙!
- 怎样使TreeView的节点产用双击才能打开子节点?
- 请教大家一个很简单的问题?
- 水晶报表10 在客户端打印的时候是下载了一个ActiveX到客户端.如果自己写代码来调这个ActiveX的话,能实现吗?应该怎样做?
<processmodel user=domain\administrator password=adminpwd
我再把问题阐述一下:
在项目中,我需要调用WORD组件,对文件进行转换处理,为了增加网络访问用户的权限,我采用了“本地身份验证后模拟客户端”的方式,也就是说在Web.config中增加了一项设置,如下所示:
《 identity impersonate=“true” userName=“Administrator” password=“1234567” / 》
这样配置后,项目在普通服务器上不存在问题,但不能布署到域控制服务器上,请各位大虾再出出主意,谢谢先
我用到了Excel,是这样配置的。web.config 中禁用用户模拟<identity impersonate="false"/> 或者删掉.
运行 DcomCnfg
组件服务 --〉我的电脑--〉DOCM配置 --〉 Microsoft Word 文档
2000 server 下 aspnet 启动权限。(进程中最后会只留一个,iis重启时消失)2003 server 下 network service 加到 启动和激活权限(全部权限)
访问权限(全部权限)
配置权限(全部权限)