Problem collecting Inventory and Metrics - Bug?Hi there<br/><br/>I have installed MAP 3.2 on a Hyper-V VM running Server 2008 x64 Standard edition.<br/>All the prerequisities have been installed.<br/>When I go to run a performance metric collection against the 40 servers I wish to analyse, the process runs but after a few minutes, the WMI Inventory collection seems to crash the MAP tool. The error section in the log states the following:<br/><br/><br/><em>&lt;DataAccessHelper 16:12:35&gt; Error: DataAccessHelper.ExecuteNonQuery: Exception Stack:    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)<br/>   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)<br/>   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)<br/>   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)<br/>   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)<br/>   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)<br/>   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)<br/>   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()<br/>   at Microsoft.AssessmentPlatform.DataAccess.DataAccessHelper.ExecuteNonQuery(IDbCommand command, String sqlQuery) Expection Message: The conversion of the varchar value '4294967295' overflowed an int column.<br/>The statement has been terminated.   at Microsoft.AssessmentPlatform.DataAccess.DataAccessHelper.ExecuteNonQuery(IDbCommand command, String sqlQuery)<br/>  0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.ERROR(String logString)<br/>  0<br/>&lt;InventoryEngine 16:12:35&gt; Error: Exception Occurred (PersistRegistryKeysInfo for watersrf03): The conversion of the varchar value '4294967295' overflowed an int column.<br/>The statement has been terminated.   at Microsoft.AssessmentPlatform.InventoryCommon.InventoryDataAccess.PersistRegistryKeysInfo(RegistryKeyDataCollection registryKeyDataCollection)<br/>  0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.ERROR(String logString)<br/>  0<br/>&lt;DataAccessHelper 16:12:35&gt;  SqlException occurred: Message: The conversion of the varchar value '4294967295' overflowed an int column.<br/>The statement has been terminated. (Number: 248)<br/>&lt;InventoryEngine 16:12:35&gt; Error: The conversion of the varchar value '4294967295' overflowed an int column.<br/>The statement has been terminated.   at Microsoft.AssessmentPlatform.InventoryEngine.RegistryCollector.PersistRegistryNodeInfoCB(Object state)<br/>  0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.ERROR(String logString)<br/><br/></em>I have tried building the install on another Server 2008 x86 VM. But the same thing happens once I start a collection. I feel the issue is related to the WMI capture process bringing back a value which is outside the allowed value range for a SQL table field. Any ideas what is wrong? I can provide the full log on request. It is using SQL 2008 express as per the version downloaded on install. I have tried creating new databases without success. This information is crucial to a customers Hyper-V migration project.<br/><br/>Thanks<br/><br/>Norman© 2009 Microsoft Corporation. All rights reserved.Mon, 01 Jun 2009 13:36:46 Zb47d8484-7194-40bd-850f-09c8a043639dhttp://social.technet.microsoft.com/Forums/en-US/map/thread/b47d8484-7194-40bd-850f-09c8a043639d#b47d8484-7194-40bd-850f-09c8a043639dhttp://social.technet.microsoft.com/Forums/en-US/map/thread/b47d8484-7194-40bd-850f-09c8a043639d#b47d8484-7194-40bd-850f-09c8a043639dNEnglishhttp://social.technet.microsoft.com/Profile/en-US/?user=NEnglishProblem collecting Inventory and Metrics - Bug?Hi there<br/><br/>I have installed MAP 3.2 on a Hyper-V VM running Server 2008 x64 Standard edition.<br/>All the prerequisities have been installed.<br/>When I go to run a performance metric collection against the 40 servers I wish to analyse, the process runs but after a few minutes, the WMI Inventory collection seems to crash the MAP tool. The error section in the log states the following:<br/><br/><br/><em>&lt;DataAccessHelper 16:12:35&gt; Error: DataAccessHelper.ExecuteNonQuery: Exception Stack:    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)<br/>   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)<br/>   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)<br/>   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)<br/>   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)<br/>   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)<br/>   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)<br/>   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()<br/>   at Microsoft.AssessmentPlatform.DataAccess.DataAccessHelper.ExecuteNonQuery(IDbCommand command, String sqlQuery) Expection Message: The conversion of the varchar value '4294967295' overflowed an int column.<br/>The statement has been terminated.   at Microsoft.AssessmentPlatform.DataAccess.DataAccessHelper.ExecuteNonQuery(IDbCommand command, String sqlQuery)<br/>  0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.ERROR(String logString)<br/>  0<br/>&lt;InventoryEngine 16:12:35&gt; Error: Exception Occurred (PersistRegistryKeysInfo for watersrf03): The conversion of the varchar value '4294967295' overflowed an int column.<br/>The statement has been terminated.   at Microsoft.AssessmentPlatform.InventoryCommon.InventoryDataAccess.PersistRegistryKeysInfo(RegistryKeyDataCollection registryKeyDataCollection)<br/>  0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.ERROR(String logString)<br/>  0<br/>&lt;DataAccessHelper 16:12:35&gt;  SqlException occurred: Message: The conversion of the varchar value '4294967295' overflowed an int column.<br/>The statement has been terminated. (Number: 248)<br/>&lt;InventoryEngine 16:12:35&gt; Error: The conversion of the varchar value '4294967295' overflowed an int column.<br/>The statement has been terminated.   at Microsoft.AssessmentPlatform.InventoryEngine.RegistryCollector.PersistRegistryNodeInfoCB(Object state)<br/>  0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.ERROR(String logString)<br/><br/></em>I have tried building the install on another Server 2008 x86 VM. But the same thing happens once I start a collection. I feel the issue is related to the WMI capture process bringing back a value which is outside the allowed value range for a SQL table field. Any ideas what is wrong? I can provide the full log on request. It is using SQL 2008 express as per the version downloaded on install. I have tried creating new databases without success. This information is crucial to a customers Hyper-V migration project.<br/><br/>Thanks<br/><br/>NormanWed, 27 May 2009 19:25:04 Z2009-05-27T19:25:04Zhttp://social.technet.microsoft.com/Forums/en-US/map/thread/b47d8484-7194-40bd-850f-09c8a043639d#6119505d-847a-404d-b409-0cb1fc2c72e3http://social.technet.microsoft.com/Forums/en-US/map/thread/b47d8484-7194-40bd-850f-09c8a043639d#6119505d-847a-404d-b409-0cb1fc2c72e3Baldwin Ng - MAP Toolhttp://social.technet.microsoft.com/Profile/en-US/?user=Baldwin%20Ng%20-%20MAP%20ToolProblem collecting Inventory and Metrics - Bug?Norm,<br/><br/>Would you please take a look at the <a href="http://technet.microsoft.com/en-us/library/dd723662.aspx">Known Issues page for MAP</a> and determine if your issue fit into one of those 2 categories?  If so, we are looking into solving this in future releases of MAP.<br/><br/>If it's about something else, please send us the log file to <a href="mailto:MAPSFDBK@microsoft.com">MAPSFDBK@microsoft.com</a> .<br/><br/>Thank you,<br/>MAP Team<br/><br/> <h2>“Capture performance metrics” doesn’t work with computers in workgroup</h2> <p>The “Capture performance metrics” wizard may fail to collect computer performance counters in the following scenarios:</p> <ul> <li>The computer running the MAP tool is not joined to a domain and is collecting performance data from other computers that may or may not be joined to a domain.</li> <li>Regardless of whether the computer running the MAP tool is joined to a domain, performance data is being collected from computers that are not joined to a domain.</li> </ul> <p>This issue is being investigated for a fix in the next version of the MAP tool. A workaround that is sometimes successful is to do a “net use \\computername\IPC$ /u:&lt;adminuser&gt;” from the computer running the MAP tool to each computer you wish to collect data from before running the MAP performance data collector. However, this may not work in all scenarios.</p> <h2>Some inventory types may fail in multi-domain scenarios</h2> <p>In scenarios where the MAP tool is run against computers that are in multiple DNS domains, some types of inventory may fail on computers that are not within the same domain as the computer running the MAP tool. Specifically, the SQL inventory functionality may fail even though base inventory (such as computer name or installed operating system) succeeds. This is due to a bug in MAP causing SQL inventory to be attempted using a computer’s host name without DNS suffix. A computer that has a fully qualified domain name of “hostname.subdomin.domain.com” will have a connection attempted using just “hostname”. If the target computer is not in the same domain as the computer running MAP, then DNS name resolution will likely fail and the SQL inventory will fail.</p> <p>To work around this issue, modify the DNS Suffix search list on the computer running MAP to add the domain names of the computers you wish to inventory. Note that if you have name collisions (two or more computers with the same hostname in different domains), then you will have to run the MAP tool multiple times with different DNS Suffix search lists in place to isolate the computers.</p> <p>This issue will be addressed in the next release of the MAP tool.</p><hr class="sig">BNgThu, 28 May 2009 04:44:16 Z2009-05-28T04:44:16Zhttp://social.technet.microsoft.com/Forums/en-US/map/thread/b47d8484-7194-40bd-850f-09c8a043639d#1a9ff667-a6ba-46ba-96af-4594f4b28f26http://social.technet.microsoft.com/Forums/en-US/map/thread/b47d8484-7194-40bd-850f-09c8a043639d#1a9ff667-a6ba-46ba-96af-4594f4b28f26Jay Saulshttp://social.technet.microsoft.com/Profile/en-US/?user=Jay%20SaulsProblem collecting Inventory and Metrics - Bug?When interrogating the registry on a machine during inventory, a value that MAP is expecting to be a DWORD is actually a much larger value.  This is probably happening during inventory.<br/><br/><em>&lt;InventoryEngine 16:12:35&gt; Error: Exception Occurred (PersistRegistryKeysInfo for watersrf03): The conversion of the varchar value '4294967295' overflowed an int column.</em><br/><br/><br/>Problem is, I don't know from this which registry key is being interrogated.  Is machine watersrf03 running SQL Server 2000?  We can start narrowing down which registry keys might be requested from this machine....<br/><br/>Thanks,<br/>JayThu, 28 May 2009 15:32:47 Z2009-05-28T15:32:47Zhttp://social.technet.microsoft.com/Forums/en-US/map/thread/b47d8484-7194-40bd-850f-09c8a043639d#8b4716b7-8c72-46ff-81cb-c3445befa662http://social.technet.microsoft.com/Forums/en-US/map/thread/b47d8484-7194-40bd-850f-09c8a043639d#8b4716b7-8c72-46ff-81cb-c3445befa662Jay Saulshttp://social.technet.microsoft.com/Profile/en-US/?user=Jay%20SaulsProblem collecting Inventory and Metrics - Bug?Here's a list of keys that it might be:<br/><br/><span style="color:#ff0000;font-size:x-small"><span style="color:#ff0000;font-size:x-small"><font size=2 color="#ff0000"><font size=2 color="#ff0000"> <p> </p> </font></font></span><font size=2 color="#ff0000"> <p> </p> </font></span> <p>HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server: TSAppCompat<br/><br/>HKLM\Microsoft\Update Services\Server\Setup: VersionString<br/><br/>HKLM\SOFTWARE\Microsoft\%INSTANCE_NAME%\MSSQLServer\CurrentVersion: CurrentVersion, Language, checksum, CSDVersion<br/><br/>HKLM\SOFTWARE\Microsoft\%INSTANCE_NAME%\Setup: Edition<br/><br/>HKLM\SOFTWARE\Microsoft\Virtual Machine\Guest\Parameters: PhysicalHostNameFullyQualified, VirtualMachineName<br/><br/><br/>If you forced me to bet, my money would be on HKLM\SOFTWARE\Microsoft\%INSTANCE_NAME%\MSSQLServer\CurrentVersion: Language<br/></p>Thu, 28 May 2009 15:52:13 Z2009-05-28T15:52:13Zhttp://social.technet.microsoft.com/Forums/en-US/map/thread/b47d8484-7194-40bd-850f-09c8a043639d#c1e2c824-1aa2-411a-98bc-65db57f8390dhttp://social.technet.microsoft.com/Forums/en-US/map/thread/b47d8484-7194-40bd-850f-09c8a043639d#c1e2c824-1aa2-411a-98bc-65db57f8390dNEnglishhttp://social.technet.microsoft.com/Profile/en-US/?user=NEnglishProblem collecting Inventory and Metrics - Bug?Thanks for the replys Guys<br/><br/>I was thinking that as INT can only hold a certain value, would it be best to change this to BIGINT in the SQL table, that way it would capture ok? maybe this is not happening?<br/><br/>It is happening on two servers. One is definitely a SQL server. Not sure what version though. The other is a Surfcontrol filtering server which is quite old. So I guess it is running SQL 2000.<br/><br/>I am only collecting metrics, so it should only be running a basis WMI inventory also.<br/><br/>I have removed both servers and the tool is now collecting.<br/><br/>I will find this out when I visit the customer site again on Monday. I will reply back with the registry values of both servers also.<br/><br/>Again, thanks for this<br/><br/>Regards<br/><br/>NormanThu, 28 May 2009 19:18:07 Z2009-05-28T19:18:07Zhttp://social.technet.microsoft.com/Forums/en-US/map/thread/b47d8484-7194-40bd-850f-09c8a043639d#05b3b591-d33a-410f-b1d7-29100ca68d7fhttp://social.technet.microsoft.com/Forums/en-US/map/thread/b47d8484-7194-40bd-850f-09c8a043639d#05b3b591-d33a-410f-b1d7-29100ca68d7fNEnglishhttp://social.technet.microsoft.com/Profile/en-US/?user=NEnglishProblem collecting Inventory and Metrics - Bug?Hi Jay<br/><br/>I can confirm both servers are running SQL 2000 version.<br/>You are spot on, the offending key is:<br/><br/>HKLM\SOFTWARE\Microsoft\%INSTANCE_NAME%\MSSQLServer\CurrentVersion: <span style="font-size:small"><span style="font-family:Calibri">Language - <strong>4294967295 (oxffffffff)<br/></strong><br/>Given this, can you suggest a workaround to let me scan the 2 servers.<br/>I guess changing the SQL field to type BIGINT should work? Which field though?<br/>Or do I need to change the registry value before running on each server?<br/><br/>Thanks again<br/><br/>Regards<br/><br/>Norman</span></span>Fri, 29 May 2009 10:00:30 Z2009-05-29T10:00:30Zhttp://social.technet.microsoft.com/Forums/en-US/map/thread/b47d8484-7194-40bd-850f-09c8a043639d#4756e7fa-e286-4804-a1b9-4e7069f6063ahttp://social.technet.microsoft.com/Forums/en-US/map/thread/b47d8484-7194-40bd-850f-09c8a043639d#4756e7fa-e286-4804-a1b9-4e7069f6063aJay Saulshttp://social.technet.microsoft.com/Profile/en-US/?user=Jay%20SaulsProblem collecting Inventory and Metrics - Bug?Two changes to make:<br/><br/><span style="color:#808080;font-size:x-small"><span style="color:#808080;font-size:x-small"> <p>ALTER TABLE [dbo].[sql_inventory] ALTER COLUMN [language] bigint<br/><br/><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small"><font size=2 color="#0000ff"><font size=2 color="#0000ff"> <p> </p> </font></font></span><font size=2 color="#0000ff"> <p> </p> </font></span></p> <p><span style="font-size:x-small"><span style="color:#000000">then, change the stored procedure [dbo].[sp_insupd_sql2000_reg_info] and make the @language parameter bigint instead of int, and do the same for <span style="font-size:x-small">[dbo].[sp_insupd_sql_instance_data]<br/><br/>That should take care of it.  If you make those changes in both the database you've already created and in your model database, then future databases you create will have the fix.<br/><br/>Sorry for the trouble.  We're not sure why SQL 2000 put a value that large (or a negative value if SQL is internally representing it as signed int) in that reg key, but MAP definitely wasn't expecting it...  Fixed in v. 4 of MAP.<br/><br/>Thanks,<br/>Jay</span></span></span></p> </span></span>Fri, 29 May 2009 16:13:03 Z2009-05-29T16:13:03Zhttp://social.technet.microsoft.com/Forums/en-US/map/thread/b47d8484-7194-40bd-850f-09c8a043639d#ed756823-7af3-4cba-8d30-7caeeaf59caehttp://social.technet.microsoft.com/Forums/en-US/map/thread/b47d8484-7194-40bd-850f-09c8a043639d#ed756823-7af3-4cba-8d30-7caeeaf59caeJay Saulshttp://social.technet.microsoft.com/Profile/en-US/?user=Jay%20SaulsProblem collecting Inventory and Metrics - Bug?Sorry, the table you need to alter is [dbo].[sql_assessments], my mistake!Fri, 29 May 2009 16:14:45 Z2009-05-29T16:14:45Zhttp://social.technet.microsoft.com/Forums/en-US/map/thread/b47d8484-7194-40bd-850f-09c8a043639d#ae5731cc-443d-4d60-bdff-40f505f243afhttp://social.technet.microsoft.com/Forums/en-US/map/thread/b47d8484-7194-40bd-850f-09c8a043639d#ae5731cc-443d-4d60-bdff-40f505f243afNEnglishhttp://social.technet.microsoft.com/Profile/en-US/?user=NEnglishProblem collecting Inventory and Metrics - Bug?Hi Jay<br/><br/>This worked fine, although there are no references to the language parameter in the stored procedures you speak of.<br/>The collections now run fine.<br/><br/>Thanks for your help with this.<br/><br/>Regards<br/><br/>NormanMon, 01 Jun 2009 13:36:38 Z2009-06-01T13:36:38Z