Service cannot be started. System.Security.Cryptography.CryptographicException: Access denied. at System.Security.Cryptography.CryptographicException.ThrowCryptographicException(Int32 hr) at System.Security.Cryptography.X509Certificates.X509Utils._LoadCertFromBlob(Byte[] rawData, IntPtr password, UInt32 dwFlags, Boolean persistKeySet, SafeCertContextHandle& pCertCtx) at System.Security.Cryptography.X509Certificates.X509Certificate.LoadCertificateFromBlob(Byte[] rawData, Object password, X509KeyStorageFlags keyStorageFlags) at System.Security.Cryptography.X509Certificates.X509Certificate2..ctor(Byte[] rawData, String password) at Continua.Services.MaintenanceInfoService.InitialiseService() at Continua.Server.Service.ServerService.OnStart(String[] args) at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
Service cannot be started. System.Security.SecurityException: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security. at System.Diagnostics.EventLog.FindSourceRegistration(String source, String machineName, Boolean readOnly, Boolean wantToCreate) at System.Diagnostics.EventLog.SourceExists(String source, String machineName, Boolean wantToCreate) at System.Diagnostics.EventLog.SourceExists(String source) at Continua.Shared.Logging.WindowsEventLogLogger.RegisterEventSource(String sourceName) at Continua.Shared.Extensions.IEnumerableExtensions.Each[T](IEnumerable`1 items, Action`1 action) at Continua.ApplicationSetup.SetUpLoggers() at Continua.ApplicationSetup.Create() at Continua.Service.Common.ApplicationServiceBase.OnStart(String[] args) at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state) The Zone of the assembly that failed was: MyComputer
[code] <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">- <System> <Provider Name="ContinuaCI" /> <EventID Qualifiers="0">0</EventID> <Level>2</Level> <Task>0</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2012-09-11T03:28:56.000000000Z" /> <EventRecordID>690097</EventRecordID> <Channel>Application</Channel> <Computer>JDSRV07.srv.jenasysdesign.com.au</Computer> <Security /> </System>- <EventData> <Data>Service cannot be started. System.Security.Cryptography.CryptographicException: Access denied. at System.Security.Cryptography.CryptographicException.ThrowCryptographicException(Int32 hr) at System.Security.Cryptography.X509Certificates.X509Utils._LoadCertFromBlob(Byte[] rawData, IntPtr password, UInt32 dwFlags, Boolean persistKeySet, SafeCertContextHandle& pCertCtx) at System.Security.Cryptography.X509Certificates.X509Certificate.LoadCertificateFromBlob(Byte[] rawData, Object password, X509KeyStorageFlags keyStorageFlags) at System.Security.Cryptography.X509Certificates.X509Certificate2…ctor(Byte[] rawData, String password) at Continua.Services.MaintenanceInfoService.InitialiseService() at Continua.Server.Service.ServerService.OnStart(String[] args) at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)</Data> </EventData> </Event>[/code] [code] <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">- <System> <Provider Name="ContinuaCIAgent" /> <EventID Qualifiers="0">0</EventID> <Level>2</Level> <Task>0</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2012-09-11T03:32:17.000000000Z" /> <EventRecordID>690102</EventRecordID> <Channel>Application</Channel> <Computer>JDSRV07.srv.jenasysdesign.com.au</Computer> <Security /> </System>- <EventData> <Data>Service cannot be started. System.Security.SecurityException: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security. at System.Diagnostics.EventLog.FindSourceRegistration(String source, String machineName, Boolean readOnly, Boolean wantToCreate) at System.Diagnostics.EventLog.SourceExists(String source, String machineName, Boolean wantToCreate) at System.Diagnostics.EventLog.SourceExists(String source) at Continua.Shared.Logging.WindowsEventLogLogger.RegisterEventSource(String sourceName) at Continua.Shared.Extensions.IEnumerableExtensions.Each[T](IEnumerable1 items, Action1 action) at Continua.ApplicationSetup.SetUpLoggers() at Continua.ApplicationSetup.Create() at Continua.Service.Common.ApplicationServiceBase.OnStart(String[] args) at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state) The Zone of the assembly that failed was: MyComputer</Data> </EventData> </Event>[/code]
Updated the Active Directory Administrators group and modified ‘C:\Program Files\VSoft Technologies\ContinuaCI\Server\Continua.Server.Service.exe.config’. Looks like I’m in! Wow. Thanks Wiki…