Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# kyriakoy 4/26/2005 5:03 AM
After upgrade from 06 to 07 version. I get the following error when I try to access my web site (sql server 2000, IIS5):
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.]
Cuyahoga.Modules.Articles.Articles.rptArticles_ItemDataBound(Object sender, RepeaterItemEventArgs e)
System.Web.UI.WebControls.Repeater.OnItemDataBound(RepeaterItemEventArgs e) +110
System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +139
System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +475
System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +49
System.Web.UI.WebControls.Repeater.DataBind() +23
Cuyahoga.Modules.Articles.Articles.Page_Load(Object sender, EventArgs e)
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Page.ProcessRequestMain() +750

I have allready run the upgrade script for database and recompile all the project.
Any help ?
Thanks
Nikos
# martijnb 4/26/2005 10:27 AM
Hmmm, that's a tough one. Do you have the exact line number where the error occures? The strange thing is that there haven't been any changes between 0.6 and 0.7 in this page except line 100 (added DisplayTitle).

Make sure that you update all .dll's when upgrading, including the satellite assemblies and the 3rd party libs (for example, NHibernate changed).