Girish Dubey 1 Posted April 4, 2016 Report Share Posted April 4, 2016 C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319>InstallUtil /i D:\HrmsAlertSvc\Hrm sAlertSvc.exe Microsoft ® .NET Framework Installation utility Version 4.0.30319.1 Copyright © Microsoft Corporation. All rights reserved. Running a transacted installation. Beginning the Install phase of the installation. See the contents of the log file for the D:\HrmsAlertSvc\HrmsAlertSvc.exe assemb ly's progress. The file is located at D:\HrmsAlertSvc\HrmsAlertSvc.InstallLog. Installing assembly 'D:\HrmsAlertSvc\HrmsAlertSvc.exe'. Affected parameters are: logtoconsole = i = logfile = D:\HrmsAlertSvc\HrmsAlertSvc.InstallLog assemblypath = D:\HrmsAlertSvc\HrmsAlertSvc.exe Installing service ExitClosuresAlertSvc... Creating EventLog source ExitClosuresAlertSvc in log Application... An exception occurred during the Install phase. System.Security.SecurityException: Requested registry access is not allowed. The Rollback phase of the installation is beginning. See the contents of the log file for the D:\HrmsAlertSvc\HrmsAlertSvc.exe assemb ly's progress. The file is located at D:\HrmsAlertSvc\HrmsAlertSvc.InstallLog. Rolling back assembly 'D:\HrmsAlertSvc\HrmsAlertSvc.exe'. Affected parameters are: logtoconsole = i = logfile = D:\HrmsAlertSvc\HrmsAlertSvc.InstallLog assemblypath = D:\HrmsAlertSvc\HrmsAlertSvc.exe Restoring event log to previous state for source ExitClosuresAlertSvc. An exception occurred during the Rollback phase of the System.Configuration.Inst all.AssemblyInstaller installer. System.UnauthorizedAccessException: Access to the path 'D:\HrmsAlertSvc\HrmsAler tSvc.InstallState' is denied. An exception occurred during the Rollback phase of the installation. This except ion will be ignored and the rollback will continue. However, the machine might n ot fully revert to its initial state after the rollback is complete. The Rollback phase completed successfully. The transacted install has completed. The installation failed, and the rollback has been performed. Quote Link to post Share on other sites
Girish Dubey 1 Posted April 4, 2016 Author Report Share Posted April 4, 2016 i am not able to install windows service in "Microsoft windows server 2003". when i am trying to install windows service i am getting exception "System.Security.SecurityException: Requested registry access is not allowed.". I have all admin rights and also i have run command prompt as administrator. Quote Link to post Share on other sites
justsomeguy 1,135 Posted April 4, 2016 Report Share Posted April 4, 2016 There's a security problem somewhere, you must not have access to write to the registry. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.