I'm pretty new at DotNetNuke. I'm developing my 2nd site using DNN and had no problems whatsoever with the first site. However, I developed the 2nd site on one server (my development server) and then moved it to another server (my client's server) to launch. However, when we got to the new server, we discovered an error on the home page. I've searched the forums and, although I've found other posts that have a similar error message, I haven't found anything that has helped me.
There is a module that contains a flash file on the home page. When logged out of the site, it does not appear at all. When I log in (as a superuser) and attempt to edit the module, a critical error occurs as soon as I save that indicates "Object reference not set to an instance of an object." I tried re-uploading the flash file and re-inserting it into the module, but I always get the same error. After doing some testing, I discovered that I seem to get this error for other modules on the home page, but not any other page on the site. The home page uses a different template; could this be a contributing factor? If so, how can I test this?
The client has not granted me FTP access to their servers, so everything I do has to be through the interface. I also have not been granted SQL access (nor am I experienced at directly editing db tables).
Here are the details of the error from the Event Log:
AssemblyVersion: 5.6.0
PortalID: 0
PortalName: CGE Development
UserID: 1
UserName: frogisland
ActiveTabID: 40
ActiveTabName: Home
RawURL: /Home/tabid/40/ctl/Edit/mid/462/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://test.gocge.com/Home/tabid/40/ctl/Edit/mid/462/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 ( .NET CLR 3.5.30729; .NET4.0E)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: de59760c-4400-43ae-82e3-db1a5d054596
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 DotNetNuke.UI.WebControls.CommandButton.RaiseClick(Object sender, EventArgs e) at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.LinkButton.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) --- End of inner exception stack trace ---
Source:
Server Name: LINCWEB1
I'm also including a second entry in the event log, which is showing in the log under my username, but I don't know if it's relevant or not. If not, please ignore it. I assume too much information is better than not enough.
AssemblyVersion: 5.6.0
PortalID: 0
PortalName: CGE Development
UserID: 1
UserName: frogisland
ActiveTabID: 40
ActiveTabName: Home
RawURL: /Home/tabid/40/ctl/Edit/mid/462/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://test.gocge.com/Home/tabid/40/ctl/Edit/mid/462/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 ( .NET CLR 3.5.30729; .NET4.0E)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 4fc35793-47eb-42fc-ada1-b9326a0f318a
InnerException: Deleted 0 files, however, some files are locked. Could not delete the following files: C:\Websites\CGE_DNN\Portals\0\Cache\Pages\182_ACABA51644A302FBB325E30E7931BAF8.attrib.resources;C:\Websites\CGE_DNN\Portals\0\Cache\Pages\182_ACABA51644A302FBB325E30E7931BAF8.data.resources;
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Services.ModuleCache.FileProvider.Remove
StackTrace:
Message: System.IO.IOException: Deleted 0 files, however, some files are locked. Could not delete the following files: C:\Websites\CGE_DNN\Portals\0\Cache\Pages\182_ACABA51644A302FBB325E30E7931BAF8.attrib.resources;C:\Websites\CGE_DNN\Portals\0\Cache\Pages\182_ACABA51644A302FBB325E30E7931BAF8.data.resources; at DotNetNuke.Services.ModuleCache.FileProvider.Remove(Int32 tabModuleId) at DotNetNuke.Entities.Modules.ModuleController.SynchronizeModule(Int32 moduleID) at DotNetNuke.Modules.Html.HtmlTextController.UpdateHtmlText(HtmlTextInfo htmlContent, Int32 MaximumVersionHistory) at DotNetNuke.Modules.Html.EditHtml.cmdSave_Click(Object sender, EventArgs e)
Source:
Server Name: LINCWEB1
|