accessing files in App_Data folder while debugging in iishttp://forums.asp.net/t/1787218.aspx/1?accessing+files+in+App_Data+folder+while+debugging+in+iisFri, 06 Apr 2012 19:16:30 -040017872184907963http://forums.asp.net/p/1787218/4907963.aspx/1?accessing+files+in+App_Data+folder+while+debugging+in+iisaccessing files in App_Data folder while debugging in iis <p>even if i give everyone all right to this folder, my mvc4 application cant read xml files in this folder, if i put the files in another folder no problem at all.</p> <p>debugging under other servers as the development&nbsp; or iis express gives no problem.</p> 2012-03-30T09:20:19-04:004918849http://forums.asp.net/p/1787218/4918849.aspx/1?Re+accessing+files+in+App_Data+folder+while+debugging+in+iisRe: accessing files in App_Data folder while debugging in iis <p>Hi</p> <p>In my application, it can access the xml file in App-Data folder very well, so please provide more details that we can give you more effective help.</p> <p>Regards<br> Young Yang</p> 2012-04-06T03:44:41-04:004920107http://forums.asp.net/p/1787218/4920107.aspx/1?Re+accessing+files+in+App_Data+folder+while+debugging+in+iisRe: accessing files in App_Data folder while debugging in iis <p></p> <blockquote><span class="icon-blockquote"></span> <h4>wetlip</h4> debugging under other servers as the development&nbsp; or iis express gives no problem.</blockquote> <p></p> <p>Cassini (AKA, the asp.net development server) and IIS Express - run under your credentials.&nbsp; IIS 7.5 defaults to the application pool identity, which has very limited rights (for more security).&nbsp; See Securing Resources&nbsp; at <a href="http://learn.iis.net/page.aspx/624/application-pool-identities/">http://learn.iis.net/page.aspx/624/application-pool-identities/</a></p> <p>See my blog post <a href="http://blogs.msdn.com/b/rickandy/archive/2011/04/22/test-you-asp-net-mvc-or-webforms-application-on-iis-7-in-30-seconds.aspx"> Test your ASP.NET MVC or WebForms Application on IIS 7 in 30 seconds</a></p> <p></p> 2012-04-06T19:16:30-04:00