DNN Error: Object reference not set to an instance of an object error occurs in live site when i edit content
Last Post 08/04/2011 8:30 AM by bhargav411 panchal. 4 Replies.
Author Messages
bhargav411 panchal
Nuke Newbie
Nuke Newbie
Posts:6


--
08/04/2011 3:57 AM  
When i try to edit content of page using HTML module of DNN in ny site (Live now), this "Object reference not set to an instance of an object" error occurs.

few days ago its working fine but now it shows me this error.

AssemblyVersion: 5.6.2
PortalID: 0
PortalName: My Website
UserID: 2
UserName: admin
ActiveTabID: 41
ActiveTabName: home
RawURL: /home/tabid/41/ctl/Edit/mid/384/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:

http://www.corporacioneg.com/home/t...fault.aspx
UserAgent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20100101 Firefox/5.0
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 92581ecd-ffd5-4631-850c-8920c87f570c
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.UI.Skins.Skin.AddModuleMessage
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an

instance of an object. ---> System.NullReferenceException: Object reference not set to an

instance of an object. at DotNetNuke.UI.Skins.Skin.AddModuleMessage(Control objControl,

String Heading, String Message, ModuleMessageType objModuleMessageType, String IconSrc) at

DotNetNuke.UI.Skins.Skin.AddModuleMessage(Control objControl, String Heading, String

Message, ModuleMessageType objModuleMessageType) at

DotNetNuke.Modules.Html.EditHtml.cmdSave_Click(Object sender, EventArgs e) at

DotNetNuke.UI.WebControls.CommandButton.OnButtonClick(EventArgs e) at

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

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

System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String

eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean

includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner

exception stack trace ---
Source:
Server Name: TULSQL2008
Joseph Craig
DNN MVP
Posts:11667


--
08/04/2011 6:35 AM  
As a test, switch your site to the Minimal Extropy skin and see if you can edit the content.

Joe Craig, Patapsco Research Group
Complete DNN Support
bhargav411 panchal
Nuke Newbie
Nuke Newbie
Posts:6


--
08/04/2011 7:16 AM  
Okay.

but this happens only in live site (site uploaded to FTP).
In my local server it is working fine. I can update content of page with no error.

I have hosted this site to Godaddy server..
Joseph Craig
DNN MVP
Posts:11667


--
08/04/2011 7:53 AM  
That's useful information.

Also you should check that ALL files in the DotNetNuke web directory have the correct permissions.

And, assuming that your local site is up to date with the live site, you might want to try reinstalling on the live site.

Joe Craig, Patapsco Research Group
Complete DNN Support
bhargav411 panchal
Nuke Newbie
Nuke Newbie
Posts:6


--
08/04/2011 8:30 AM  
Okay Sir.

I am following you.


---