500 server Error

Topics: ASP.NET 2.0
Jul 28, 2010 at 5:55 AM

I am new to BlogEngine and have no experience of using it. I have used wordpress and joomla

I am using godaddy windows hosting

Now the problem is I wanted to add a page about myself with my image and CV

I added a page and tried to upload an image from the box given below in the new page box. Each time I did it with either a jpeg or doc for the file it showed the following error

This one's down to me! Please accept my apologies for this - I'll see to it that the developer responsible for this happening is given 20 lashes (but only after he or she has fixed this problem).

this was the first thing i did how can there be an error

Error Details:

Url : http://best-news-site.com/admin/Pages/Pages.aspx

Raw Url : /admin/Pages/Pages.aspx

Message : Exception of type 'System.Web.HttpUnhandledException' was thrown.

Source : System.Web

StackTrace : at System.Web.UI.Page.HandleError(Exception e)

at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

at System.Web.UI.Page.ProcessRequest()

at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)

at System.Web.UI.Page.ProcessRequest(HttpContext context)

at ASP.admin_pages_pages_aspx.ProcessRequest(HttpContext context)

at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

TargetSite : Boolean HandleError(System.Exception)

Message : Access to the path 'D:\Hosting\4202632\html\App_Data\files\2010\7\' is denied.

Source : mscorlib

StackTrace : at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity)

at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity)

at admin_Pages_pages.Upload(String virtualFolder, FileUpload control, String fileName)

at admin_Pages_pages.btnUploadFile_Click(Object sender, EventArgs e)

at System.Web.UI.WebControls.Button.OnClick(EventArgs e)

at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)

at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)

at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)

at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)

at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

TargetSite : Void WinIOError(Int32, System.String)

 

 

Coordinator
Jul 28, 2010 at 9:18 AM

This error happens when Write permissions are not setup on the App_Data folder.  BE needs to save data to the App_Data folder ... if Write permissions aren't enabled, then you'll get this error.  I don't have a GoDaddy account easily accessible, but I'm sure they have a way to control Folder Permissions within their control panel.  You would want to enable Write (or even Full Permissions) on the App_Data folder for the ASPNET account.

Jul 30, 2010 at 6:27 PM

 

Dear Sir,

Thank you for your response. I really appreciate that you have taken the time out to respond to my query
cheers