I'm struggling with a strange problem. From time to time I'm getting an exception when trying to retrieve a DDS object.
The DDS definition is correct (DrillDownMode field exists). I think there might be several possible reasons:
- connection not handled properly (hanging somewhere),
- web-farm problem (we have two front-end servers and one publishing server),
- multi-threading problem
Has anyone seen noticed such a problem? I'd really appreciate it if someone could give me a hint :)
Best regards,
Dariusz
System.IndexOutOfRangeException: DrillDownMode at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name) at System.Data.SqlClient.SqlDataReader.get_Item(String name) at EPiServer.Data.Dynamic.Providers.DbDataStoreProvider.LoadInlineProperties(ProviderCallContext ctx) at EPiServer.Data.Dynamic.Providers.DbDataStoreProvider.<>c__DisplayClassa.<Load>b__9() at EPiServer.Data.Dynamic.Providers.DbDataStoreProvider.<>c__DisplayClass1`1.<Execute>b__0() at EPiServer.Data.Dynamic.Providers.DbDataStoreProvider.InternalExecute[TResult](Func`1 method) at EPiServer.Data.Dynamic.DynamicDataStore.InternalLoad(Identity id, Type type, LoadAsObjectType loadAs, ProviderCallContext parentContext) at EPiServer.Data.Dynamic.EPiServerDynamicDataStore.Load[TResult](Identity id) at EPiServer.Data.Dynamic.DynamicDataCollection`1.DynamicDataCollectionEnumerator.get_Current() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at NPS.Business.Services.DynamicDataStoreService`1.FindByParameter(Expression`1 parameter, Object query) in e:\builds\NPS\WorkDir\src\NPS.Business\Services\DynamicDataStoreService.cs:line 74 at NPS.Business.Repository.DashboardManagerRepository.GetById(Guid id) in e:\builds\NPS\WorkDir\src\NPS.Business\Repository\DashboardManagerRepository.cs:line 38 at NPS.Business.Presenter.StartPagePresenter.Refresh() in e:\builds\NPS\WorkDir\src\NPS.Business\Presenter\StartPagePresenter.cs:line 89 at NPS.Web.Templates.Pages.StartPageTemplate.Page_Load(Object sender, EventArgs e) in e:\builds\NPS\WorkDir\src\NPS.Web\Templates\Pages\StartPageTemplate.aspx.cs:line 36 at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Hello,
I'm struggling with a strange problem. From time to time I'm getting an exception when trying to retrieve a DDS object.
The DDS definition is correct (DrillDownMode field exists). I think there might be several possible reasons:
- connection not handled properly (hanging somewhere),
- web-farm problem (we have two front-end servers and one publishing server),
- multi-threading problem
Has anyone seen noticed such a problem? I'd really appreciate it if someone could give me a hint :)
Best regards,
Dariusz
System.IndexOutOfRangeException: DrillDownMode
at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name)
at System.Data.SqlClient.SqlDataReader.get_Item(String name)
at EPiServer.Data.Dynamic.Providers.DbDataStoreProvider.LoadInlineProperties(ProviderCallContext ctx)
at EPiServer.Data.Dynamic.Providers.DbDataStoreProvider.<>c__DisplayClassa.<Load>b__9()
at EPiServer.Data.Dynamic.Providers.DbDataStoreProvider.<>c__DisplayClass1`1.<Execute>b__0()
at EPiServer.Data.Dynamic.Providers.DbDataStoreProvider.InternalExecute[TResult](Func`1 method)
at EPiServer.Data.Dynamic.DynamicDataStore.InternalLoad(Identity id, Type type, LoadAsObjectType loadAs, ProviderCallContext parentContext)
at EPiServer.Data.Dynamic.EPiServerDynamicDataStore.Load[TResult](Identity id)
at EPiServer.Data.Dynamic.DynamicDataCollection`1.DynamicDataCollectionEnumerator.get_Current()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at NPS.Business.Services.DynamicDataStoreService`1.FindByParameter(Expression`1 parameter, Object query) in e:\builds\NPS\WorkDir\src\NPS.Business\Services\DynamicDataStoreService.cs:line 74
at NPS.Business.Repository.DashboardManagerRepository.GetById(Guid id) in e:\builds\NPS\WorkDir\src\NPS.Business\Repository\DashboardManagerRepository.cs:line 38
at NPS.Business.Presenter.StartPagePresenter.Refresh() in e:\builds\NPS\WorkDir\src\NPS.Business\Presenter\StartPagePresenter.cs:line 89
at NPS.Web.Templates.Pages.StartPageTemplate.Page_Load(Object sender, EventArgs e) in e:\builds\NPS\WorkDir\src\NPS.Web\Templates\Pages\StartPageTemplate.aspx.cs:line 36
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)