Error occured in the web application.

Error occured in the web application.

Postby abhibandil » Wed 03 Dec 2014 07:44

System.Configuration.Provider.ProviderException
An exception occurred. Please contact your administrator.

System.Web.HttpException (0x80004005): Exception of type 'System.Web.HttpException' was thrown. ---> System.Configuration.Provider.ProviderException: An exception occurred. Please contact your administrator.
at Devart.Common.Web.Providers.DbSessionStateStore.a(Boolean A_0, HttpContext A_1, String A_2, Boolean& A_3, TimeSpan& A_4, Object& A_5, SessionStateActions& A_6)
at Devart.Common.Web.Providers.DbSessionStateStore.GetItemExclusive(HttpContext context, String id, Boolean& locked, TimeSpan& lockAge, Object& lockId, SessionStateActions& actionFlags)
at System.Web.SessionState.SessionStateModule.GetSessionStateItem()
at System.Web.SessionState.SessionStateModule.PollLockedSessionCallback(Object state)
at System.Web.SessionState.SessionStateModule.EndAcquireState(IAsyncResult ar)
at System.Web.HttpApplication.AsyncEventExecutionStep.OnAsyncEventCompletion(IAsyncResult ar)

The above error occurred sometime while accessing the web application.
I am not able to reproduce this issue, Please help and let me know how can reproduce and resolve this issue.
abhibandil
 
Posts: 4
Joined: Wed 03 Dec 2014 07:37

Re: Error occured in the web application.

Postby Pinturiccio » Wed 03 Dec 2014 16:14

There is not enough information for investigation and reproducing the issue. If possible, please create and send us a small test project with the corresponding DDL/DML scripts.

Please also send us the full message from EventLog.

Additionally you can attach Visual Studio to your application and catch the exception that occurs before the issue.
Pinturiccio
Devart Team
 
Posts: 1885
Joined: Wed 02 Nov 2011 09:44

Re: Error occured in the web application.

Postby abhibandil » Thu 04 Dec 2014 05:01

The issue is sporadic and it is not possible to provide a demo project. But below are some more details related to it:
1. While access the application randomly it gives the exception stated is previous post.

2. There is another exception that we face, if user after logging into application does not access it for long time and then when clicks on any service that he wants to use then we get following exception:

System.Configuration.Provider.ProviderException
An exception occurred. Please contact your administrator.

System.Configuration.Provider.ProviderException: An exception occurred. Please contact your administrator.
at Devart.Common.Web.Providers.DbSessionStateStore.CreateUninitializedItem(HttpContext context, String id, Int32 timeout)
at System.Web.SessionState.SessionStateModule.GetSessionStateItem()
at System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData)
at System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

We are using following DLLs along with Entity framework(v4.1) in our application:

1. Devart.Data v5.0.272.0
2. Devart.Data.Oracle v6.30.172.0
3. Devart.Data.Oracle.Entity v6.30.172.0
4. Devart.Data.Oracle.Web v6.30.172.0
abhibandil
 
Posts: 4
Joined: Wed 03 Dec 2014 07:37

Re: Error occured in the web application.

Postby abhibandil » Mon 08 Dec 2014 05:20

I am waiting for your response, Please let me know if you need more information.
abhibandil
 
Posts: 4
Joined: Wed 03 Dec 2014 07:37

Re: Error occured in the web application.

Postby abhibandil » Tue 09 Dec 2014 07:37

Any Updates?
Please reply asap
abhibandil
 
Posts: 4
Joined: Wed 03 Dec 2014 07:37

Re: Error occured in the web application.

Postby Pinturiccio » Tue 09 Dec 2014 10:46

Sorry for the delay.

We can see only the external exception generated by our provider in the information you have provided. We need the inner exception that is caught by our provider in order to find out the reason of the issue. You can get the inner exception using one of the following two ways:

1. Specify the following attribute in the sessionState provider description 'writeExceptionsToEventLog="true"'. This attribute allows recording exceptions to event logs.

2. Debug your application with Visual Studio:
- Start your application;
- Run a Visual Studio instance;
- In the open Visual Studio instance on the Debug menu, click Attach to Process;
- In the displayed window, select the process of your application;
- On the Debug menu, click 'Options and Settings...';
- In the Options dialog box switch to the Debugging->General page, and clear the 'Enable Just My Code (Managed only)' check box, if it is selected;
- On the Debug menu, click Exceptions and select the 'Common Language Runtime Exceptions' check box;
- Then switch back to your application and reproduce the issue;
- The exception in your application will be caught in the Visual Studio instance, and you can get all the information about the exception including its internal exceptions.
Pinturiccio
Devart Team
 
Posts: 1885
Joined: Wed 02 Nov 2011 09:44


Return to dotConnect for Oracle