I am using BlogEngine 1.4.5 in a sub-directory like http://www.example.com/blog and everything seems to be working ok except for one thing. When using the admin tabs like BlogRoll, Controls, Categories, Settings, etc, I am getting error messages when I try to save any changes I make. The funny thing is that, despite the error messages, in some cases the changes do get saved. Sometimes they don't though. One complete exception is the Add Entry tab. I don't get any error messages on this page and posts are saved without a problem.
I have followed all of the installation instructions in Al Nyveldt's video ( http://www.nyveldt.com/blog/post/BlogEngineNET-14-Installation-Screencast.aspx ). I am thinking the problem could be because the "blogs" directory is set as an application inside of an application and it's confusing BlogEngine.Net or ASP.NET. Possibly ASP.NET is sometimes looking at the higher level APP_DATA folder instead of the one in blogs.
Does anyone know how I can get around this? I have a requirement to get a blog launched very quickly and really like BlogEngine.NET except for this one problem.
Oh and the error messages are pretty much all the same and look like this:
Access to the path 'D:\....\.....\blogs\App_Data\blogroll.xml' is denied.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.UnauthorizedAccessException: Access to the path 'D:\...\....\blogs\App_Data\blogroll.xml' is denied.
ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.
To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.