473,397 Members | 2,068 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

HttpException (0x80070005): Access denied to 'c:\inetpub'

I just installed my ASP.NET app on a Win 2k server. I installed the files in
a folder on D: and setup a virtual directory in IIS Default web.

We had to install the Framework 1.1 and SP on this computer.When I attempt
to run this app I get the error mentioned above. I granted ASPNET access to
the folder on D: with Read & Execute, List Folder Contents and Read
permissions. The Direcory Security for this app is set as Anonymous access,
User name: ASPNET, Allow IIS to control password and Integrated Windows
authentication. The app itself uses Forms authenification.

This app runs fine on a Win 2003 server.

Here is the full error received when attempting to run from localhost on the
Win 2k box:

Access denied to 'c:\inetpub'. 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 'c:\inetpub'.
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 'c:\inetpub'. Failed to start
monitoring file changes.]
System.Web.FileChangesMonitor.FindDirectoryMonitor (String dir, Boolean
addIfNotFound, Boolean throwOnError) +527
System.Web.FileChangesMonitor.StartMonitoringPath( String alias,
FileChangeEventHandler callback) +477
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.G etCacheDependencies(Hashtable
cachedeps, DateTime utcStart) +154
System.Web.Configuration.HttpConfigurationSystem.C omposeConfig(String
reqPath, IHttpMapPath configmap) +697
System.Web.HttpContext.GetCompleteConfigRecord(Str ing reqpath,
IHttpMapPath configmap) +434
System.Web.HttpContext.GetCompleteConfig() +48
System.Web.HttpContext.GetConfig(String name) +195
System.Web.CustomErrors.GetSettings(HttpContext context, Boolean
canThrow) +20
System.Web.HttpResponse.ReportRuntimeError(Excepti on e, Boolean canThrow)
+40
System.Web.HttpRuntime.FinishRequest(HttpWorkerReq uest wr, HttpContext
context, Exception e) +480
Thanks in advance......
Nov 19 '05 #1
2 5753
Dave:

A couple observations. You set the permissions on the folder on D: but the
error message refers to c:\inetpub.

The following is a KB article referencing the same error number. There are
related links at the bottom of this article.
--
David Lloyd
MCSD .NET
http://LemingtonConsulting.com

This response is supplied "as is" without any representations or warranties.
"Dave F." <df******@gmail.com> wrote in message
news:eJ**************@TK2MSFTNGP09.phx.gbl...
I just installed my ASP.NET app on a Win 2k server. I installed the files in
a folder on D: and setup a virtual directory in IIS Default web.

We had to install the Framework 1.1 and SP on this computer.When I attempt
to run this app I get the error mentioned above. I granted ASPNET access to
the folder on D: with Read & Execute, List Folder Contents and Read
permissions. The Direcory Security for this app is set as Anonymous access,
User name: ASPNET, Allow IIS to control password and Integrated Windows
authentication. The app itself uses Forms authenification.

This app runs fine on a Win 2003 server.

Here is the full error received when attempting to run from localhost on the
Win 2k box:

Access denied to 'c:\inetpub'. 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 'c:\inetpub'.
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 'c:\inetpub'. Failed to start
monitoring file changes.]
System.Web.FileChangesMonitor.FindDirectoryMonitor (String dir, Boolean
addIfNotFound, Boolean throwOnError) +527
System.Web.FileChangesMonitor.StartMonitoringPath( String alias,
FileChangeEventHandler callback) +477
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.G etCacheDependencies(Hashta
ble
cachedeps, DateTime utcStart) +154
System.Web.Configuration.HttpConfigurationSystem.C omposeConfig(String
reqPath, IHttpMapPath configmap) +697
System.Web.HttpContext.GetCompleteConfigRecord(Str ing reqpath,
IHttpMapPath configmap) +434
System.Web.HttpContext.GetCompleteConfig() +48
System.Web.HttpContext.GetConfig(String name) +195
System.Web.CustomErrors.GetSettings(HttpContext context, Boolean
canThrow) +20
System.Web.HttpResponse.ReportRuntimeError(Excepti on e, Boolean canThrow)
+40
System.Web.HttpRuntime.FinishRequest(HttpWorkerReq uest wr, HttpContext
context, Exception e) +480
Thanks in advance......

Nov 19 '05 #2
Here is the KB article.

http://support.microsoft.com/default...b;en-us;811320

--
David Lloyd
MCSD .NET
http://LemingtonConsulting.com

This response is supplied "as is" without any representations or warranties.
"Dave F." <df******@gmail.com> wrote in message
news:eJ**************@TK2MSFTNGP09.phx.gbl...
I just installed my ASP.NET app on a Win 2k server. I installed the files in
a folder on D: and setup a virtual directory in IIS Default web.

We had to install the Framework 1.1 and SP on this computer.When I attempt
to run this app I get the error mentioned above. I granted ASPNET access to
the folder on D: with Read & Execute, List Folder Contents and Read
permissions. The Direcory Security for this app is set as Anonymous access,
User name: ASPNET, Allow IIS to control password and Integrated Windows
authentication. The app itself uses Forms authenification.

This app runs fine on a Win 2003 server.

Here is the full error received when attempting to run from localhost on the
Win 2k box:

Access denied to 'c:\inetpub'. 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 'c:\inetpub'.
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 'c:\inetpub'. Failed to start
monitoring file changes.]
System.Web.FileChangesMonitor.FindDirectoryMonitor (String dir, Boolean
addIfNotFound, Boolean throwOnError) +527
System.Web.FileChangesMonitor.StartMonitoringPath( String alias,
FileChangeEventHandler callback) +477
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.G etCacheDependencies(Hashta
ble
cachedeps, DateTime utcStart) +154
System.Web.Configuration.HttpConfigurationSystem.C omposeConfig(String
reqPath, IHttpMapPath configmap) +697
System.Web.HttpContext.GetCompleteConfigRecord(Str ing reqpath,
IHttpMapPath configmap) +434
System.Web.HttpContext.GetCompleteConfig() +48
System.Web.HttpContext.GetConfig(String name) +195
System.Web.CustomErrors.GetSettings(HttpContext context, Boolean
canThrow) +20
System.Web.HttpResponse.ReportRuntimeError(Excepti on e, Boolean canThrow)
+40
System.Web.HttpRuntime.FinishRequest(HttpWorkerReq uest wr, HttpContext
context, Exception e) +480
Thanks in advance......

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Michael Meckelein | last post by:
Hi all, some strange things are going on. I have a c# project to automate word written under VS.NET with Office XP PIAs. It is a web application project using ASP.NET, programming language is...
0
by: Rajesh Patel | last post by:
Hi, I had problem with the error HttpException (0x80070005): Access denied to 'c:\inetpub\wwwroot\web.config' in my asp.net web application. My environment was asp.net, windows server 2003...
3
by: Olivogt | last post by:
Hello, I was just puting an application on the web server but it did not work as usual... - I do develop on my notebook and move released applications to the Web server - both have Sql Server...
2
by: Cédric Rossé | last post by:
Hello, I'm currently developping a web application and I'm trying to execute a batch file (.cmd) on the server side when the client presses a button on a web page. When I do this on my local...
1
by: Jeremy Chapman | last post by:
Sometimes users are reporting that they receive a FileLoadException error saying that access to a dll is denied. This has occured after strong naming my dlls for my web apps, and it seems to be...
12
by: Ron Weldy | last post by:
I have a test server runinng 2003/IIS 6 with a mixture of asp and asp.net files. On my workstation I have a share set up to the folder where the web files reside. I am just doing quick and dirty...
0
by: Mitja Semolic | last post by:
Deploying ASP.NET web sites to Windows 2003 Server a Nightmare! You finished implementing a ASP.NET web site and then comes the really painful part, you have to deploy it. And to make things...
2
by: ctk70 | last post by:
When I try to run an ASP.NET 2.0 application on my Windows 2000 SP4 computer with IIS 5.0 installed, I receive the following message: Failed to execute the request because the ASP.NET process...
1
by: cpajoe2001 | last post by:
I am having an issue and after searching around online for a day and half now and finding others with the same problem but yet no solution to my issue I am looking for help. What i have is ServerA...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.