Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trying to run aspnet_regiis.exe from .NET
Message
From
25/01/2010 04:00:40
 
 
To
25/01/2010 03:10:52
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01445753
Message ID:
01445759
Views:
30
>I succeeded to have this running by changing the application Identify account to one with the privilege. However, when this runs, it stops the entire Web services on the server. I have to issue a iisreset /restart to have them back running. So, obviously, someone doesn't like us to play with that under an ASP.NET application.

If you think about it this has to be the case - all the permissions being used before the change are potentially invalid.

It would be *less* dangerous to grant the neccessary registry permissions to the identity account, But it would be safer to temporarily impersonate a user with the required permssions. Example here: http://support.microsoft.com/kb/306158#4

>
>If the default would be to have a new Web site to use the ASP.NET version v2.0.50727 version, we wouldn't have to do that. Or, is there an option somewhere to let IIS know that every new Web site we configure should be under v2.0.50727?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform