Cannot post anything to any html content

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
5/7/2010 4:46:11 PM
Gravatar
Total Posts 3

Cannot post anything to any html content

Originally the site worked fine, I edited a few pages fine.  Then I uploaded some pictures, tried to add an html content to the left pane and now NO html content with post.  I get the most generic .NET error I have ever seen...

Server Error in '/' Application.
Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
mojoPortal.Web.ContentUI.EditHtml.SaveHtml(Boolean draft) +578
mojoPortal.Web.ContentUI.EditHtml.btnUpdate_Click(Object sender, EventArgs e) +7
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565

Anybody have any ideas?  I tried re-running the setup and have had no luck.

I have changed back to the default theme, tried re-uploading all files, my web.config file is fully configured for medium trust (it's the exact same as another site I have on the same host, just with the different SQL string, and that one works flawlessly)

I am now in the process of dumping all tables, procedures, functions, etc and re-running the setup.

5/7/2010 5:22:59 PM
Gravatar
Total Posts 3

Re: Cannot post anything to any html content

So after dumping the entire DB, re-copying all the files, re-running the setup and trying again... I figured it out.

 

It came to me when I re-opened the site, I was already logged in and the error was happening... I don't know how you store your cookies, but the problem did start to occur after I changed the "Use Email for Sign In?" option.  I logged out, logged back in and everything work peachy keen!

-------------------------------------------------------------------------------------------------

As a test:

I just changed that setting again, tried editing some text, and ERROR!!!

Logged out, logged back in with username only, VOILA!

--------------------------------------------------------------------------------------------------

Hope this helps someone save some hair

6/11/2010 9:42:26 AM
Gravatar
Total Posts 1

Re: Cannot post anything to any html content

Thank you the EXACT same thing just happened to me ! I'm glad you found that out ! You did save me some hair ^^

You must sign in to post in the forums. This thread is closed to new posts.