Erreur du serveur dans l'application '/'.

Object reference not set to an instance of an object.

Description : Une exception non gérée s'est produite au moment de l'exécution de la demande Web actuelle. Contrôlez la trace de la pile pour plus d'informations sur l'erreur et son origine dans le code.

Détails de l'exception: System.NullReferenceException: Object reference not set to an instance of an object.

Erreur source:


Ligne 151 :        public int Count
Ligne 152 :        {
Ligne 153 :            get { return m_dataSource.Count; }
Ligne 154 :        }
Ligne 155 :

Fichier source : c:\inetpub\wwwroot\App_Code\ExpandIT31CS\Logic\ExpanditImplementation\ExtServices\ProductSorter.cs    Ligne : 153

Trace de la pile:


[NullReferenceException: Object reference not set to an instance of an object.]
   ExpandIT31.Logic.ProductSorter.get_Count() in c:\inetpub\wwwroot\App_Code\ExpandIT31CS\Logic\ExpanditImplementation\ExtServices\ProductSorter.cs:153
   ProductSortControl.get_Count() in C:\inetpub\wwwroot\controls\ProductSortControl.ascx.vb:114
   System.Web.UI.WebControls.PagedDataSource.get_DataSourceCount() +117
   System.Web.UI.WebControls.PagedDataSource.get_PageCount() +28
   templates_pricelist.Page_PreRender(Object sender, EventArgs e) in C:\inetpub\wwwroot\templates\pricelist.aspx.vb:193
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Control.OnPreRender(EventArgs e) +11160621
   System.Web.UI.Control.PreRenderRecursiveInternal() +107
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3393


Informations sur la version : Version Microsoft .NET Framework :2.0.50727.8974; Version ASP.NET :2.0.50727.8974