473,769 Members | 1,991 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.Http Exception: 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.File ChangesMonitor. FindDirectoryMo nitor(String dir, Boolean
addIfNotFound, Boolean throwOnError) +527
System.Web.File ChangesMonitor. StartMonitoring Path(String alias,
FileChangeEvent Handler callback) +477
System.Web.Cach ing.CacheDepend ency.Init(Boole an isPublic, Boolean
isSensitive, String[] filenamesArg, String[] cachekeysArg, CacheDependency
dependency, DateTime utcStart) +1535
System.Web.Cach ing.CacheDepend ency..ctor(Bool ean isSensitive, String[]
filenames, DateTime utcStart) +50
System.Web.Conf iguration.HttpC onfigurationSys tem.GetCacheDep endencies(Hasht able
cachedeps, DateTime utcStart) +154
System.Web.Conf iguration.HttpC onfigurationSys tem.ComposeConf ig(String
reqPath, IHttpMapPath configmap) +697
System.Web.Http Context.GetComp leteConfigRecor d(String reqpath,
IHttpMapPath configmap) +434
System.Web.Http Context.GetComp leteConfig() +48
System.Web.Http Context.GetConf ig(String name) +195
System.Web.Cust omErrors.GetSet tings(HttpConte xt context, Boolean
canThrow) +20
System.Web.Http Response.Report RuntimeError(Ex ception e, Boolean canThrow)
+40
System.Web.Http Runtime.FinishR equest(HttpWork erRequest wr, HttpContext
context, Exception e) +480
Thanks in advance......
Nov 19 '05 #1
2 5802
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******** ******@TK2MSFTN GP09.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.Http Exception: 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.File ChangesMonitor. FindDirectoryMo nitor(String dir, Boolean
addIfNotFound, Boolean throwOnError) +527
System.Web.File ChangesMonitor. StartMonitoring Path(String alias,
FileChangeEvent Handler callback) +477
System.Web.Cach ing.CacheDepend ency.Init(Boole an isPublic, Boolean
isSensitive, String[] filenamesArg, String[] cachekeysArg, CacheDependency
dependency, DateTime utcStart) +1535
System.Web.Cach ing.CacheDepend ency..ctor(Bool ean isSensitive, String[]
filenames, DateTime utcStart) +50

System.Web.Conf iguration.HttpC onfigurationSys tem.GetCacheDep endencies(Hasht a
ble
cachedeps, DateTime utcStart) +154
System.Web.Conf iguration.HttpC onfigurationSys tem.ComposeConf ig(String
reqPath, IHttpMapPath configmap) +697
System.Web.Http Context.GetComp leteConfigRecor d(String reqpath,
IHttpMapPath configmap) +434
System.Web.Http Context.GetComp leteConfig() +48
System.Web.Http Context.GetConf ig(String name) +195
System.Web.Cust omErrors.GetSet tings(HttpConte xt context, Boolean
canThrow) +20
System.Web.Http Response.Report RuntimeError(Ex ception e, Boolean canThrow)
+40
System.Web.Http Runtime.FinishR equest(HttpWork erRequest 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******** ******@TK2MSFTN GP09.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.Http Exception: 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.File ChangesMonitor. FindDirectoryMo nitor(String dir, Boolean
addIfNotFound, Boolean throwOnError) +527
System.Web.File ChangesMonitor. StartMonitoring Path(String alias,
FileChangeEvent Handler callback) +477
System.Web.Cach ing.CacheDepend ency.Init(Boole an isPublic, Boolean
isSensitive, String[] filenamesArg, String[] cachekeysArg, CacheDependency
dependency, DateTime utcStart) +1535
System.Web.Cach ing.CacheDepend ency..ctor(Bool ean isSensitive, String[]
filenames, DateTime utcStart) +50

System.Web.Conf iguration.HttpC onfigurationSys tem.GetCacheDep endencies(Hasht a
ble
cachedeps, DateTime utcStart) +154
System.Web.Conf iguration.HttpC onfigurationSys tem.ComposeConf ig(String
reqPath, IHttpMapPath configmap) +697
System.Web.Http Context.GetComp leteConfigRecor d(String reqpath,
IHttpMapPath configmap) +434
System.Web.Http Context.GetComp leteConfig() +48
System.Web.Http Context.GetConf ig(String name) +195
System.Web.Cust omErrors.GetSet tings(HttpConte xt context, Boolean
canThrow) +20
System.Web.Http Response.Report RuntimeError(Ex ception e, Boolean canThrow)
+40
System.Web.Http Runtime.FinishR equest(HttpWork erRequest 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
272
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 c#. Office Version 2002 (Microsoft Word 10.0 Object Library version 8.2). All works fine.
0
1750
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 and .net framework 1.1. when I was trying to set security permission for web application which would be accessible to selected members of domain users. I was getting above error. I tried all the things on the various
3
567
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 2000 - In this particular application I have a form login based on Username/Password from a database table - the start page of the application has a datagrid, both pages are accessing ONE database but an other table - It seems that the username and...
2
18056
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 machine (where I'm developping my application), no problem occurs. But when I put the web application on my Windows server 2003 server, I always get the following error message. Can someone help me ? Here is the config of my webconfig file :
1
4165
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 occuring intermittently. This is the fusion log entry, and I am confused: *** Assembly Binder Log Entry (1/4/2005 @ 9:20:51 AM) *** The operation failed. Bind result: hr = 0x80070005. Access is denied.
12
3097
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 asp editing (like I used to be able to do with 2K/IIS5) where I use VS.NET, open an asp file, make changes, save and refresh my browser. Problem is that I get an Access is Denied error when I try to save the file and then the file gets wiped on...
0
11829
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 worse there is not any useful documentation. Manually setting filesystem permissions on same platforms for ASPNET, or IUSR_<MACHINE>, or to NETWORK SERVICE accounts. Settings security policies, running aspnet_regiis -i once in a while, setting the...
2
8898
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 identity does not have read permissions to the global assembly cache. Error: 0x80070005 Access is denied. Why does it need access to the GAC? Any ideas on how to resolve this?
1
8993
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 which is a webserver running Win2k3 with IIS6, my domain account is a local administrator on this machine. The web app I am running is trying to write a file to ServerB which is also a Win2k3 machine. On the folder of the machine I am writing to...
0
9579
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10035
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9981
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8862
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7396
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6662
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5438
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3949
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3553
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.