Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trying to run aspnet_regiis.exe from .NET
Message
De
25/01/2010 02:26:11
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Trying to run aspnet_regiis.exe from .NET
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01445753
Message ID:
01445753
Vues:
92
When running aspnet_regiis.exe from a desktop application, it can run ok. But, if I run the same code from a Web application, I will get a message saying: "An error has occurred: 0x80040150 Could not read key from registry". This is related to some kind of security which doesn't allow the application to read from the registry. I have found that this depends on various settings. I made a test running this with an account that has full access. It didn't change anything. I double checked with System.Security.Principal.WindowsIdentity.GetCurrent().Name to make sure it was using the account I set up. It was ok. However, something is blocking this to execute ok. Where else could I look to try to find a way to execute aspnet_regiis.exe from my ASP.NET application? I am running IIS 6 on Windows Server 2003.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform