I have installed the ACT 5.0, app verifier, and setup databases and the log
processing service shared directory.
I ran the Standalone SAT and it generated a report XML file.
I then manually placed this file into the log processing service shared
directory (copy / paste)
I noticed that when I "pasted" the xml log file into the log processing
service shared directory, a folder called "failed" was automatically created
and the .xml file was dropped into the new "failed" directory.
The help file supplied with the ACT mentioned that the App compatibility
manager will show the compatibility report when the log file is placed into
the shared directory. In my case the application compatibility manager does
not show any report information.
My questions are...
1) How do you use the .xml log file generated by the SAT?
2) Can the application compatibility manager read/understand the .xml
reports generated by the SAT?
3) What is the "failed" Directory
4) Is there a simpler way to analyze the installation of a single
application without all the setup complexity.
Thanks in advance.
> 1) How do you use the .xml log file generated by the SAT?
You are using the .xml logs correctly from what you've described.
> 2) Can the application compatibility manager read/understand the .xml
> reports generated by the SAT?
Yes
> 3) What is the "failed" Directory
If the log processing service is unable to process one of the XML logs and
write it to the database, it drops it into the failed folder so that it is
available to be reprocessed once the issue that caused it to fail has been
resolved.
> 4) Is there a simpler way to analyze the installation of a single
> application without all the setup complexity.
Unfortunately, we don't have a simpler utility right now. We are however,
looking to revamp the existing version of the Setup Analysis Tool in a
future version of ACT.
As for your failing logs, this could be happening for any number of reasons.
If you can cut/paste those failed logs out of the failed folder and drop it
into the parent folder, the log processing service will re-attempt to
process the logs. When it falls into the failed folder, it generally writes
an error log of why it failed into the Event Viewer. Can you look at your
Eent Vewer after trying to reprocess and post back with what you see? That
will help us debug what is going on.
Thanks!
Ajith Alexander [MSFT]
"AltairVI" <Alta...@discussions.microsoft.com> wrote in message
news:192C3FA2-D801-4E2C...@microsoft.com...
I put the log back into the parent directory (copy / paste from the "failed"
directory).
And this time it worked!
I took a look in the Event Viewer(Local)->Windows Logs -> Application and
found some entries related to ACT when my first attempt failed (I tried ACT
on 11/23). The errors may or may not have been due to setup issues. The
log shows .NET stack traces ... file access errors.
Here is the XML for the event viewer entries that I have found.
Log Name: Application
Source: MSSQL$SQLEXPRESS
Date: 11/23/2008 7:13:15 AM
Event ID: 2803
Task Category: (2)
Level: Information
Keywords: Classic
User: N/A
Computer: STARGATE
Description:
SQL Server has encountered 1 occurrence(s) of cachestore flush for the
'Object Plans' cachestore (part of plan cache) due to some database
maintenance or reconfigure operations.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="MSSQL$SQLEXPRESS" />
<EventID Qualifiers="16384">2803</EventID>
<Level>4</Level>
<Task>2</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2008-11-23T12:13:15.000Z" />
<EventRecordID>9355</EventRecordID>
<Channel>Application</Channel>
<Computer>STARGATE</Computer>
<Security />
</System>
<EventData>
<Data>1</Data>
<Data>Object Plans</Data>
<Binary>F30A00000A00000014000000530054004100520047004100540045005C00530051004C0045005800500052004500530053000000070000006D00610073007400650072000000</Binary>
</EventData>
</Event>
Log Name: Application
Source: ACT-LPS
Date: 11/23/2008 7:03:31 AM
Event ID: 1017
Task Category: None
Level: Warning
Keywords: Classic
User: N/A
Computer: STARGATE
Description:
[queuer.exe] [Queuer] Cannot insert log file
\\STARGATE\ACTLogs\SAT-VMWAREMO-XPSP3-{65170A5A-78D9-4378-AEFC-173EB595D0D7}.xml to the database! Details:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="ACT-LPS" />
<EventID Qualifiers="32768">1017</EventID>
<Level>3</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2008-11-23T12:03:31.000Z" />
<EventRecordID>9354</EventRecordID>
<Channel>Application</Channel>
<Computer>STARGATE</Computer>
<Security />
</System>
<EventData>
<Data>[queuer.exe] [Queuer] Cannot insert log file
\\STARGATE\ACTLogs\SAT-VMWAREMO-XPSP3-{65170A5A-78D9-4378-AEFC-173EB595D0D7}.xml to the database! Details:
</Data>
<Binary>41002D005100550045005500450052002D007B00460033003500430037003500410035002D0043003200430036002D0034006100660036002D0038003800350044002D003800410044003000370042004500430032004400430031007D00</Binary>
</EventData>
</Event>
Log Name: Application
Source: ACTUpload
Date: 11/23/2008 7:03:31 AM
Event ID: 0
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: STARGATE
Description:
ACTUPLOAD: FAILED LOG:
\\STARGATE\ACTLogs\SAT-VMWAREMO-XPSP3-{65170A5A-78D9-4378-AEFC-173EB595D0D7}.xml
PREVIOUS LOG:
\\STARGATE\ACTLogs\SAT-VMWAREMO-XPSP3-{65170A5A-78D9-4378-AEFC-173EB595D0D7}.xml
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="ACTUpload" />
<EventID Qualifiers="0">0</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2008-11-23T12:03:31.000Z" />
<EventRecordID>9353</EventRecordID>
<Channel>Application</Channel>
<Computer>STARGATE</Computer>
<Security />
</System>
<EventData>
<Data>ACTUPLOAD: FAILED LOG:
\\STARGATE\ACTLogs\SAT-VMWAREMO-XPSP3-{65170A5A-78D9-4378-AEFC-173EB595D0D7}.xml
PREVIOUS LOG:
\\STARGATE\ACTLogs\SAT-VMWAREMO-XPSP3-{65170A5A-78D9-4378-AEFC-173EB595D0D7}.xml</Data>
</EventData>
</Event>
Log Name: Application
Source: ACTUpload
Date: 11/23/2008 7:03:31 AM
Event ID: 0
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: STARGATE
Description:
ACTUPLOAD: System.IO.IOException: The process cannot access the file
'\\stargate\ACTLogs\SAT-VMWAREMO-XPSP3-{65170A5A-78D9-4378-AEFC-173EB595D0D7}.xml' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess
access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize,
FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean
bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess
access, FileShare share, Int32 bufferSize)
at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials
credentials)
at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type
ofObjectToReturn)
at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)
at System.Threading.CompressedStack.runTryCode(Object userData)
at
System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.CompressedStack.Run(CompressedStack compressedStack,
ContextCallback callback, Object state)
at System.Xml.XmlTextReaderImpl.OpenUrl()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at System.Xml.XmlValidatingReaderImpl.Read()
at System.Xml.XmlValidatingReader.Read()
at
Microsoft.ApplicationExperience.Common.DataManipulation.XmlDataProcessor.ParseXmlDocument(String xmlFile, Boolean checkVersionFlag)
at
Microsoft.ApplicationExperience.Common.DataManipulation.XmlDataService.InsertXmlDocument(String xmlFile, Boolean checkVersion)
at
Microsoft.ApplicationExperience.Common.DataManipulation.XmlDataService.InsertXmlDocument(String xmlFile)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="ACTUpload" />
<EventID Qualifiers="0">0</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2008-11-23T12:03:31.000Z" />
<EventRecordID>9352</EventRecordID>
<Channel>Application</Channel>
<Computer>STARGATE</Computer>
<Security />
</System>
<EventData>
<Data>ACTUPLOAD: System.IO.IOException: The process cannot access the
file
'\\stargate\ACTLogs\SAT-VMWAREMO-XPSP3-{65170A5A-78D9-4378-AEFC-173EB595D0D7}.xml' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess
access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize,
FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean
bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess
access, FileShare share, Int32 bufferSize)
at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials
credentials)
at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type
ofObjectToReturn)
at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)
at System.Threading.CompressedStack.runTryCode(Object userData)
at
System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.CompressedStack.Run(CompressedStack compressedStack,
ContextCallback callback, Object state)
at System.Xml.XmlTextReaderImpl.OpenUrl()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at System.Xml.XmlValidatingReaderImpl.Read()
at System.Xml.XmlValidatingReader.Read()
at
Microsoft.ApplicationExperience.Common.DataManipulation.XmlDataProcessor.ParseXmlDocument(String xmlFile, Boolean checkVersionFlag)
at
Microsoft.ApplicationExperience.Common.DataManipulation.XmlDataService.InsertXmlDocument(String xmlFile, Boolean checkVersion)
at
Microsoft.ApplicationExperience.Common.DataManipulation.XmlDataService.InsertXmlDocument(String xmlFile)</Data>
</EventData>
</Event>
Log Name: Application
Source: ACT-LPS
Date: 11/23/2008 7:03:05 AM
Event ID: 1017
Task Category: None
Level: Warning
Keywords: Classic
User: N/A
Computer: STARGATE
Description:
[queuer.exe] [Queuer] Cannot insert log file
\\STARGATE\ACTLogs\SAT-VMWAREMO-XPSP3-{65170A5A-78D9-4378-AEFC-173EB595D0D7}.xml to the database! Details:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="ACT-LPS" />
<EventID Qualifiers="32768">1017</EventID>
<Level>3</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2008-11-23T12:03:05.000Z" />
<EventRecordID>9351</EventRecordID>
<Channel>Application</Channel>
<Computer>STARGATE</Computer>
<Security />
</System>
<EventData>
<Data>[queuer.exe] [Queuer] Cannot insert log file
\\STARGATE\ACTLogs\SAT-VMWAREMO-XPSP3-{65170A5A-78D9-4378-AEFC-173EB595D0D7}.xml to the database! Details:
</Data>
<Binary>41002D005100550045005500450052002D007B00460033003500430037003500410035002D0043003200430036002D0034006100660036002D0038003800350044002D003800410044003000370042004500430032004400430031007D00</Binary>
</EventData>
</Event>
Log Name: Application
Source: ACTUpload
Date: 11/23/2008 7:03:05 AM
Event ID: 0
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: STARGATE
Description:
ACTUPLOAD: FAILED LOG:
\\STARGATE\ACTLogs\SAT-VMWAREMO-XPSP3-{65170A5A-78D9-4378-AEFC-173EB595D0D7}.xml
PREVIOUS LOG:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="ACTUpload" />
<EventID Qualifiers="0">0</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2008-11-23T12:03:05.000Z" />
<EventRecordID>9350</EventRecordID>
<Channel>Application</Channel>
<Computer>STARGATE</Computer>
<Security />
</System>
<EventData>
<Data>ACTUPLOAD: FAILED LOG:
\\STARGATE\ACTLogs\SAT-VMWAREMO-XPSP3-{65170A5A-78D9-4378-AEFC-173EB595D0D7}.xml
PREVIOUS LOG: </Data>
</EventData>
</Event>
Log Name: Application
Source: ACTUpload
Date: 11/23/2008 7:03:05 AM
Event ID: 0
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: STARGATE
Description:
ACTUPLOAD: System.IO.IOException: The process cannot access the file
'\\stargate\ACTLogs\SAT-VMWAREMO-XPSP3-{65170A5A-78D9-4378-AEFC-173EB595D0D7}.xml' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess
access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize,
FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean
bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess
access, FileShare share, Int32 bufferSize)
at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials
credentials)
at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type
ofObjectToReturn)
at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)
at System.Threading.CompressedStack.runTryCode(Object userData)
at
System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.CompressedStack.Run(CompressedStack compressedStack,
ContextCallback callback, Object state)
at System.Xml.XmlTextReaderImpl.OpenUrl()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at System.Xml.XmlValidatingReaderImpl.Read()
at System.Xml.XmlValidatingReader.Read()
at
Microsoft.ApplicationExperience.Common.DataManipulation.XmlDataProcessor.ParseXmlDocument(String xmlFile, Boolean checkVersionFlag)
at
Microsoft.ApplicationExperience.Common.DataManipulation.XmlDataService.InsertXmlDocument(String xmlFile, Boolean checkVersion)
at
Microsoft.ApplicationExperience.Common.DataManipulation.XmlDataService.InsertXmlDocument(String xmlFile)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="ACTUpload" />
<EventID Qualifiers="0">0</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2008-11-23T12:03:05.000Z" />
<EventRecordID>9349</EventRecordID>
<Channel>Application</Channel>
<Computer>STARGATE</Computer>
<Security />
</System>
<EventData>
<Data>ACTUPLOAD: System.IO.IOException: The process cannot access the
file
'\\stargate\ACTLogs\SAT-VMWAREMO-XPSP3-{65170A5A-78D9-4378-AEFC-173EB595D0D7}.xml' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess
access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize,
FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean
bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess
access, FileShare share, Int32 bufferSize)
at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials
credentials)
at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type
ofObjectToReturn)
at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)
at System.Threading.CompressedStack.runTryCode(Object userData)
at
System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.CompressedStack.Run(CompressedStack compressedStack,
ContextCallback callback, Object state)
at System.Xml.XmlTextReaderImpl.OpenUrl()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at System.Xml.XmlValidatingReaderImpl.Read()
at System.Xml.XmlValidatingReader.Read()
at
Microsoft.ApplicationExperience.Common.DataManipulation.XmlDataProcessor.ParseXmlDocument(String xmlFile, Boolean checkVersionFlag)
at
Microsoft.ApplicationExperience.Common.DataManipulation.XmlDataService.InsertXmlDocument(String xmlFile, Boolean checkVersion)
at
Microsoft.ApplicationExperience.Common.DataManipulation.XmlDataService.InsertXmlDocument(String xmlFile)</Data>
</EventData>
</Event>
Here are the errors if you are interested.
It's been my experience with SAT that you just have to "try it again". So
often, regardless of having the tool connect to the log processing share or
not, I've had to re-run the SAT process. I've also noticed that in doing so
may sometimes yeild a slight difference in file size, so be careful of
additional process tasks running at the time of installation.
Are there any reccomended steps to take when troubleshooting a failed SAT
log file import? ..other than restart the service or just try again?
Regards,
James D