asp.net - Handling Timeouts In A Website SQLCommand Object and c# -


I am using Visual Studio 2008 and SQL Server 2005 and everything is working fine under normal use. However, if a user does not take any action on a page for a while, then he clicks on a button that throws the following exceptions on the site ...

The process or function "sp_name" Parameter '@SomeParameterName' which was not provided

I am also facing this error in Visual Studio while debugging the app, while running the site from Visual Studio in other video, VS Let's make some changes to the html and refresh the page.

The error is not compatible and the page needs to be unusable to be generated at that time ....

Current SQL object timeout 30 seconds and the website timed out 30 Minute is

Has anyone experienced this situation and it is fine that, until the time of the website is over, I will not leave anything ...

Any insights will be appreciated.

It seems that you are passing a value ( SomeParameterName ) The process on session is stored on sp_name . When the user remains idle, his session expires, so you've lost the stored value and you pass null to SomeParameterName .


Comments