<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sean Crookston &#187; Troubleshooting</title>
	<atom:link href="http://www.seancrookston.com/blog/tag/troubleshooting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.seancrookston.com/blog</link>
	<description></description>
	<lastBuildDate>Sat, 12 Jan 2013 19:46:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>A Quick ThinApp Troubleshooting Tip</title>
		<link>http://www.seancrookston.com/blog/2010/08/17/a-quick-thinapp-troubleshooting-tip/</link>
		<comments>http://www.seancrookston.com/blog/2010/08/17/a-quick-thinapp-troubleshooting-tip/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 17:00:08 +0000</pubDate>
		<dc:creator>Sean Crookston</dc:creator>
				<category><![CDATA[ThinApp]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://www.seancrookston.com/blog/?p=367</guid>
		<description><![CDATA[This is a quick and easy method for troubleshooting ThinApp applications that do not shut down properly. Using all the advanced log tracing at times is more complex for some people who are just casually and occasionally building ThinApp packages. In Windows task manager you can add a column for Command Line, which will show]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.seancrookston.com%2Fblog%2F2010%2F08%2F17%2Fa-quick-thinapp-troubleshooting-tip%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif&amp;style=normal&amp;service=bit.ly&amp;service_api=R_57d6cf2fc8c1624abad08d5dae8d1a39&amp;space=1&amp;hashtags=ThinApp,Troubleshooting,VMware&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This is a quick and easy method for troubleshooting ThinApp applications that do not shut down properly. Using all the advanced log tracing at times is more complex for some people who are just casually and occasionally building ThinApp packages.</p>
<p>In Windows task manager you can add a column for Command Line, which will show the path to the file being run.  By doing this you will often see several different instances of application xyz.exe, all with different paths. When a ThinApp fails to shutdown you will often find that it is a component such as an application update or something like .net that is hung.</p>
<p><a href="http://www.seancrookston.com/blog/wp-content/uploads/2010/08/image12.png"><img style="display: inline; border: 0px;" title="image" src="http://www.seancrookston.com/blog/wp-content/uploads/2010/08/image_thumb1.png" border="0" alt="image" width="644" height="55" /></a></p>
<p>To resolve an issue with an application that has a hung process causing it to fail:</p>
<ul>
<li>Clear the sandbox(by default %appdata%/thinstall/appname)</li>
<li>Create troubleshooting entry points. Make sure the 3 entry points below are not disabled.</li>
<li>
<blockquote><p>[cmd.exe]<br />
Source=%SystemSystem%\cmd.exe<br />
Shortcut=app.exe</p>
<p>[regedit.exe]<br />
Source=%SystemRoot%\regedit.exe<br />
Shortcut=app.exe</p>
<p>[iexplore.exe]<br />
Source=%ProgramFilesDir%\Internet Explorer\iexplore.exe<br />
Shortcut=app.exe</p></blockquote>
</li>
<li>Rebuild the package and relaunch. Attempt to shut down the application again and confirm it is still hung.</li>
<li>Target the hung process as your issue. This is step with general direction as each application will have a different fix. I’ll give two examples though.</li>
<li>
<blockquote><p>1-Application showed .net 2.0 was running for the hung process. I browsed to %systemsystem% in the project directory and deleted the three .dll files related to .net 2.0. I then relaunched the application and ran it on a system that already had .net 2.0 and it worked great. I should note this was a package that I had issues with running on Windows 7 after capturing on XP and <a href="http://blogs.vmware.com/thinapp/2010/08/captured-on-xp---running-on-win-7.html" target="_blank">this article</a> really got me thinking towards this resolution.</p></blockquote>
</li>
<li>
<blockquote><p>2- Application showed that its own update was hung. I had never used this application and could not find a setting to disable automatic updates in the application. This is a best practice step that should be taken for all ThinApps so I accessed the registry through the regedit.exe entry point I had created for troubleshooting. I browsed to the services portion of the registry and set this process to disabled.</p></blockquote>
</li>
</ul>
<p>And again this is just a potentially quick way to resolve some common issues you might see. If you regularly use ThinApp or you are not able to very quickly resolve issues with the above mentioned I’d recommend you <a href="http://blogs.vmware.com/thinapp/2009/05/app-troubleshooting.html" target="_blank">go here</a> for more advanced troubleshooting steps. If you are able to get this to work just use the sbmerge command to merge the sandbox into the package and rebuild the package.</p>
<ul class="related_post"><li><a href="http://www.seancrookston.com/blog/2010/08/20/thinapp-4-6-is-now-available/" title="ThinApp 4.6 is Now Available!">ThinApp 4.6 is Now Available!</a></li><li><a href="http://www.seancrookston.com/blog/2010/08/16/how-to-thinapp-gns3/" title="How To ThinApp GNS3 ">How To ThinApp GNS3 </a></li><li><a href="http://www.seancrookston.com/blog/2010/08/15/a-couple-of-new-things/" title="A couple of new things">A couple of new things</a></li><li><a href="http://www.seancrookston.com/blog/2010/08/10/thinapp-vmware-vcenter-server-myth-or-a-reality/" title="ThinApp VMware vCenter Server Myth or A Reality?">ThinApp VMware vCenter Server Myth or A Reality?</a></li><li><a href="http://www.seancrookston.com/blog/2010/08/04/how-to-thinapp-adobe-acrobat-professional-9/" title="How To ThinApp Adobe Acrobat Professional 9">How To ThinApp Adobe Acrobat Professional 9</a></li><li><a href="http://www.seancrookston.com/blog/2010/07/20/setting-up-your-thinapp-infrastructure/" title="Setting up your ThinApp Infrastructure">Setting up your ThinApp Infrastructure</a></li><li><a href="http://www.seancrookston.com/blog/2010/07/09/a-couple-of-very-easy-thinapps/" title="A couple of very easy, but very neccessary ThinApp&#8217;s">A couple of very easy, but very neccessary ThinApp&#8217;s</a></li><li><a href="http://www.seancrookston.com/blog/2012/08/13/managing-and-optimizing-vmware-vsphere-deployments-released/" title="Managing and Optimizing VMware vSphere Deployments Book Contest">Managing and Optimizing VMware vSphere Deployments Book Contest</a></li><li><a href="http://www.seancrookston.com/blog/2012/08/03/managing-and-optimizing-vmware-vsphere-deployments-released-2/" title="Managing and Optimizing VMware vSphere Deployments Released">Managing and Optimizing VMware vSphere Deployments Released</a></li><li><a href="http://www.seancrookston.com/blog/2012/06/01/vmworld-sessionsmb-design/" title="VMworld Session&ndash;SMB Design">VMworld Session&ndash;SMB Design</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.seancrookston.com/blog/2010/08/17/a-quick-thinapp-troubleshooting-tip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
