<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.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>Common Issue: Permission problems when using remote content</title><link>http://blogs.msdn.com/tom/archive/2008/08/15/common-issue-permission-problems-when-using-remote-content.aspx</link><description>We have had a number of customers run into problems when trying to store their ASP.NET Content on a remote machine.&amp;#160; Whether that is just a UNC path from the web server or a DFS share.&amp;#160; So I wanted to talk about the issues and how to resolve</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>car insurance &amp;raquo; Common Issue: Permission problems when using remote content</title><link>http://blogs.msdn.com/tom/archive/2008/08/15/common-issue-permission-problems-when-using-remote-content.aspx#8869289</link><pubDate>Fri, 15 Aug 2008 13:06:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8869289</guid><dc:creator>car insurance &amp;raquo; Common Issue: Permission problems when using remote content</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://hoursfunnywallpaper.cn/?p=1583"&gt;http://hoursfunnywallpaper.cn/?p=1583&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>Common Issue: Permission problems when using remote content</title><link>http://blogs.msdn.com/tom/archive/2008/08/15/common-issue-permission-problems-when-using-remote-content.aspx#8869464</link><pubDate>Fri, 15 Aug 2008 14:54:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8869464</guid><dc:creator>DotNetKicks.com</dc:creator><description>&lt;p&gt;You've been kicked (a good thing) - Trackback from DotNetKicks.com&lt;/p&gt;
</description></item><item><title>re: Common Issue: Permission problems when using remote content</title><link>http://blogs.msdn.com/tom/archive/2008/08/15/common-issue-permission-problems-when-using-remote-content.aspx#8902041</link><pubDate>Thu, 28 Aug 2008 03:28:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8902041</guid><dc:creator>Franco</dc:creator><description>&lt;p&gt;Great Post.&lt;/p&gt;
&lt;p&gt;I have ran into a similar issues after I install .Net 3.5 SP1. I received Even ID 1088, Error Code 0x80131501 followed by the Even ID 1334 as described below:&lt;/p&gt;
&lt;p&gt;Failed to initialize the AppDomain:/LM/W3SVC/1130554000/Root&lt;/p&gt;
&lt;p&gt;Exception: System.SystemException&lt;/p&gt;
&lt;p&gt;Message: Failed to create AppDomain.&lt;/p&gt;
&lt;p&gt;StackTrace: &amp;nbsp; &amp;nbsp;at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)&lt;/p&gt;
&lt;p&gt;InnerException: System.ArgumentException&lt;/p&gt;
&lt;p&gt;Message: The UNC path should be of the form \\server\share.&lt;/p&gt;
&lt;p&gt;StackTrace: &amp;nbsp; &amp;nbsp;at System.Security.Policy.PolicyLevel.GenericResolve(Evidence evidence, Boolean&amp;amp; allConst)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Security.Policy.PolicyLevel.Resolve(Evidence evidence, Int32 count, Char[] serializedEvidence)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Security.PolicyManager.CodeGroupResolve(Evidence evidence, Boolean systemPolicy)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Security.PolicyManager.ResolveHelper(Evidence evidence)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Security.HostSecurityManager.ResolvePolicy(Evidence evidence)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Security.PolicyManager.Resolve(Evidence evidence)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet&amp;amp; denied, Boolean checkExecutionPermission)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet&amp;amp; denied, Int32&amp;amp; securitySpecialFlags, Boolean checkExecutionPermission)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.AppDomain.nSetupDomainSecurity(Evidence appDomainEvidence, IntPtr creatorsSecurityDescriptor, Boolean publishAppDomain)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.AppDomain.SetDomainManager(Evidence providedSecurityInfo, Evidence creatorsSecurityInfo, IntPtr parentSecurityDescriptor, Boolean publishAppDomain)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.AppDomain.InternalRemotelySetupRemoteDomainHelper(Object[] args)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Threading.Thread.CompleteCrossContextCallback(InternalCrossContextDelegate ftnToCall, Object[] args)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.AppDomain.nCreateDomain(String friendlyName, AppDomainSetup setup, Evidence providedSecurityInfo, Evidence creatorsSecurityInfo, IntPtr parentSecurityDescriptor)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.AppDomain.CreateDomain(String friendlyName, Evidence securityInfo, AppDomainSetup info)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)&lt;/p&gt;
&lt;p&gt;Do you have any clue how to fix this? Thank you in advance&lt;/p&gt;</description></item><item><title>re: Common Issue: Permission problems when using remote content</title><link>http://blogs.msdn.com/tom/archive/2008/08/15/common-issue-permission-problems-when-using-remote-content.aspx#8903317</link><pubDate>Thu, 28 Aug 2008 16:03:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8903317</guid><dc:creator>Tom</dc:creator><description>&lt;p&gt;Franco,&lt;/p&gt;
&lt;p&gt;Check what user you are running under now. &amp;nbsp;Maybe installing that set it back to the default and it is running under a local account now that doesn't have permission.&lt;/p&gt;
</description></item><item><title>re: Common Issue: Permission problems when using remote content</title><link>http://blogs.msdn.com/tom/archive/2008/08/15/common-issue-permission-problems-when-using-remote-content.aspx#8903498</link><pubDate>Thu, 28 Aug 2008 17:54:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8903498</guid><dc:creator>Franco</dc:creator><description>&lt;p&gt;Hi Tom,&lt;/p&gt;
&lt;p&gt;After checking the application pool, the identity is still Network Services.&lt;/p&gt;</description></item><item><title>re: Common Issue: Permission problems when using remote content</title><link>http://blogs.msdn.com/tom/archive/2008/08/15/common-issue-permission-problems-when-using-remote-content.aspx#8943821</link><pubDate>Thu, 11 Sep 2008 11:03:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8943821</guid><dc:creator>KD</dc:creator><description>&lt;p&gt;Fixed the AspNetHostingPermission error with caspol (+reboot) using this article: &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/shawnfa/archive/2004/12/30/344554.aspx"&gt;http://blogs.msdn.com/shawnfa/archive/2004/12/30/344554.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And fixed the following &amp;quot;Failed to start monitoring changes to 'W:\...\...' because the network BIOS command limit has been reached. For more information on this error, please refer to Microsoft knowledge base article 810886. Hosting on a UNC share is not supported for the Windows XP Platform&amp;quot; error (on my Vista(!) machine) using this article: &lt;a rel="nofollow" target="_new" href="http://support.microsoft.com/kb/810886/en-us"&gt;http://support.microsoft.com/kb/810886/en-us&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I set MaxCmds to 100 (+ reboot).&lt;/p&gt;
&lt;p&gt;Notes&lt;/p&gt;
&lt;p&gt;The reboots are really neccessary (I rebooted after each step but 1 reboot might also suffice).&lt;/p&gt;
&lt;p&gt;You don't need to turn File Change Notifications (FCN) off as suggested here: &lt;a rel="nofollow" target="_new" href="http://channel9.msdn.com/forums/TechOff/65291-Network-BIOS-command-limit/#CommentID=390454"&gt;http://channel9.msdn.com/forums/TechOff/65291-Network-BIOS-command-limit/#CommentID=390454&lt;/a&gt;&lt;/p&gt;</description></item><item><title>re: Common Issue: Permission problems when using remote content</title><link>http://blogs.msdn.com/tom/archive/2008/08/15/common-issue-permission-problems-when-using-remote-content.aspx#8946039</link><pubDate>Fri, 12 Sep 2008 11:29:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8946039</guid><dc:creator>KD</dc:creator><description>&lt;p&gt;This didn't work for my co-worker using XP. But it did help to set FCNMode to 2 (less monitoring objects) on his machine.&lt;/p&gt;
&lt;p&gt;Hope this helps some of you.&lt;/p&gt;</description></item><item><title>re: Common Issue: Permission problems when using remote content</title><link>http://blogs.msdn.com/tom/archive/2008/08/15/common-issue-permission-problems-when-using-remote-content.aspx#8946656</link><pubDate>Fri, 12 Sep 2008 16:22:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8946656</guid><dc:creator>Tom</dc:creator><description>&lt;p&gt;Thanks KD&lt;/p&gt;
</description></item></channel></rss>