When I try to get cassini to work on the local machine, I get the following error:
The current identity (NT AUTHORITY\LOCAL SERVICE) does not have write access to 'C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files
In fact, I created a BAT file to do the following
cd\
cd C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\
aspnet_regiis -ga "NT AUTHORITY\LOCAL SERVICE"
and wondered if there is a way to do the same thing programmatically in C #. The goal is to make this an installer without relying on the BAT file.
source
share