{"id":372,"date":"2011-04-20T13:33:02","date_gmt":"2011-04-20T18:33:02","guid":{"rendered":"http:\/\/hoolihan.net\/blog-tim\/?p=372"},"modified":"2011-04-20T13:34:00","modified_gmt":"2011-04-20T18:34:00","slug":"silverlight-application-code-2103","status":"publish","type":"post","link":"http:\/\/hoolihan.net\/blog-tim\/2011\/04\/20\/silverlight-application-code-2103\/","title":{"rendered":"Silverlight Application Code 2103"},"content":{"rendered":"<p>When working with Silverlight, if you get an application code error 2103 and go looking for answers, you&#8217;ll find posts like <a href=\"http:\/\/stackoverflow.com\/questions\/641570\/silverlight-2-0-loading-issue\">this<\/a> that suggest it&#8217;s a namespace problem. If that&#8217;s not the problem, you&#8217;ll find yourself stuck without many other suggestions.<\/p>\n<p>Here&#8217;s a simple check for another common problem, permissions to download the Silverlight xap. Type into your browser http:\/\/localhost:8080\/ClientBin\/MySLControl.xap (based on your dev server and Silverlight control name) and see if you can save the file. FYI &#8211; It will show up as a zip.<\/p>\n<p>If this is an asp.net site and you do have permissions issues, just add the following to your web.config:<\/p>\n<pre>\r\n<code>    &lt;location path=\"ClientBin\"&gt;\r\n        &lt;system.web&gt;\r\n            &lt;authorization&gt;\r\n                &lt;allow users=\"?\"\/&gt;\r\n            &lt;\/authorization&gt;\r\n        &lt;\/system.web&gt;\r\n    &lt;\/location&gt;<\/code>\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>When working with Silverlight, if you get an application code error 2103 and go looking for answers, you&#8217;ll find posts like this that suggest it&#8217;s a namespace problem. If that&#8217;s not the problem, you&#8217;ll find yourself stuck without many other suggestions. Here&#8217;s a simple check for another common problem, permissions to download the Silverlight xap. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34,18,138],"tags":[41,69,85],"class_list":["post-372","post","type-post","status-publish","format-standard","hentry","category-microsoft","category-programming","category-silverlight-2","tag-net","tag-linkedin","tag-silverlight"],"_links":{"self":[{"href":"http:\/\/hoolihan.net\/blog-tim\/wp-json\/wp\/v2\/posts\/372","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/hoolihan.net\/blog-tim\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/hoolihan.net\/blog-tim\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/hoolihan.net\/blog-tim\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/hoolihan.net\/blog-tim\/wp-json\/wp\/v2\/comments?post=372"}],"version-history":[{"count":0,"href":"http:\/\/hoolihan.net\/blog-tim\/wp-json\/wp\/v2\/posts\/372\/revisions"}],"wp:attachment":[{"href":"http:\/\/hoolihan.net\/blog-tim\/wp-json\/wp\/v2\/media?parent=372"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/hoolihan.net\/blog-tim\/wp-json\/wp\/v2\/categories?post=372"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/hoolihan.net\/blog-tim\/wp-json\/wp\/v2\/tags?post=372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}