Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Strange Error ........ module error ??? help needed please.Strange Error ........ module error ??? help needed please.
Previous
 
Next
New Post
11/14/2011 10:21 AM
 

Strange Error ........ ??? help needed please.

I had one module called ImagineNews that retrieves news from the database, the module was working fine for past one year. Now just at sudden the module not working and giving the following problem:

An error has occurred.
Error: ImagineNews is currently unavailable.


and I would like to inform that no any updates or changes been done in this period, the only thing it was routine news posting through this module. I tried to read similar error on the internet and most of them showing that this error occur while updating or migration ... etc.

Any how I'm also posting here the Event log for any help :

---------
ModuleId: 478
ModuleDefId: 120
FriendlyName: ImagineNews
ModuleControlSource: DesktopModules/ImagineNews/ViewImagineNews.ascx
AssemblyVersion: 5.4.0
PortalID: 0
PortalName: portal
UserID: -1
UserName:
ActiveTabID: 65
ActiveTabName: News
RawURL: /Default.aspx?tabid=65&language=en-US
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/5.0 (iPad; U; CPU OS 4_3_3 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8J3 Safari/6533.18.5
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 00e75c72-785a-4051-9fd0-4ca803e6bf5e
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Imagine.Modules.ImagineNews.ViewImagineNews.GetFilePath
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Imagine.Modules.ImagineNews.ViewImagineNews.GetFilePath(String fileid) at Imagine.Modules.ImagineNews.ViewImagineNews.GetURL(String fileid) at ASP.desktopmodules_imaginenews_viewimaginenews_ascx.__DataBind__control14(Object sender, EventArgs e) at System.Web.UI.Control.OnDataBinding(EventArgs e) at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBind() at System.Web.UI.Control.DataBindChildren() at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBind() at System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) at System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) at System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) at System.Web.UI.WebControls.Repeater.DataBind() at Imagine.Modules.ImagineNews.ViewImagineNews.FillRepeater() at Imagine.Modules.ImagineNews.ViewImagineNews.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:
Server Name: WEB2
----

Any guidelines and help please.


  
 
New Post
11/14/2011 3:32 PM
 
Looks to me like you could have some corrupted data that your datagrid is having issues rendering. I would use the SQL pane logged in as a super user and do soem queries to see whats been added lately. You may spot something wrong there. Then fix it and your module should work. Also I'd add some defensive code to your module to handle this for the future.

Philip Beadle - Employee
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Strange Error ........ module error ??? help needed please.Strange Error ........ module error ??? help needed please.


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out