I get the following error when I try to connect a production database from a local environment.
I managed to connect Production DB before, but suddenly I get the following error, any idea?
The connection to the server was successfully established, but then an error occurred while establishing a connection with the preliminary connection. (provider: TCP provider, error: 0 - handle is invalid.)
I tried to run the asp.net site on a local PC that has a production database connection string, the next one is a stack trace for the error I get in the local environment.
in MyWebsiteDAL.clsForumQuestion.SelectAll (Int32 CurrentPageIndex, Int32 PageSize) in D: \ EDrive \ My Websites \ MyWebsite \ MyWebsite \ MyWebsiteDAL \ clsForumQuestion.cs: line 821 in the CodeConnect.Default.Page_Loadgs object (sender) D: \ EDrive \ My WebSites \ MyWebsite \ MyWebsite \ MyWebsite \ Default.aspx.cs: line 100 in System.Web.Util.CalliHelper.EventArgFunctionCaller (IntPtr fp, Object o, Object t, EventArgs e) in System.Web. Util.CalliEventHandlerDelegateProxy.Callback (object sender, EventArgs e) in System.Web.UI.Control.OnLoad (EventArgs e) in System.Web.UI.Control.LoadRecursive () in System.Web.UI.Page.ProcessRequestMain (Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Any idea what could go wrong here?
Jordon Willis Jul 17 '10 at 4:01 2010-07-17 04:01
source share