This question is locked. New answers and comments are not allowed.
HI all,
I am having a bit of a problem. I am developing a ASP.NET based application based on telerik Open Access version 2010.2.714.1.
Persistent classes are generated based on the existing SQL Server tables using Domain model design [Used to be reverse mapping]. I have used Repository pattern to access in DAL.
DAL layer is in a different class project which is being referenced from ASP.NET web project. So that asp.net pages can make use of it.
e.g.
Sample Repostiory Class looks like
user.UserPortfolios.Count returns NullReferenceException!! when I change my session State to SQL Server in web.config but the same code work when session state is "InProc".
Please let me know what mistake have I made and what needs to be done so that it works in both sessionState modes.
Many thanks.
MG
I am having a bit of a problem. I am developing a ASP.NET based application based on telerik Open Access version 2010.2.714.1.
Persistent classes are generated based on the existing SQL Server tables using Domain model design [Used to be reverse mapping]. I have used Repository pattern to access in DAL.
DAL layer is in a different class project which is being referenced from ASP.NET web project. So that asp.net pages can make use of it.
e.g.
Sample Repostiory Class looks like
user.UserPortfolios.Count returns NullReferenceException!! when I change my session State to SQL Server in web.config but the same code work when session state is "InProc".
Please let me know what mistake have I made and what needs to be done so that it works in both sessionState modes.
Many thanks.
MG