This project is read-only.

Error on Service install

Sep 22, 2009 at 1:35 PM

Running Windows 2008 Cluster with SQL 2005 Enterprise.  Receive the following error installing the Service:

 

Installing assembly 'D:\Program Files\SQLMonitoring\Service\SqlMonitoring.Service.exe'.
Affected parameters are:
   logtoconsole =
   assemblypath = D:\Program Files\SQLMonitoring\Service\SqlMonitoring.Service.exe
   logfile = D:\Program Files\SQLMonitoring\Service\SqlMonitoring.Service.InstallLog
Rolling back assembly 'D:\Program Files\SQLMonitoring\Service\SqlMonitoring.Service.exe'.
Affected parameters are:
   logtoconsole =
   assemblypath = D:\Program Files\SQLMonitoring\Service\SqlMonitoring.Service.exe
   logfile = D:\Program Files\SQLMonitoring\Service\SqlMonitoring.Service.InstallLog
An exception occurred during the Rollback phase of the System.ServiceProcess.ServiceProcessInstaller installer.
System.NullReferenceException: Object reference not set to an instance of an object.
An exception occurred during the Rollback phase of the installation. This exception will be ignored and the rollback will continue. However, the machine might not fully revert to its initial state after the rollback is complete.

 

Any Advice?

 

 

Thanks,

Bert

Coordinator
Sep 22, 2009 at 8:26 PM

Bert,

What's logged in SqlMonitoring.Service.InstallLog. There's nothing going on in the installationphase. Just setting the account used to run the service. Could you check the log for me? And what we're the parameters you supplied whithout showing any passwords of course.

Greetings,

Robert

Sep 23, 2009 at 1:19 PM
Robert,

Thank you for your reply. Here is the command I used to install the service:

C:\windows\Microsoft.NET\Framework\V2.0.50727\installutil.exe SqlMonitoring.Service.exe

When I ran this, a pop-up requested a service account login and password to which I replied:

domaingroup\account
*****
*****

This account is in the local administrators group and also has SA privileges on SQL Server. I've attached both logs for your review.

Thank you for your assistance,

Bert



From: [email removed]
To: [email removed]
Date: Tue, 22 Sep 2009 12:26:29 -0700
Subject: Re: Error on Service install [sqlmonitoring:69701]

From: rhartskeerl
Bert,
What's logged in SqlMonitoring.Service.InstallLog. There's nothing going on in the installationphase. Just setting the account used to run the service. Could you check the log for me? And what we're the parameters you supplied whithout showing any passwords of course.
Greetings,
Robert
Read the full discussion online.
To add a post to this discussion, reply to this email (sqlmonitoring@discussions.codeplex.com)
To start a new discussion for this project, email sqlmonitoring@discussions.codeplex.com
You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe on codePlex.com.
Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com


Bing™ brings you maps, menus, and reviews organized in one place. Try it now.
Coordinator
Sep 23, 2009 at 3:34 PM

I did not receive any attachements. As stated in the note from codeplext "Images and attachements will be removed from emails."

I cannot reproduce this on a stand-alone Windows 2008 server. Could you perhaps paste in the installlog or just the error of it's in there. To test this on a 2008 cluster I would have to create one, not a big problem but it takes some time.

 

Sep 23, 2009 at 3:50 PM
Sorry about that. Here's the info you requested.


Install Log:

Installing assembly 'S:\Program Files\SQLMonitoring\Service\SqlMonitoring.Service.exe'.
Affected parameters are:
logtoconsole =
assemblypath = S:\Program Files\SQLMonitoring\Service\SqlMonitoring.Service.exe
logfile = S:\Program Files\SQLMonitoring\Service\SqlMonitoring.Service.InstallLog
Rolling back assembly 'S:\Program Files\SQLMonitoring\Service\SqlMonitoring.Service.exe'.
Affected parameters are:
logtoconsole =
assemblypath = S:\Program Files\SQLMonitoring\Service\SqlMonitoring.Service.exe
logfile = S:\Program Files\SQLMonitoring\Service\SqlMonitoring.Service.InstallLog
An exception occurred during the Rollback phase of the System.ServiceProcess.ServiceProcessInstaller installer.
System.NullReferenceException: Object reference not set to an instance of an object.
An exception occurred during the Rollback phase of the installation. This exception will be ignored and the rollback will continue. However, the machine might not fully revert to its initial state after the rollback is complete.

Log:

20090922 13:52:21.39 Information ServiceCore.LoadSampledData Data retrieval started...
20090922 13:52:21.39 Information ServiceCore.LoadSampledData Running on cluster CLUSTERCL1
20090922 13:52:21.39 Information ServiceCore.LoadSampledData Retrieving Cluster Resource Groups
20090922 14:09:54.86 Information ServiceCore.LoadSampledData Data retrieval started...
20090922 14:09:54.86 Information ServiceCore.LoadSampledData Running on cluster CLUSTERCL1
20090922 14:09:54.86 Information ServiceCore.LoadSampledData Retrieving Cluster Resource Groups
20090922 14:09:54.93 Information ServiceCore.LoadSampleData MSCluster_Node.Name="CLUSTERCL1N1"::MSCluster_ResourceGroup.Name="Available Storage"
20090922 14:09:54.93 Information ServiceCore.LoadSampleData MSCluster_Node.Name="CLUSTERCL1N1"::MSCluster_ResourceGroup.Name="Cluster Group"
20090922 14:09:54.93 Information ServiceCore.LoadSampleData MSCluster_Node.Name="CLUSTERCL1N1"::MSCluster_ResourceGroup.Name="CLUSTERCL1DTC"
20090922 14:09:54.93 Information ServiceCore.LoadSampleData MSCluster_Node.Name="CLUSTERCL1N1"::MSCluster_ResourceGroup.Name="SQL Server Group"
20090922 14:09:54.96 Error ServiceCore.GetPerfmonCounters Generic failure
20090922 14:09:55.00 Error ServiceCore.OsCore System.Management.ManagementException: Generic failure
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at SqlMonitoring.Service.OS.OSHealth.GetServices(DataTable dataTableServices, String hostName, String hostDomain)
at SqlMonitoring.Service.OS.OSCore.GetSampledData(DataTable sampledData, DataTable perfmonData)
at SqlMonitoring.Service.ServiceCore.LoadSampledData()
20090922 14:09:55.02 Error ServiceCore.SqlCore Generic failure
20090922 14:09:55.04 Information ServiceCore.BulkCopyData Bulk inserting data...
20090922 14:09:55.04 Information ServiceCore.BulkCopyData Copied SampleData: 0 rows
20090922 14:09:55.05 Information ServiceCore.ProcessAlerts Processed 0 Alert(s).
20090922 14:10:54.69 Information ServiceCore.LoadSampledData Data retrieval started...
20090922 14:10:54.69 Information ServiceCore.LoadSampledData Running on cluster CLUSTERCL1
20090922 14:10:54.74 Error ServiceCore.GetPerfmonCounters Generic failure
20090922 14:10:54.75 Error ServiceCore.OsCore System.Management.ManagementException: Generic failure
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at SqlMonitoring.Service.OS.OSHealth.GetServices(DataTable dataTableServices, String hostName, String hostDomain)
at SqlMonitoring.Service.OS.OSCore.GetSampledData(DataTable sampledData, DataTable perfmonData)
at SqlMonitoring.Service.ServiceCore.LoadSampledData()
20090922 14:10:54.77 Error ServiceCore.SqlCore Generic failure
20090922 14:10:54.77 Information ServiceCore.BulkCopyData Bulk inserting data...
20090922 14:10:54.77 Information ServiceCore.BulkCopyData Copied SampleData: 0 rows
20090922 14:10:54.78 Information ServiceCore.ProcessAlerts Processed 0 Alert(s).
20090922 14:11:54.70 Information ServiceCore.LoadSampledData Data retrieval started...
20090922 14:11:54.70 Information ServiceCore.LoadSampledData Running on cluster CLUSTERCL1
20090922 14:11:54.73 Error ServiceCore.GetPerfmonCounters Generic failure
20090922 14:11:54.75 Error ServiceCore.OsCore System.Management.ManagementException: Generic failure
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at SqlMonitoring.Service.OS.OSHealth.GetServices(DataTable dataTableServices, String hostName, String hostDomain)
at SqlMonitoring.Service.OS.OSCore.GetSampledData(DataTable sampledData, DataTable perfmonData)
at SqlMonitoring.Service.ServiceCore.LoadSampledData()
20090922 14:11:54.77 Error ServiceCore.SqlCore Generic failure
20090922 14:11:54.77 Information ServiceCore.BulkCopyData Bulk inserting data...
20090922 14:11:54.77 Information ServiceCore.BulkCopyData Copied SampleData: 0 rows
20090922 14:11:54.78 Information ServiceCore.ProcessAlerts Processed 0 Alert(s).
20090922 14:12:54.72 Information ServiceCore.LoadSampledData Data retrieval started...
20090922 14:12:54.72 Information ServiceCore.LoadSampledData Running on cluster CLUSTERCL1
20090922 14:12:54.76 Error ServiceCore.GetPerfmonCounters Generic failure
20090922 14:12:54.78 Error ServiceCore.OsCore System.Management.ManagementException: Generic failure
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at SqlMonitoring.Service.OS.OSHealth.GetServices(DataTable dataTableServices, String hostName, String hostDomain)
at SqlMonitoring.Service.OS.OSCore.GetSampledData(DataTable sampledData, DataTable perfmonData)
at SqlMonitoring.Service.ServiceCore.LoadSampledData()
20090922 14:12:54.79 Error ServiceCore.SqlCore Generic failure
20090922 14:12:54.79 Information ServiceCore.BulkCopyData Bulk inserting data...
20090922 14:12:54.79 Information ServiceCore.BulkCopyData Copied SampleData: 0 rows
20090922 14:12:54.79 Information ServiceCore.ProcessAlerts Processed 0 Alert(s).
20090922 14:37:53.98 Information ServiceCore.LoadSampledData Data retrieval started...
20090922 14:37:53.98 Information ServiceCore.LoadSampledData Running on cluster CLUSTERCL1
20090922 14:37:53.98 Information ServiceCore.LoadSampledData Retrieving Cluster Resource Groups
20090922 14:37:54.03 Information ServiceCore.LoadSampleData MSCluster_Node.Name="CLUSTERCL1N1"::MSCluster_ResourceGroup.Name="Available Storage"
20090922 14:37:54.03 Information ServiceCore.LoadSampleData MSCluster_Node.Name="CLUSTERCL1N1"::MSCluster_ResourceGroup.Name="Cluster Group"
20090922 14:37:54.03 Information ServiceCore.LoadSampleData MSCluster_Node.Name="CLUSTERCL1N1"::MSCluster_ResourceGroup.Name="CLUSTERCL1DTC"
20090922 14:37:54.03 Information ServiceCore.LoadSampleData MSCluster_Node.Name="CLUSTERCL1N1"::MSCluster_ResourceGroup.Name="SQL Server Group"
20090922 14:37:54.06 Error ServiceCore.GetPerfmonCounters Generic failure
20090922 14:37:54.10 Error ServiceCore.OsCore System.Management.ManagementException: Generic failure
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at SqlMonitoring.Service.OS.OSHealth.GetServices(DataTable dataTableServices, String hostName, String hostDomain)
at SqlMonitoring.Service.OS.OSCore.GetSampledData(DataTable sampledData, DataTable perfmonData)
at SqlMonitoring.Service.ServiceCore.LoadSampledData()
20090922 14:37:54.12 Error ServiceCore.SqlCore Generic failure
20090922 14:37:54.12 Information ServiceCore.BulkCopyData Bulk inserting data...
20090922 14:37:54.14 Information ServiceCore.BulkCopyData Copied SampleData: 0 rows
20090922 14:37:54.15 Information ServiceCore.ProcessAlerts Processed 0 Alert(s).




From: [email removed]
To: [email removed]
Date: Wed, 23 Sep 2009 07:34:39 -0700
Subject: Re: Error on Service install [sqlmonitoring:69701]

From: rhartskeerl
I did not receive any attachements. As stated in the note from codeplext "Images and attachements will be removed from emails."
I cannot reproduce this on a stand-alone Windows 2008 server. Could you perhaps paste in the installlog or just the error of it's in there. To test this on a 2008 cluster I would have to create one, not a big problem but it takes some time.

Read the full discussion online.
To add a post to this discussion, reply to this email (sqlmonitoring@discussions.codeplex.com)
To start a new discussion for this project, email sqlmonitoring@discussions.codeplex.com
You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe on codePlex.com.
Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com


Microsoft brings you a new way to search the web. Try Bing™ now
Coordinator
Sep 23, 2009 at 8:28 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.