Server Error in '/' Application.

A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The handle specified is invalid)

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: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The handle specified is invalid)

Source Error:


Line 72: 
Line 73:         Dim pagina As String = System.IO.Path.GetFileName(Request.ServerVariables("SCRIPT_NAME")).Replace(".aspx", "")
Line 74:         Dim dt As DataTable = Wrapper.wrPagineSuggerimenti.spdtPagineSuggerimenti(0, pagina)
Line 75: 
Line 76: 

Source File: C:\inetpub\wwwroot\WEBSITES\knauf.it\_controlloWEBtestata.ascx.vb    Line: 74

Stack Trace:


[SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The handle specified is invalid)]
   Wrapper.wrPagineSuggerimenti.spdtPagineSuggerimenti(Int32 idPaginaSuggerimento, String pagina) in C:\[.NET]\progetti\Knauf\restyling\Wrapper\PagineSuggerimenti.cs:65
   _controlloWEBtestata.caricaSuggerimento() in C:\inetpub\wwwroot\WEBSITES\knauf.it\_controlloWEBtestata.ascx.vb:74
   _controlloWEBtestata.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\WEBSITES\knauf.it\_controlloWEBtestata.ascx.vb:57
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.8966; ASP.NET Version:2.0.50727.8962