Thursday, March 22, 2012

serious problem running asp.net and framework on domain controller

I have a web server which is also the domain controller. Windows2000.
The problem is that in my application I get the error once in a while:
Failed to create file C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary
ASP.NET Files\root\af32ae93\a2206a1a\pturxxyg.out.
or a similar file in the same directory.
If I give "Authenticated Users" Full Control (has to write), and restart
(!!) the IIS (thought this belonged to the past). The problem is solved.
However, this server "restores" its system NTFS security settings at
intervals. And at some stage, with the permissions gone, the same problem
will occur again.
- In the ASP.NET application I use user impersonization, but I don't know if
this is connected.
- The problem comes back all the time, obviously always at the wrong time.
- I don't know which user actually lacks the permission. I tried to find out
by trying, but this didn't help. The impersonated user is an administrator,
and the we are talking about active directory. If I would know which user
tried to make this call (I tried the user used to logon and the internet
user, to no avail), then this would help in some way.
Can anyone advise me on how to get past this problem once and for all? It
seems unrealistic that my application environment would be incompatible with
itself.
Help is very much appreciated!
Leo Muller,
Web developerI have the same thing going on here.
I have uninstalled the .NET Framework, and IIS, then re-installed IIS,
then the .NET Framework.
Anyone have any other ideas?
Regards,
Matt
"Leo Muller" <leo-m@.keshet-i.com> wrote in message news:<cimfl0$gds$1@.news2.netvision.net.i
l>...
> I have a web server which is also the domain controller. Windows2000.
> The problem is that in my application I get the error once in a while:
> Failed to create file C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary
> ASP.NET Files\root\af32ae93\a2206a1a\pturxxyg.out.
> or a similar file in the same directory.
> If I give "Authenticated Users" Full Control (has to write), and restart
> (!!) the IIS (thought this belonged to the past). The problem is solved.
> However, this server "restores" its system NTFS security settings at
> intervals. And at some stage, with the permissions gone, the same problem
> will occur again.
> - In the ASP.NET application I use user impersonization, but I don't know
if
> this is connected.
> - The problem comes back all the time, obviously always at the wrong time.
> - I don't know which user actually lacks the permission. I tried to find o
ut
> by trying, but this didn't help. The impersonated user is an administrator
,
> and the we are talking about active directory. If I would know which user
> tried to make this call (I tried the user used to logon and the internet
> user, to no avail), then this would help in some way.
> Can anyone advise me on how to get past this problem once and for all? It
> seems unrealistic that my application environment would be incompatible wi
th
> itself.
> Help is very much appreciated!
> Leo Muller,
> Web developer

0 comments:

Post a Comment