System.Data.SqlClient.SqlException: Database 'orders' is being recovered. Waiting until recovery is finished. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteScalar() at Cb_functions.ExecuteScalar(String sQueryString, String sConnectionString, Dictionary`2 dictSqlParams) in C:\inetpub\USDev\App_Code\CB_Functions.aspx.vb:line 5763 --- End of inner exception stack trace --- at Cb_functions.ExecuteScalar(String sQueryString, String sConnectionString, Dictionary`2 dictSqlParams) in C:\inetpub\USDev\App_Code\CB_Functions.aspx.vb:line 5765 at Cb_functions.AdHocSessionCheck() in C:\inetpub\USDev\App_Code\CB_Functions.aspx.vb:line 6619 at Advancedwebpagefunctions.Main() in C:\inetpub\USDev\App_Code\AdvancedWebPageFunctions.aspx.vb:line 2734 at ASP.advancedwebpage_aspx.Page_Load(Object sender, EventArgs e) in C:\inetpub\USDev\advancedwebpage.aspx:line 15 -->