A connection was successfully established with the server, but then an error occurred during the login process. (provider: TCP Provider, error: 0 - The specified network name is no longer available.)

  • 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 login process. (provider: TCP Provider, error: 0 - The specified network name is no longer available.)

    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 (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: TCP Provider, error: 0 - The specified network name is no longer available.)]

    System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +5050218

    System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() +234

    System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error) +555

    System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult asyncResult, TdsParserStateObject stateObj) +390

    System.Data.SqlClient.TdsParserStateObject.ReadNetworkPacket() +35

    System.Data.SqlClient.TdsParserStateObject.ReadBuffer() +30

    System.Data.SqlClient.TdsParserStateObject.ReadByte() +69

    System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +102

    System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK) +35

    System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, SqlConnection owningObject) +183

    System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, TimeoutTimer timeout) +239

    System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, TimeoutTimer timeout, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +195

    System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +232

    System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +185

    System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +33

    System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +524

    System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +66

    System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +479

    System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +108

    System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +126

    System.Data.SqlClient.SqlConnection.Open() +125

    awp.conexiones.conexiones.PGL_VERIFICAR_USUARIO(String user, String password) +177

    awp._Default.log1_Authenticate(Object sender, AuthenticateEventArgs e) +86

    System.Web.UI.WebControls.Login.OnAuthenticate(AuthenticateEventArgs e) +115

    System.Web.UI.WebControls.Login.AttemptLogin() +127

    System.Web.UI.WebControls.Login.OnBubbleEvent(Object source, EventArgs e) +101

    System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37

    System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +125

    System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +167

    System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10

    System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13

    System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36

    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563

    2 days ago my modem broke, they giving me a new modem but the ip is changed, so i changed my ip in the program and configurate in the sql manager the new ip but now is giving me this message

  • ip used before 204.224.xx.xx

    now 192.168.

  • albertowp25 (3/31/2012)


    ip used before 204.224.xx.xx

    now 192.168.

    192.168 is a class c private network (your internal network) while 204.224 was your external facing ip. from the error looks like you need to make sure your network configuration is set up correctly. you may need to enable port forwarding on your new modem router combo (which is what i think was installed in your upgrade given the change from a public IP to private IP)


    For faster help in answering any problems Please read How to post data/code on a forum to get the best help - Jeff Moden[/url] for the best way to ask your question.

    For performance Issues see how we like them posted here: How to Post Performance Problems - Gail Shaw[/url]

    Need to Split some strings? Jeff Moden's DelimitedSplit8K[/url]
    Jeff Moden's Cross tab and Pivots Part 1[/url]
    Jeff Moden's Cross tab and Pivots Part 2[/url]

  • SOLVED

    solution : put a rule in modem in NAT section, and open a port with the private ip in ur computer

    then in sql manager u gonna put the private ip with the port , but in programming code u put the public ip with the port

  • glad to hear you got it solved and i put you on the right track.


    For faster help in answering any problems Please read How to post data/code on a forum to get the best help - Jeff Moden[/url] for the best way to ask your question.

    For performance Issues see how we like them posted here: How to Post Performance Problems - Gail Shaw[/url]

    Need to Split some strings? Jeff Moden's DelimitedSplit8K[/url]
    Jeff Moden's Cross tab and Pivots Part 1[/url]
    Jeff Moden's Cross tab and Pivots Part 2[/url]

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply