amit posted on Sunday, December 09, 2007
Hi ...
I am trying to run CSLA ptWeb application,,I have done all the setting as per the release notes...an it runs fine but when I lick on Project list Link Following error comes..
Object reference not set to an instance of an object.
Line 190: if (proxy.IsServerRemote)
Line 191: ApplicationContext.SetGlobalContext(result.GlobalContext);
Line 192: throw new DataPortalException(
Line 193: String.Format("DataPortal.Fetch {0} ({1})", Resources.Failed, ex.InnerException.InnerException),
Line 194: ex.InnerException, result.ReturnObject);
Source File: C:\Documents and Settings\anawale\Desktop\csla20cs-2.1.4-070223\csla20cs\csla20cs\Csla\DataPortal\Client\DataPortal.cs Line: 192
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
[CallMethodException: DataPortal_Fetch method call failed]
[DataPortalException: DataPortal.Fetch failed (System.NullReferenceException: Object reference not set to an instance of an object.
at ProjectTracker.Library.Database.get_PTrackerConnection() in C:\Documents and Settings\anawale\Desktop\csla\csla20cs-2.1.4-070223\New Folder\csla20cs\ProjectTracker20cs\ProjectTracker.Library\Database.cs:line 14
at ProjectTracker.Library.ProjectList.Fetch(String nameFilter) in C:\Documents and Settings\anawale\Desktop\csla\csla20cs-2.1.4-070223\New Folder\csla20cs\ProjectTracker20cs\ProjectTracker.Library\ProjectList.cs:line 75
at ProjectTracker.Library.ProjectList.DataPortal_Fetch(Criteria criteria) in C:\Documents and Settings\anawale\Desktop\csla\csla20cs-2.1.4-070223\New Folder\csla20cs\ProjectTracker20cs\ProjectTracker.Library\ProjectList.cs:line 64)]
Csla.DataPortal.Fetch(Type objectType, Object criteria) in C:\Documents and Settings\anawale\Desktop\csla20cs-2.1.4-070223\csla20cs\csla20cs\Csla\DataPortal\Client\DataPortal.cs:192
Csla.DataPortal.Fetch(Object criteria) in C:\Documents and Settings\anawale\Desktop\csla20cs-2.1.4-070223\csla20cs\csla20cs\Csla\DataPortal\Client\DataPortal.cs:140
ProjectTracker.Library.ProjectList.GetProjectList() in C:\Documents and Settings\anawale\Desktop\csla\csla20cs-2.1.4-070223\New Folder\csla20cs\ProjectTracker20cs\ProjectTracker.Library\ProjectList.cs:22
ProjectList.GetProjectList() in c:\Documents and Settings\anawale\desktop\csla\csla20cs-2.1.4-070223\New Folder\csla20cs\ProjectTracker20cs\www\PTWeb\ProjectList.aspx.cs:88
ProjectList.ProjectListDataSource_SelectObject(Object sender, SelectObjectArgs e) in c:\Documents and Settings\anawale\desktop\csla\csla20cs-2.1.4-070223\New Folder\csla20cs\ProjectTracker20cs\www\PTWeb\ProjectList.aspx.cs:77
Csla.Web.CslaDataSource.OnSelectObject(SelectObjectArgs e) in C:\Documents and Settings\anawale\Desktop\csla20cs-2.1.4-070223\csla20cs\csla20cs\Csla\Web\CslaDataSource.cs:180
Csla.Web.CslaDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) in C:\Documents and Settings\anawale\Desktop\csla20cs-2.1.4-070223\csla20cs\csla20cs\Csla\Web\CslaDataSourceView.cs:93
System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +17
System.Web.UI.WebControls.DataBoundControl.PerformSelect() +149
System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +70
System.Web.UI.WebControls.GridView.DataBind() +4
System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82
System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() +69
System.Web.UI.Control.EnsureChildControls() +87
System.Web.UI.Control.PreRenderRecursiveInternal() +41
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360
|
I want to run my application on local data portal can any body please help me.