Server Error in '/' Application.

Invalid connection.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Invalid connection.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[SqlException: Invalid connection.]
   System.Data.SqlClient.SqlInternalConnection.OpenAndLogin() +139
   System.Data.SqlClient.SqlInternalConnection..ctor(SqlConnection connection, SqlConnectionString connectionOptions) +83
   System.Data.SqlClient.SqlConnection.Open() +383
   Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) +62
   RH.Finance.DALC.CategoryDALC.GetUrlByPublishedName(String publishedName) in D:\SVN\GMN\Finance\RH.Finance.Common\RH.Finance\DALC\CategoryDALC.cs:30
   RH.Finance.WebPresentation.UrlRewrite.Categories.Execute(HttpApplication Appl, String Path, String SettingsSection) in D:\SVN\GMN\Finance\RH.Finance.WebPresentation\UrlRewrite\Categories.cs:48
   RH.Finance.WebPresentation.UrlRewrite.Engine.Execute() in D:\SVN\GMN\Finance\RH.Finance.WebPresentation\UrlRewrite\Engine.cs:77
   RH.Finance.WebPresentation.UrlRewrite.Rewrite.Rewrite_BeginRequest(Object sender, EventArgs args) in D:\SVN\GMN\Finance\RH.Finance.WebPresentation\UrlRewrite\Rewrite.cs:37
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87


Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407