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\wwwroot\test\Default.aspx is 0xC00000A5
0xC00000A5 = 0 0xc00000a5 0x001f0003 NT_STATUS_BAD_IMPERSONATION_LEVEL
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="true"
userName="Win2000DC\administrator"
password="password" />
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\wwwroot,
c:\inetpub\wwwroot\test and the same result is returned.
14 7:09:25 AM inetinfo.exe:1916 OPEN C:\INETPUB\WWWROOT\TEST\DEFAULT.HTM
FILE NOT FOUND Options: Open Access: All
15 7:09:25 AM inetinfo.exe:1916 OPEN C:\INETPUB\WWWROOT\TEST\DEFAULT.ASP
FILE NOT FOUND Options: Open Access: All
16 7:09:25 AM inetinfo.exe:1916 OPEN C:\INETPUB\WWWROOT\TEST\IISSTART.ASP
FILE NOT FOUND Options: Open Access: All
17 7:09:25 AM aspnet_wp.exe:1420 QUERY INFORMATION
C:\inetpub\wwwroot\test\Default.aspx * 0xC00000A5 Attributes: Error
18 7:09:25 AM aspnet_wp.exe:1420 QUERY INFORMATION
C:\inetpub\wwwroot\test\Default.aspx * 0xC00000A5 Attributes: Error
19 7:09:25 AM aspnet_wp.exe:1420 QUERY INFORMATION
C:\inetpub\wwwroot\test\global.asax FILE NOT FOUND Attributes: Error
20 7:09:25 AM aspnet_wp.exe:1420 QUERY INFORMATION
C:\inetpub\wwwroot\test\Default.aspx * 0xC00000A5 Attributes: Error
21 7:09:25 AM aspnet_wp.exe:1420 QUERY INFORMATION
C:\inetpub\wwwroot\test\Default.aspx * 0xC00000A5 Attributes: Error
22 7:09:25 AM aspnet_wp.exe:1420 QUERY INFORMATION
C:\inetpub\wwwroot\test\Default.aspx * 0xC00000A5 Attributes: Error
23 7:09:25 AM aspnet_wp.exe:1420 QUERY INFORMATION
C:\inetpub\wwwroot\test\Default.aspx * 0xC00000A5 Attributes: Error
24 7:09:25 AM aspnet_wp.exe:1420 OPEN
C:\winnt\microsoft.net\framework\v1.1.4322\Config\ machine.config *
0xC00000A5 Options: Open Access: All
25 7:09:25 AM aspnet_wp.exe:1420 OPEN
C:\winnt\microsoft.net\framework\v1.1.4322\Config\ machine.config *
0xC00000A5 Options: Open Access: All
26 7:09:25 AM aspnet_wp.exe:1420 OPEN
C:\winnt\microsoft.net\framework\v1.1.4322\Config\ machine.config *
0xC00000A5 Options: Open Access: All
27 7:09:25 AM aspnet_wp.exe:1420 QUERY INFORMATION
C:\inetpub\wwwroot\test\Default.aspx * 0xC00000A5 Attributes: Error
28 7:09:25 AM aspnet_wp.exe:1420 QUERY INFORMATION
C:\inetpub\wwwroot\test\Default.aspx * 0xC00000A5 Attributes: Error
29 7:09:25 AM aspnet_wp.exe:1420 QUERY INFORMATION
C:\inetpub\wwwroot\test\Default.aspx * 0xC00000A5 Attributes: Error
30 7:09:25 AM aspnet_wp.exe:1420 QUERY INFORMATION
C:\inetpub\wwwroot\test\Default.aspx * 0xC00000A5 Attributes: Error
"Ken Schaefer" <ke*******@THISadOpenStatic.com> wrote in message
news:eC**************@TK2MSFTNGP11.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**************@TK2MSFTNGP10.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\wwwroot\test
: 3. Create a file "default.aspx" 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_machinename to the
: "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempor ary 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\wwwroot\test\Default.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?
:
:
: