Digging deeper I also found this in the build logs

Unhandled Exception: System.AccessViolationException: Attempted to read or 
write protected memory. This is often an indication that other memory is 
corrupt.
 at 
Microsoft.Tools.WindowsInstallerXml.Msi.Interop.MsiInterop.MsiCloseHandle(UInt32
 database)
 at Microsoft.Tools.WindowsInstallerXml.Msi.MsiHandle.Dispose(Boolean disposing)
 at Microsoft.Tools.WindowsInstallerXml.Msi.MsiHandle.Finalize()

I don't mind debugging this, I am just not exactly sure how to.  Is there a way 
to get the PDBs associated with a build, or to force a crash dump when this 
happens?

-----Original Message-----
From: John Bergman [mailto:john.berg...@xpedienttechnologies.com] 
Sent: Thursday, September 29, 2011 7:59 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] TFS Build Unhandled Exception in, apparently WiX

I have started getting this message periodically, and have not been able to 
determine why.

I have verified that the user account as full rights to the temp directory (I 
would expect nothing else);  anyone have any ideas how to troubleshoot this?  
The real problem is that it doesn't happen consistently.

We are using Wix 3.6.1518,0, and have been since the week it was released.  
This problem has just started within the last couple days.  I searched around 
and have not been able to find anything like this in the bug database. (at 
least nothing even close since 2008)

Unhandled Exception: System.Reflection.TargetInvocationException: Exception has 
been thrown by the target of an invocation. ---> 
System.UnauthorizedAccessException: Access to the path 
'C:\Users\XP.TFSService\AppData\Local\Temp\icsvhjq4\MergeId.14586\f.app.xpj.pi.Presenter.pdb.46DA23EE_AF17_4057_8584_0C128E151A8A'
 is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at 
System.IO.File.SetAttributes(String path, FileAttributes fileAttributes) at 
Microsoft.Tools.WindowsInstallerXml.Common.RecursiveFileAttributes(String path, 
FileAttributes fileAttribute, Boolean markAttribute) at 
Microsoft.Tools.WindowsInstallerXml.Common.RecursiveFileAttributes(String path, 
FileAttributes fileAttribute, Boolean markAttribute) at 
Microsoft.Tools.WindowsInstallerXml.Common.DeleteTempFiles(String path, 
IMessageHandler messageHandler) at 
Microsoft.Tools.WindowsInstallerXml.WixBinder.DeleteTempFiles()
at Microsoft.Tools.WindowsInstallerXml.Binder.DeleteTempFiles()
at Microsoft.Tools.WindowsInstallerXml.Binder.Cleanup(Boolean tidy) at 
Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[] args) at 
Microsoft.Tools.WindowsInstallerXml.Tools.Light.Main(String[] args)

---

In the eventlog, I end up with this:

Unhandled Exception: System.Reflection.TargetInvocationException: Exception has 
been thrown by the target of an invocation. ---> 
System.UnauthorizedAccessException: Access to the path 
'C:\Users\XP.TFSService\AppData\Local\Temp\icsvhjq4\MergeId.14586\f.app.xpj.pi.Presenter.pdb.46DA23EE_AF17_4057_8584_0C128E151A8A'
 is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at 
System.IO.File.SetAttributes(String path, FileAttributes fileAttributes) at 
Microsoft.Tools.WindowsInstallerXml.Common.RecursiveFileAttributes(String path, 
FileAttributes fileAttribute, Boolean markAttribute) at 
Microsoft.Tools.WindowsInstallerXml.Common.RecursiveFileAttributes(String path, 
FileAttributes fileAttribute, Boolean markAttribute) at 
Microsoft.Tools.WindowsInstallerXml.Common.DeleteTempFiles(String path, 
IMessageHandler messageHandler) at 
Microsoft.Tools.WindowsInstallerXml.WixBinder.DeleteTempFiles()
at Microsoft.Tools.WindowsInstallerXml.Binder.DeleteTempFiles()
at Microsoft.Tools.WindowsInstallerXml.Binder.Cleanup(Boolean tidy) at 
Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[] args) at 
Microsoft.Tools.WindowsInstallerXml.Tools.Light.Main(String[] args)
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes sense 
of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to