發問發問
 

問題MAP Inventory Wizard crashes.

  • Wednesday, 28 October, 2009 14:29Tom1212 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Installed with all the pre-reqs.  The relevant part of the log file looks like this:


    <Default 10:15:22>  StartInventory() - Starting the inventory engine as the master node.
    <Default 10:15:22> Warning: BuildDeviceInventoryProgram() - Ignoring Perfmon class 'LogicalDisk'.   at Microsoft.AssessmentPlatform.Logging.FlatFileSinkILogger.Warning(String format, Object[] args)
      0
    <Default 10:15:22> Warning: BuildDeviceInventoryProgram() - Ignoring Perfmon class 'Memory'.   at Microsoft.AssessmentPlatform.Logging.FlatFileSinkILogger.Warning(String format, Object[] args)
      0
    <Default 10:15:22> Warning: BuildDeviceInventoryProgram() - Ignoring Perfmon class 'Network Interface'.   at Microsoft.AssessmentPlatform.Logging.FlatFileSinkILogger.Warning(String format, Object[] args)
      0
    <Default 10:15:22> Warning: BuildDeviceInventoryProgram() - Ignoring Perfmon class 'PhysicalDisk'.   at Microsoft.AssessmentPlatform.Logging.FlatFileSinkILogger.Warning(String format, Object[] args)
      0
    <Default 10:15:22> Warning: BuildDeviceInventoryProgram() - Ignoring Perfmon class 'Processor'.   at Microsoft.AssessmentPlatform.Logging.FlatFileSinkILogger.Warning(String format, Object[] args)
      0
    <Default 10:15:22>  PotentiallyFilterOutVMwareClasses() - Filtering out VMware classes because there were no VMware connection settings specified.
    <Default 10:15:23>  FillWorkItemQueueThreadProc() - The thread that fills the work item queue is starting.
    <Default 10:15:23>  CompletedWorkItemConsumerThreadProc() - The completed work item consumer thread is starting.
    <Default 10:15:23>  Start() - The WatchdogThreadPool is starting.
    <Default 10:15:28>  FinalizeInventoryRun() - Removed 0 inactive IP addresses and found 0 duplicate device entries.
    <Default 10:15:28>  FillWorkItemQueueThreadProc() - The thread that fills the work item queue is exiting.
    <Default 10:15:28>  CompletedWorkItemConsumerThreadProc() - The completed work item consumer thread is exiting.
    <Default 10:15:28>  StopThreadPool() - The WatchdogThreadPool is stopping.
    <Default 10:15:28>  StopThreadPool() - The WatchdogThreadPool is stopped.
    <Default 10:15:28> Error: StartInventory() - Caught exception trying to start the inventory engine:
    System.InvalidOperationException: Category does not exist.
       at System.Diagnostics.PerformanceCounterLib.CounterExists(String machine, String category, String counter)
       at System.Diagnostics.PerformanceCounter.Initialize()
       at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName, Boolean readOnly)
       at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName)
       at Microsoft.AssessmentPlatform.CommonObjectLibrary.ThreadClasses.WatchdogThreadPool.StartThreadPool()
       at Microsoft.AssessmentPlatform.InventoryEngine.InventoryService.StartThreadPool()
       at Microsoft.AssessmentPlatform.InventoryEngine.InventoryService.StartInventory().   at Microsoft.AssessmentPlatform.Logging.FlatFileSinkILogger.Error(String format, Object[] args)
      0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.LogEntry(LogEntryDetails logEntryDetails)
      0
    <UIConsole 10:15:28> Error: An exception occurred in method: TaskProcessor.RunWorker: Unhandled exception in worker: 'Inventory'.
    Exception message: InventoryService.StartInventory() failed.
    Stack trace:
       at Microsoft.AssessmentPlatform.InventoryEngine.InventoryService.StartInventory()
       at Microsoft.AssessmentPlatform.UI.Console.Tasks.InventoryWorker.Run()
       at Microsoft.AssessmentPlatform.UI.Console.Tasks.TaskProcessor.RunWorker(WorkItemWorker worker)   at Microsoft.AssessmentPlatform.UI.Console.UICommonSingleton.LogGenericException(String methodName, Exception ex, Boolean displayToUser)
      0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.LogEntry(LogEntryDetails logEntryDetails)
      0
    <UIConsole 10:15:28>  TaskProcessor.Run: Joining with thread: ID: '10' Name: 'Inventory'
    <UIConsole 10:15:28>  ProgressPage.TaskProgressChangedCallback
    <UIConsole 10:15:28>  TaskProcessor.Run: Completed. Status: Failed
    <UIConsole 10:15:38>  ProgressPage.FormClosingHandler: Closing reason: UserClosing
    <UIConsole 10:22:18>  ConsoleMain.Main: Application exiting.
    ==================================================

    Thanks.

所有回覆

  • Wednesday, 28 October, 2009 17:17Eric Haberman 1MSFT, 版主使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Hi Tom1212,
    It appears you may have somehow corrupted your performance counters on that machine.

    Please refer to the KB article: http://support.microsoft.com/kb/300956

    With the relevant excerpt being:
    To rebuild all Performance counters including extensible and third-party counters in Windows Server 2003, type the following commands at a command prompt.
    Press ENTER after each command. cd\windows\system32 lodctr /R
    Note /R is uppercase.
    You must have administrative rights on the computer to successfully perform this command.

    Please let me know how/if this works for you. Also, please let us know what OS and service pack the machine you encountered this is?

    Thanks, Eric