{"id":85,"date":"2015-10-12T10:08:42","date_gmt":"2015-10-12T16:08:42","guid":{"rendered":"http:\/\/www.osdninja.com\/?p=85"},"modified":"2015-10-23T08:26:00","modified_gmt":"2015-10-23T14:26:00","slug":"expression-evaluation-encountered-a-fatal-error-0x80070002","status":"publish","type":"post","link":"http:\/\/www.osdninja.com\/?p=85","title":{"rendered":"Expression evaluation encountered a fatal error (0x80070002)"},"content":{"rendered":"<p>Main symptom was that App was not showing up in Software Center even though it was deployed.<\/p>\n<p>This one showed up in a couple logs with\u00a0different messages, so here they are so Google can index them:<\/p>\n<p><strong>AppDiscovery.log<\/strong><\/p>\n<p>Expression evaluation encountered a fatal error (0x80070002).<br \/>\nCLocalAppHandler::DiscoverApp failed (0x80070002).<br \/>\nDeployment type detection failed with error 0x80070002.<br \/>\nFailed to perform detection of app deployment type Install(Install, revision 2) for system. Error 0x80070002<\/p>\n<p id=\"sYxHvSF\"><a href=\"http:\/\/www.osdninja.com\/wp-content\/uploads\/2015\/10\/img_561bda4f7b84d.png\" target=\"_blank\"><img decoding=\"async\" loading=\"lazy\" width=\"1142\" height=\"117\" class=\"alignnone size-full wp-image-86 \" src=\"http:\/\/www.osdninja.com\/wp-content\/uploads\/2015\/10\/img_561bda4f7b84d.png\" alt=\"\" srcset=\"http:\/\/www.osdninja.com\/wp-content\/uploads\/2015\/10\/img_561bda4f7b84d.png 1142w, http:\/\/www.osdninja.com\/wp-content\/uploads\/2015\/10\/img_561bda4f7b84d-300x31.png 300w, http:\/\/www.osdninja.com\/wp-content\/uploads\/2015\/10\/img_561bda4f7b84d-1024x105.png 1024w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p><strong>AppIntentEval.log<\/strong><\/p>\n<p>Rejecting ScopeId_9d0608fa-33a2-4479-bb1b-078d045f7274\/RequiredApplication_c9bc4f8b-958b-4243-a9f2-36fe91daee65\/2 due to evaluation error<\/p>\n<p>ScopeId_9d0608fa-33a2-4479-bb1b-078d045f7274\/Application_c9bc4f8b-958b-4243-a9f2-36fe91daee65\/2 :- Current State = Error, Applicability = Unknown, ResolvedState = None, ConfigureState = NotNeeded, Title =\u00a0My Broken App<\/p>\n<p>ScopeId_9d0608fa-33a2-4479-bb1b-078d045f7274\/DeploymentType_5d322e96-cd06-40e4-9743-bc090cba35be\/2 :- Current State = Error, Applicability = Unknown, ResolvedState = None, ConfigureState = NotNeeded, Title = Install<\/p>\n<p><strong>Solution<\/strong><\/p>\n<p>Not sure how it happened, maybe the SP1 upgrade or a scripting issue. \u00a0The app did not have detection rules, and therefore could not detect whether it needed to be installed. \u00a0Seems as though\u00a00x80070002 in Windows land is typically some sort of file not found error, but looks like SCCM might be returning it as a generic &#8220;I couldn&#8217;t find something&#8221; error.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Main symptom was that App was not showing up in Software Center even though it was deployed. This one showed up in a couple logs with\u00a0different messages, so here they are so Google can index them: AppDiscovery.log Expression evaluation encountered a fatal error (0x80070002). CLocalAppHandler::DiscoverApp failed (0x80070002). Deployment type detection failed with error 0x80070002. Failed &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/www.osdninja.com\/?p=85\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Expression evaluation encountered a fatal error (0x80070002)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/www.osdninja.com\/index.php?rest_route=\/wp\/v2\/posts\/85"}],"collection":[{"href":"http:\/\/www.osdninja.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.osdninja.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.osdninja.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.osdninja.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=85"}],"version-history":[{"count":2,"href":"http:\/\/www.osdninja.com\/index.php?rest_route=\/wp\/v2\/posts\/85\/revisions"}],"predecessor-version":[{"id":103,"href":"http:\/\/www.osdninja.com\/index.php?rest_route=\/wp\/v2\/posts\/85\/revisions\/103"}],"wp:attachment":[{"href":"http:\/\/www.osdninja.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=85"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.osdninja.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=85"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.osdninja.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=85"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}