<?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 : Error</title><link>http://blogs.technet.com/mdm/archive/tags/Error/default.aspx</link><description>Tags: Error</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><item><title>Collecting large amount of device inventory information during OMA session causes MDM server to timeout</title><link>http://blogs.technet.com/mdm/archive/2009/01/08/collecting-large-amount-of-device-inventory-information-during-oma-session-causes-mdm-server-to-timeout.aspx</link><pubDate>Thu, 08 Jan 2009 16:38:50 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3178140</guid><dc:creator>jchornbe</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/mdm/comments/3178140.aspx</comments><wfw:commentRss>http://blogs.technet.com/mdm/commentrss.aspx?PostID=3178140</wfw:commentRss><description>&lt;p&gt;Here's an issue we run into every now and then so I thought it might be worth a mention here.&amp;#160; If you're noticing GP and software distribution delivery failures then this may be your issue:&lt;/p&gt;  &lt;p&gt;========&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;Issue:&lt;/u&gt;&lt;/strong&gt; Collecting large amount of device inventory information during an Open Mobile Alliance (OMA) session may cause the System Center Mobile Device Manager server to timeout. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;Cause:&lt;/u&gt;&lt;/strong&gt; During the first OMA session on some devices, if the device is instructed by the server to collect a large amount of inventory information it might result in the session taking up to 20 minutes to complete or it may timeout completely depending on the timeout settings on the server. This delay results from the time taken by the device to retrieve and process inventory information that the server requested.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;Resolution: &lt;/u&gt;&lt;/strong&gt;To resolve this problem, restore the default inventory collection set using the &lt;strong&gt;&lt;em&gt;Restore-MDMInventoryDefaults&lt;/em&gt;&lt;/strong&gt; cmdlet or remove items from the inventory collection using &lt;strong&gt;&lt;em&gt;Set-MDMInventoryItem&lt;/em&gt;&lt;/strong&gt; cmdlet. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;Additional Information:&lt;/u&gt;&lt;/strong&gt; In this scenario the device user will notice Group Policy and software distribution delivery failure.&amp;#160; The server administrator may also notice two messages in system logs:&lt;/p&gt;  &lt;p&gt;&lt;em&gt;The management session with device xxx (device SID is displayed here not device ID) was not completed. The connection may have been lost, or the session timed out due to inactivity.&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;and&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Erroneous OMA DM message received from device xxx&amp;#160; (device SID is displayed here not device ID) during management session.&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;========&lt;/p&gt;  &lt;p&gt;&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=3178140" 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/SP1/default.aspx">SP1</category><category domain="http://blogs.technet.com/mdm/archive/tags/CM/default.aspx">CM</category></item><item><title>SCMDM: Enrollment fails with "Unknown error in Enrollment service: System.ArgumentNullException: Value cannot be null"</title><link>http://blogs.technet.com/mdm/archive/2009/01/05/scmdm-enrollment-fails-with-unknown-error-in-enrollment-service-system-argumentnullexception-value-cannot-be-null.aspx</link><pubDate>Mon, 05 Jan 2009 17:29:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3176553</guid><dc:creator>jchornbe</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/mdm/comments/3176553.aspx</comments><wfw:commentRss>http://blogs.technet.com/mdm/commentrss.aspx?PostID=3176553</wfw:commentRss><description>&lt;P&gt;Here's another MDM enrollment failure issue we ran across recently that's caused by the CA not being available when the SCMDM Enrollment Service starts.&amp;nbsp; Fortunately the solution to this one is pretty easy:&lt;/P&gt;
&lt;P&gt;========&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Issue:&lt;/U&gt;&lt;/STRONG&gt; Enrollment fails and the following event is logged on the Enrollment Server:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color=#004080&gt;Unknown error in Enrollment service: &lt;BR&gt;System.ArgumentNullException: Value cannot be null. &lt;BR&gt;Parameter name: data &lt;BR&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Mobile.ManagementServices.EnrollmentServer.CryptoService.ComputeHmac(Byte[] data, Byte[] sessionKey) &lt;BR&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Mobile.ManagementServices.EnrollmentServer.Authentication.AuthenticateServer(BootstrappingRequest rc) &lt;BR&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Mobile.ManagementServices.EnrollmentServer.Authentication.Authenticate(RequestContext rc)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Cause:&lt;/U&gt;&lt;/STRONG&gt; This can occur if the Certificate Authority (CA) was not running when the SCMDM Enrollment Service started. &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Resolution:&lt;/U&gt;&lt;/STRONG&gt; Restart the SCMDM Enrollment Service. &lt;/P&gt;
&lt;P&gt;========&lt;/P&gt;
&lt;P&gt;&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=3176553" 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/SP1/default.aspx">SP1</category><category domain="http://blogs.technet.com/mdm/archive/tags/CM/default.aspx">CM</category><category domain="http://blogs.technet.com/mdm/archive/tags/Enrollment/default.aspx">Enrollment</category></item><item><title>SCMDM: Set-EnrollmentPermissions returns "Error encountered when delegating container..."</title><link>http://blogs.technet.com/mdm/archive/2008/12/16/scmdm-set-enrollmentpermissions-returns-error-encountered-when-delegating-container.aspx</link><pubDate>Tue, 16 Dec 2008 18:51:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3169742</guid><dc:creator>jchornbe</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/mdm/comments/3169742.aspx</comments><wfw:commentRss>http://blogs.technet.com/mdm/commentrss.aspx?PostID=3169742</wfw:commentRss><description>&lt;P&gt;Here's another MDM SP1 issue for you.&amp;nbsp; This one involves the &lt;STRONG&gt;Set-EnrollmentPermissions&lt;/STRONG&gt; command and an error you can receive if SCMDMEnrollmentServers has full permissions on the specified OU:&lt;/P&gt;
&lt;P&gt;========&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Issue:&lt;/U&gt;&lt;/STRONG&gt; When running the &lt;STRONG&gt;Set-EnrollmentPermissions&lt;/STRONG&gt; command you may receive the following error: &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color=#004080&gt;Set-EnrollmentPermissions : Error encountered when delegating container "OU=SCMDM Managed Devices (Instance1),DC=yonaloc,DC=nttest,DC=microsoft,DC=com" permission to Enrollment Server. &lt;BR&gt;At line:1 char:26 &lt;BR&gt;+ Set-EnrollmentPermissions&amp;nbsp; &amp;lt;&amp;lt;&amp;lt;&amp;lt; "SCMDM MAnaged Devices (Instance1)"&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Cause:&lt;/U&gt;&lt;/STRONG&gt; The Set-EnrollmentPermissions command verifies what permissions SCMDMEnrollmentServers has on the specified OU (i.e. the OU that is passed in the command).&amp;nbsp; There is a known issue in this verification process where it will return false if Full Permissions are enabled.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Resolution:&lt;/U&gt;&lt;/STRONG&gt; Do not enable full permission for SCMDMEnrollmentServers group on the device OU. To workaround this issue delete the SCMDMEnrollmentServers group from Security.&amp;nbsp; To do this follow these steps:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Run DSA.MSC. &lt;/LI&gt;
&lt;LI&gt;Find the OU where you were trying to set permissions. &lt;/LI&gt;
&lt;LI&gt;Right click on the OU and select Properties. &lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;On the Security tab, click on SCCMEnrollmentServers(&amp;lt;your instance name&amp;gt;) and remove it.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;The last step is to run the Set-EnrollmentPermissions command again.&amp;nbsp; This time it should succeed without error.&lt;/P&gt;
&lt;P&gt;========&lt;/P&gt;
&lt;P&gt;&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=3169742" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/mdm/archive/tags/Error/default.aspx">Error</category><category domain="http://blogs.technet.com/mdm/archive/tags/SP1/default.aspx">SP1</category><category domain="http://blogs.technet.com/mdm/archive/tags/CM/default.aspx">CM</category><category domain="http://blogs.technet.com/mdm/archive/tags/Enrollment/default.aspx">Enrollment</category></item></channel></rss>