This project is read-only.

Comments not saving when not logged in

Topics: Business Logic Layer
May 25, 2010 at 6:28 AM


I am facing an error with the BE 1.6 version. I have hosted the site with GoDaddy. I am able to successfully comment on the posts when I am logged in as an Admin but comments do not work when I am not logged in.

The animation for Saving the comment keeps running and nothing happens after I click Save Comment button. I am not sure what's causing this as it works fine on my Local Machine.

Please help.


Zahir Khan

May 25, 2010 at 7:03 AM

I tried leaving a comment, but the server came back with an error:  "There was an error in the callback".

This doesn't give us a lot of information.  If you have any custom Extensions, I would try disabling those.  If the Akismet or Recaptcha extensions are enabled, I would try disabling those.

May 25, 2010 at 2:18 PM

Thanks a lot BenAmada. Disabling Recaptcha worked great for me.

I have another issue with uploading the files and images while adding an entry. I receive the error page 500 There is a problem with the resource you are looking for, and it cannot be displayed.

More details on the error are:

You can even check thread for the same

Error Details:

Url :

Raw Url : /admin/Pages/Add_entry.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_add_entry_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\6174847\html\App_Data\files\2010\5\' 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_entry.Upload(String virtualFolder, FileUpload control, String fileName)

at admin_entry.btnUploadImage_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)


May 25, 2010 at 2:27 PM

Hey. I fixed it. Had to give permissions to App_Data folder :)