Error while saves the pages...Please help me.!!

Jul 19, 2010 at 6:10 AM
From: Kishan

A error comes when i hit a save button in admin panel after writing some content.I don't why the error comes.

Following error comes:

Ooops! An unexpected error has occurred.

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).

Error Details:

Url : http://hp.gov.in/hpmilkfed/admin/Pages/Pages.aspx?id=173df7f4-edda-4b6f-9f65-83620ca376b7

Raw Url : /hpmilkfed/admin/Pages/Pages.aspx?id=173df7f4-edda-4b6f-9f65-83620ca376b7

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) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\hpmilkfed\b4c2f755\8ca6f3fc\App_Web_iqgixsjz.4.cs:line 0

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 'G:\hpmilkfed\App_Data\pages\173df7f4-edda-4b6f-9f65-83620ca376b7.xml' is denied.

Source : mscorlib

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

at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)

at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)

at System.Xml.XmlWriter.Create(String outputFileName, XmlWriterSettings settings)

at BlogEngine.Core.Providers.XmlBlogProvider.InsertPage(Page page) in C:\Data\Development\BlogEngine.NET\BlogEngine\DotNetSlave.BusinessLogic\Providers\XmlProvider\Pages.cs:line 74

at BlogEngine.Core.Providers.XmlBlogProvider.UpdatePage(Page page) in C:\Data\Development\BlogEngine.NET\BlogEngine\DotNetSlave.BusinessLogic\Providers\XmlProvider\Pages.cs:line 100

at BlogEngine.Core.Page.DataUpdate() in C:\Data\Development\BlogEngine.NET\BlogEngine\DotNetSlave.BusinessLogic\Page.cs:line 333

at BlogEngine.Core.BusinessBase`2.Update() in C:\Data\Development\BlogEngine.NET\BlogEngine\DotNetSlave.BusinessLogic\BusinessBase.cs:line 352

at BlogEngine.Core.BusinessBase`2.Save(String userName, String password) in C:\Data\Development\BlogEngine.NET\BlogEngine\DotNetSlave.BusinessLogic\BusinessBase.cs:line 313

at BlogEngine.Core.BusinessBase`2.Save() in C:\Data\Development\BlogEngine.NET\BlogEngine\DotNetSlave.BusinessLogic\BusinessBase.cs:line 288

at admin_Pages_pages.btnSave_Click(Object sender, EventArgs e) in g:\hpmilkfed\admin\Pages\Pages.aspx.cs:line 172

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)


Please help me to solve this problem.I am totally confused why the error comes.

Thanks in advance




The dark side of terrorists revealed in MSN Internal Security Get it now.
Coordinator
Jul 19, 2010 at 7:04 AM

I think this is your 3rd new post for this question.  I replied to your 2nd thread:

http://blogengine.codeplex.com/Thread/View.aspx?ThreadId=219749