<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>The Mobile Device Manager Support Team Blog : Applications</title><link>http://blogs.technet.com/mdm/archive/tags/Applications/default.aspx</link><description>Tags: Applications</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Software Distribution 8041 warning</title><link>http://blogs.technet.com/mdm/archive/2009/11/02/software-distribution-8041-warning.aspx</link><pubDate>Mon, 02 Nov 2009 10:39:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3290784</guid><dc:creator>Rob Davies</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/mdm/comments/3290784.aspx</comments><wfw:commentRss>http://blogs.technet.com/mdm/commentrss.aspx?PostID=3290784</wfw:commentRss><description>&lt;P&gt;&lt;A href="http://blogs.technet.com/blogfiles/mdm/WindowsLiveWriter/SCMDMSignedapplicationsinstallbutfailtor_9A92/fix_2.gif" mce_href="http://blogs.technet.com/blogfiles/mdm/WindowsLiveWriter/SCMDMSignedapplicationsinstallbutfailtor_9A92/fix_2.gif"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; MARGIN-LEFT: 0px; BORDER-TOP: 0px; MARGIN-RIGHT: 0px; BORDER-RIGHT: 0px" title=fix border=0 alt=fix align=left src="http://blogs.technet.com/blogfiles/mdm/WindowsLiveWriter/SCMDMSignedapplicationsinstallbutfailtor_9A92/fix_thumb.gif" width=79 height=75 mce_src="http://blogs.technet.com/blogfiles/mdm/WindowsLiveWriter/SCMDMSignedapplicationsinstallbutfailtor_9A92/fix_thumb.gif"&gt;&lt;/A&gt;Here’s a problem which we’ve seen a couple of times which can be caused by bad packages in software distribution.&amp;nbsp; This problem can arise when Software Distribution is being used, and you notice that devices don’t seem to be getting packages, nor getting updated in the Software Distribution console.&amp;nbsp; As well as this, the following message is logged in the MDM event log on the Device Management Server:&lt;/P&gt;Event Type:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Warning&lt;BR&gt;Event Source:&amp;nbsp;&amp;nbsp;&amp;nbsp; Device Manager&lt;BR&gt;Event ID:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8041&lt;BR&gt;Description:&lt;BR&gt;Software Distribution service received insufficient query results from device {DeviceSID}.&lt;BR&gt;Missing LocUri ./Vendor/MSFT/SwMgmt/Download?list=StructData. 
&lt;P&gt;You will also notice that in the Device History tab in the ‘./Vendor/MSFT/SwMgmt/Download?list=StructData’ URI will have returned a status of ‘Failed’.&lt;/P&gt;
&lt;P&gt;Firstly, let’s look at what this means.&amp;nbsp; ‘./Vendor/MSFT/SwMgmt/Download?list=StructData’ is part of the Download Configuration Service Provider, which you can find documented at &lt;A href="http://msdn.microsoft.com/en-us/library/cc563003.aspx"&gt;http://msdn.microsoft.com/en-us/library/cc563003.aspx&lt;/A&gt;.&amp;nbsp; This is described as “Parent characteristic for the components that are ready to download or are in the process of downloading”.&amp;nbsp; So this stores information about packages which are in the process of being distributed, before they have finished installing.&lt;/P&gt;
&lt;P&gt;The Device management server is requesting this information, so it can know which packages are in the process of being downloaded.&amp;nbsp; In this situation, the data returned is showing an error – so we know the problem occurs on the mobile device itself when we ask for this info.&lt;/P&gt;
&lt;P&gt;This situation can typically occur in situations such as:&lt;BR&gt;-&amp;nbsp;A package is distributed which requires user interaction, for example to click a button or agree to some terms.&amp;nbsp; If the user cancels this or ignores it, the install may fail.&lt;BR&gt;-&amp;nbsp;A package is distributed which restarts the mobile device forcefully, before the install process has completely finished.&lt;/P&gt;
&lt;P&gt;When a scenario like these happens, the package distribution process doesn’t finish installing the software and cleaning up the download list.&amp;nbsp; Therefore, the device gets left in a state where the software installer has finished, but the data at ‘./Vendor/MSFT/SwMgmt/Download?list=StructData’ hasn’t been cleared up.&amp;nbsp; We then get left with some orphaned information left in the download list, which causes the error which you see on the Device Management Server.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;How to fix it&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;To stop the error &amp;amp; to get software distributing again, you need to do two things.&amp;nbsp; Firstly, you need to clear up that orphaned data, then check your software packages to see which is the culprit.&lt;BR&gt;To clear up the download list, we can use some provisioning XML:&lt;BR&gt;-&amp;nbsp;Download the _Setup.xml file which is attached to this entry&lt;BR&gt;-&amp;nbsp;Use ‘makecab.exe’ to convert this into a .cab file.&amp;nbsp; The easiest way to do this is to load up the Visual Studio 2008 Command Prompt and run:&lt;BR&gt;o&amp;nbsp;Makecab _setup.xml SWDist.cab&lt;BR&gt;-&amp;nbsp;Now you need to install this cab on the devices.&amp;nbsp; The easiest way to do this is to import the cab into the SCMDM Software Distribution console.&lt;BR&gt;-&amp;nbsp;Once it’s imported, click on the ‘File Information’ button &amp;amp; copy out the ‘File URI’.&lt;BR&gt;-&amp;nbsp;Email this link out to the mobile devices, click it &amp;amp; run the file!&lt;/P&gt;
&lt;P&gt;After this has been applied to the devices, you should see software distribution working again &amp;amp; ‘./Vendor/MSFT/SwMgmt/Download?list=StructData’ will start reporting success in the MDM console.&amp;nbsp; Remember to go and test out your packages afterwards! &lt;/P&gt;
&lt;P&gt;&lt;U&gt;Please&amp;nbsp;note&lt;/U&gt;:&amp;nbsp; As this change removes information about packages which are downloading, this process shouldn’t be done at the same time a new software deployment is being pushed out.&lt;BR&gt;&lt;STRONG&gt;Rob Davies | Senior Support Engineer&lt;/STRONG&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3290784" width="1" height="1"&gt;</description><enclosure url="http://blogs.technet.com/mdm/attachment/3290784.ashx" length="164" type="text/xml" /><category domain="http://blogs.technet.com/mdm/archive/tags/Troubleshoot/default.aspx">Troubleshoot</category><category domain="http://blogs.technet.com/mdm/archive/tags/Error/default.aspx">Error</category><category domain="http://blogs.technet.com/mdm/archive/tags/Applications/default.aspx">Applications</category></item><item><title>SCMDM Solution: Signed applications install but fail to run with a signature failure related error</title><link>http://blogs.technet.com/mdm/archive/2009/05/21/scmdm-solution-signed-applications-install-but-fail-to-run-with-a-signature-failure-related-error.aspx</link><pubDate>Thu, 21 May 2009 19:12:59 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3244176</guid><dc:creator>jchornbe</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/mdm/comments/3244176.aspx</comments><wfw:commentRss>http://blogs.technet.com/mdm/commentrss.aspx?PostID=3244176</wfw:commentRss><description>&lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/mdm/WindowsLiveWriter/SCMDMSignedapplicationsinstallbutfailtor_9A92/fix_2.gif"&gt;&lt;img title="fix" style="border-right: 0px; border-top: 0px; display: inline; margin-left: 0px; border-left: 0px; margin-right: 0px; border-bottom: 0px" height="75" alt="fix" src="http://blogs.technet.com/blogfiles/mdm/WindowsLiveWriter/SCMDMSignedapplicationsinstallbutfailtor_9A92/fix_thumb.gif" width="79" align="left" border="0" /&gt;&lt;/a&gt;Here’s an interesting issue that a one of our top Support Escalation engineers by the name of James Geater ran into a while back.&amp;#160; It can be a tricky one to troubleshoot as the cause of the issue isn’t obvious so I thought it would be worth a quick post here:&lt;/p&gt;  &lt;p&gt;========&lt;/p&gt;  &lt;p&gt;When using System Center Mobile Device Manager to distribute software, the installation may complete normally but the application fails to run with a signature failure of some kind. I say “some kind” because the exact error may vary depending on the application.&lt;/p&gt;  &lt;p&gt;This can happen if the files used by the application are altered during the installation. For example, if the date/time stamp is changed at the time of install, possible from the file getting renamed, you can see this exact issue.&amp;#160; This is because altering the file invalidates the digital signature.&lt;/p&gt;  &lt;p&gt;To verify this look at the files in the source and compare them to the ones on the device.&amp;#160; Look closely at the size and the Date/Time stamp.&amp;#160; If there’s a discrepancy, copying the original files from the source onto the device may server as a workaround to the issue.&lt;/p&gt;  &lt;p&gt;========&lt;/p&gt;  &lt;p&gt;Thanks James!&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;strong&gt;J.C. Hornbeck | Manageability Knowledge Engineer&lt;/strong&gt;&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3244176" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/mdm/archive/tags/Troubleshoot/default.aspx">Troubleshoot</category><category domain="http://blogs.technet.com/mdm/archive/tags/Error/default.aspx">Error</category><category domain="http://blogs.technet.com/mdm/archive/tags/Signature/default.aspx">Signature</category><category domain="http://blogs.technet.com/mdm/archive/tags/Applications/default.aspx">Applications</category></item></channel></rss>