asp net issues vista

ASP.NET issues on Vista

I installed IIS+ASP.NET on a clean vista using the "Control Panel/Programs/Advanced Options/Windows Features" approach and it is serving static content, but when I try to hit an ASP.NET page I get the following error
Compiler Error Message: CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\MyTest\b041d79c\28b348b\App_Web_test.aspx.cdcab7d2.qtftjzmo.dll' -- 'The directory name is invalid. '
If I check using Command Prompt, the folder is there but the dll file was not created, there is a bunch of other files in the folder though, including files named with similar random names (App_Web_2qwh8gt0.0.cs, App_Web_2qwh8gt0.1.cs, App_Web_test.aspx.cdcab7d2.qtftjzmo.pdb etc.)
Has anyone experienced the same issue?
TIA JuanC

It might be that the user that the ASP.NET worker process runs as (e.g. NETWORK SERVICE) doesn't have write permission to that folder.
I remember this being an issue on previous versions of Windows (i.e 2000 and XP).
"JuanC" wrote in message

I installed IIS+ASP.NET on a clean vista using the "Control Panel/Programs/Advanced Options/Windows Features" approach and it is serving static content, but when I try to hit an ASP.NET page I get the following error
Compiler Error Message: CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\MyTest\b041d79c\28b348b\App_Web_test.aspx.cdcab7d2.qtftjzmo.dll' -- 'The directory name is invalid. '
If I check using Command Prompt, the folder is there but the dll file was not created, there is a bunch of other files in the folder though, including files named with similar random names (App_Web_2qwh8gt0.0.cs, App_Web_2qwh8gt0.1.cs, App_Web_test.aspx.cdcab7d2.qtftjzmo.pdb etc.)
Has anyone experienced the same issue?
TIA JuanC

The weird thing is that when I look into that temporary folder, there are bunch of files, some cs files, some pdbs, etc.
Most of them have a similar name as the dll that fails with the "Directory Name is Invalid". I did not create any of them and they seem to ASP.NET related so I am guessing that they were generated by the ASP.NET Worker process.
-- JuanC
"Brendan
Green" wrote in message

It might be that the user that the ASP.NET worker process runs as (e.g. NETWORK SERVICE) doesn't have write permission to that folder.
I remember this being an issue on previous versions of Windows (i.e 2000 and XP).
"JuanC" wrote in message I installed IIS+ASP.NET on a clean vista using the "Control Panel/Programs/Advanced Options/Windows Features" approach and it is serving static content, but when I try to hit an ASP.NET page I get the following error
Compiler
Error Message: CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\MyTest\b041d79c\28b348b\App_Web_test.aspx.cdcab7d2.qtftjzmo.dll' -- 'The directory name is invalid. '
If
I check using Command Prompt, the folder is there but the dll file was not created, there is a bunch of other files in the folder though, including files named with similar random names (App_Web_2qwh8gt0.0.cs, App_Web_2qwh8gt0.1.cs, App_Web_test.aspx.cdcab7d2.qtftjzmo.pdb etc.)
Has anyone experienced the same issue?
TIA JuanC

Windows Vista

Topic:


Nick: