strange IIS error

KingKaeru

Supreme [H]ardness
Joined
Jul 16, 2000
Messages
6,465
I have a .NET library which I am calling through an asp page (through interop) on a win2k3 server and am getting the following error at a client's site

mscorlib error 800070005
Access to path C:\WINDOWS\TEMP\zl2-bvrg.tmp is denied.

The library takes a path string to an xml file's path and parses it. I have not been able to reproduce this locally as it works here in my lab and have no access to the client system that's generating the error.

since the above c:\windows\temp\xxx.tmp file changes everytime the page is reloaded, i suspect this problem to be within iis and it's user rights.

Anyone know what that above temp file is? Is it a compiled asp page perhaps?
 
I have a .NET library which I am calling through an asp page (through interop) on a win2k3 server and am getting the following error at a client's site

mscorlib error 800070005
Access to path C:\WINDOWS\TEMP\zl2-bvrg.tmp is denied.

The library takes a path string to an xml file's path and parses it. I have not been able to reproduce this locally as it works here in my lab and have no access to the client system that's generating the error.

since the above c:\windows\temp\xxx.tmp file changes everytime the page is reloaded, i suspect this problem to be within iis and it's user rights.

Anyone know what that above temp file is? Is it a compiled asp page perhaps?

sounds like you just need to change the permissions on the Windows TEMP to allow users of the web app to write ( and perhaps modify) files to the folder, and make sure all the files within inherit their security from the parent folder
 
the weird thing is if i restrict the windows temp folder from my iis user in my lab, i come up with a different error. I'll reevaluate their permissions again. Any other thoughts? Can anyone point me in a direction that would explain the tmp files?
 
the weird thing is if i restrict the windows temp folder from my iis user in my lab, i come up with a different error. I'll reevaluate their permissions again. Any other thoughts? Can anyone point me in a direction that would explain the tmp files?

Temporarily open up modify rights on the Temp folder to everyone. If it works, then you know its a security issue.
 
figured it out... xslcompiledtransform generates those tmp files :p

Thank you all. :)
 
Back
Top