P
Pete
Tearing my hair out with this one....
I've got a tiny ASP.NET site which works fine on my development machine.
I put the application onto a Test machine, and I get:
Cannot execute a program. The command being executed was
"c:\winnt\microsoft.net\framework\v1.0.3705\csc.exe" /noconfig
The first line of the trace is:
ExternalException (0x5): Cannot execute a program....
Now, I'm aware that Win32 error 5 = Access Denied.
To support this, the web server has the IIS Lockdown tool installed. I
de-installed this and the application ran successfully. However, it's
not really an option to leave this off permanently, so I need to get
both working together.
When I reapplied IIS Lockdown, the app stopped working again.
Now, the funnies:
1. The server happily runs other ASP and ASP.NET sites without any
permissions issues, lockdown or not. The other ASP site has exactly the
same config (essentially, High Isolation). Obviously different physical
file location.
2. When I load the pages in IE, neither RegMon nor FileMon show any
Access Denied errors. Or indeed, errors at all.
3. As far as I can see, the ASPNET worker process account has access to
both the source files and csc.exe (and the subfolders under the
framework directory)
Has anyone seen this problem before?
Can anyone think of what else I can do to chase this one down?
TIA,
Pete
I've got a tiny ASP.NET site which works fine on my development machine.
I put the application onto a Test machine, and I get:
Cannot execute a program. The command being executed was
"c:\winnt\microsoft.net\framework\v1.0.3705\csc.exe" /noconfig
The first line of the trace is:
ExternalException (0x5): Cannot execute a program....
Now, I'm aware that Win32 error 5 = Access Denied.
To support this, the web server has the IIS Lockdown tool installed. I
de-installed this and the application ran successfully. However, it's
not really an option to leave this off permanently, so I need to get
both working together.
When I reapplied IIS Lockdown, the app stopped working again.
Now, the funnies:
1. The server happily runs other ASP and ASP.NET sites without any
permissions issues, lockdown or not. The other ASP site has exactly the
same config (essentially, High Isolation). Obviously different physical
file location.
2. When I load the pages in IE, neither RegMon nor FileMon show any
Access Denied errors. Or indeed, errors at all.
3. As far as I can see, the ASPNET worker process account has access to
both the source files and csc.exe (and the subfolders under the
framework directory)
Has anyone seen this problem before?
Can anyone think of what else I can do to chase this one down?
TIA,
Pete