I get the following error when attempted to get cassini to work on a local machine:
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
I actually 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 was wondering if there was a way to accomplish this same thing programatically in C#. The goal is to have the installer do this without having to rely on a BAT file.