I must admit I did use it, but this time.. I REALLY used the tool now. So,
here is what I have found. The following is a snipit from the log.
The Domain is "Win2000DC"
The aspnet_wp user "Win2000DC\IWAM _Wrongway"
The result from aspnet_wp.exe accessing the
C:\inetpub\wwwr oot\test\Defaul t.aspx is 0xC00000A5
0xC00000A5 = 0 0xc00000a5 0x001f0003 NT_STATUS_BAD_I MPERSONATION_LE VEL
I have not a clue what this means or how to solve this.
In the web.config i have the following under <system.web>
<identity impersonate="tr ue"
userName="Win20 00DC\administra tor"
password="passw ord" />
What is crazy is that the same default.aspx and web.config work on another
DC, yet we are unable to get it working on this DC. I have granted the
IWAM_Wrongway user access to c:\, c:\inetpub, c:\inetpub\wwwr oot,
c:\inetpub\wwwr oot\test and the same result is returned.
14 7:09:25 AM inetinfo.exe:19 16 OPEN C:\INETPUB\WWWR OOT\TEST\DEFAUL T.HTM
FILE NOT FOUND Options: Open Access: All
15 7:09:25 AM inetinfo.exe:19 16 OPEN C:\INETPUB\WWWR OOT\TEST\DEFAUL T.ASP
FILE NOT FOUND Options: Open Access: All
16 7:09:25 AM inetinfo.exe:19 16 OPEN C:\INETPUB\WWWR OOT\TEST\IISSTA RT.ASP
FILE NOT FOUND Options: Open Access: All
17 7:09:25 AM aspnet_wp.exe:1 420 QUERY INFORMATION
C:\inetpub\wwwr oot\test\Defaul t.aspx * 0xC00000A5 Attributes: Error
18 7:09:25 AM aspnet_wp.exe:1 420 QUERY INFORMATION
C:\inetpub\wwwr oot\test\Defaul t.aspx * 0xC00000A5 Attributes: Error
19 7:09:25 AM aspnet_wp.exe:1 420 QUERY INFORMATION
C:\inetpub\wwwr oot\test\global .asax FILE NOT FOUND Attributes: Error
20 7:09:25 AM aspnet_wp.exe:1 420 QUERY INFORMATION
C:\inetpub\wwwr oot\test\Defaul t.aspx * 0xC00000A5 Attributes: Error
21 7:09:25 AM aspnet_wp.exe:1 420 QUERY INFORMATION
C:\inetpub\wwwr oot\test\Defaul t.aspx * 0xC00000A5 Attributes: Error
22 7:09:25 AM aspnet_wp.exe:1 420 QUERY INFORMATION
C:\inetpub\wwwr oot\test\Defaul t.aspx * 0xC00000A5 Attributes: Error
23 7:09:25 AM aspnet_wp.exe:1 420 QUERY INFORMATION
C:\inetpub\wwwr oot\test\Defaul t.aspx * 0xC00000A5 Attributes: Error
24 7:09:25 AM aspnet_wp.exe:1 420 OPEN
C:\winnt\micros oft.net\framewo rk\v1.1.4322\Co nfig\machine.co nfig *
0xC00000A5 Options: Open Access: All
25 7:09:25 AM aspnet_wp.exe:1 420 OPEN
C:\winnt\micros oft.net\framewo rk\v1.1.4322\Co nfig\machine.co nfig *
0xC00000A5 Options: Open Access: All
26 7:09:25 AM aspnet_wp.exe:1 420 OPEN
C:\winnt\micros oft.net\framewo rk\v1.1.4322\Co nfig\machine.co nfig *
0xC00000A5 Options: Open Access: All
27 7:09:25 AM aspnet_wp.exe:1 420 QUERY INFORMATION
C:\inetpub\wwwr oot\test\Defaul t.aspx * 0xC00000A5 Attributes: Error
28 7:09:25 AM aspnet_wp.exe:1 420 QUERY INFORMATION
C:\inetpub\wwwr oot\test\Defaul t.aspx * 0xC00000A5 Attributes: Error
29 7:09:25 AM aspnet_wp.exe:1 420 QUERY INFORMATION
C:\inetpub\wwwr oot\test\Defaul t.aspx * 0xC00000A5 Attributes: Error
30 7:09:25 AM aspnet_wp.exe:1 420 QUERY INFORMATION
C:\inetpub\wwwr oot\test\Defaul t.aspx * 0xC00000A5 Attributes: Error
"Ken Schaefer" <ke*******@THIS adOpenStatic.co m> wrote in message
news:eC******** ******@TK2MSFTN GP11.phx.gbl...
Please use the Sysinternals Filemon tool to see what file is generating
the Access denied error, and which account is being used to access the file.
That will give you some idea as to why you are getting this error.
Cheers
Ken
"Mark" <po******@news. group> wrote in message
news:ud******** ******@TK2MSFTN GP10.phx.gbl...
: Here is a small story of what I am doing.
:
: I have a virtual machine Windows 2000 Enterprise server with .NET 1.0
and : 1.1 installed and was upgraded to a DC.
:
: 1. Log in as Administrator
: 2. Create a folder C:\Inetpub\wwwr oot\test
: 3. Create a file "default.as px" content of the file is "hello world"
: 4. Load up Internet Information Services
: 5. Create "test" to be a web application or what ever that step would
be : called. I click on the "create" button in the properties of "test"
: 6. Grant the user iwam_machinenam e to the
: "C:\WINNT\Micro soft.NET\Framew ork\v1.1.4322\T emporary ASP.NET Files"
folder
: because it genreated a permission error when running the site.
: 7. Load up IE and access http://localhost/test and it works. The site
: displays "hello world"
:
: 8. Create web.config with impersonate data. The user in the
impersonate is
: the Domain administrator account that is currently being used.
: 9. Accessing the site gives the error "Access denied to
: 'c:\inetpub\www root\test\Defau lt.aspx'. Failed to start monitoring file
: changes."
:
: WHY, WHY does this error happen?
:
: When these same steps are performed on another VM that is a DC it
actually : works. The same problem was not able to be reproduced. I have seen
this : problem before so it is not a rare occurance with just this VM or my
: install. It has happened when another network tech installed a windows
DC : and another developer tried to setup an impersonate site. Same error
and we
: could not resolve the error so the machine was rebuilt. There are going
to
: be times where we will not be able to just "rebuild" the machine and the
: problem has to be resolved.
:
: In attempts to "fix" the problem
: * aspnet_regiis -i was ran. Same result.
: * .NET 1.0 and 1.1 uninstalled and reinstalled .NET 1.1. Same error
still.
: * Granting full control on c:\ just for kicks on everyone and
administrator
: and other user accounts. same error.
:
:
: How can this be fixed on a server with out a rebuild of the server?
:
:
: