YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

Tag as favorite
Error messages when using BE in a sub-directory - URGENT
darthdotnet
#1 Posted : Monday, December 08, 2008 11:25:11 PM
Rank: Newbie

Medals:

Joined: 9/20/2008
Posts: 5
Points: 15

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
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.
Sponsor  
 
Users browsing this topic
Guest
Tag as favorite
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.4 RC1 | YAF © 2003-2009, Yet Another Forum.NET
This page was generated in 0.053 seconds.