System.Web.HttpUnhandledException: Une exception de type 'System.Web.HttpUnhandledException' a été levée. ---> System.InvalidOperationException: ExecuteReader nécessite une connexion ouverte et disponible. La connexion est actuellement fermée.
à System.Data.SqlClient.SqlConnection.GetOpenConnection(String method)
à System.Data.SqlClient.SqlConnection.ValidateConnectionForExecute(String method, SqlCommand command)
à System.Data.SqlClient.SqlCommand.ValidateCommand(String method, Boolean async)
à System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
à System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
à System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
à System.Data.SqlClient.SqlCommand.ExecuteReader()
à WebAMI.Utils.sql.VersionActuelle() dans C:\Inetpub\wwwroot\WebAMI\WebAMI\WebAMI\Utils\sql.cs:ligne 22
à WebAMI.index.Page_Load(Object sender, EventArgs e) dans C:\Inetpub\wwwroot\WebAMI\WebAMI\WebAMI\index.aspx.cs:ligne 65
à System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
à System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
à System.Web.UI.Control.OnLoad(EventArgs e)
à System.Web.UI.Control.LoadRecursive()
à System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
--- Fin de la trace de la pile d'exception interne ---
à System.Web.UI.Page.HandleError(Exception e)
à System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
à System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
à System.Web.UI.Page.ProcessRequest()
à System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
à System.Web.UI.Page.ProcessRequest(HttpContext context)
à ASP.index_aspx.ProcessRequest(HttpContext context) dans c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\webami\8601c899\8d134345\App_Web_tlnf-v89.0.cs:ligne 0
à System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
à System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Partager