Inquiridor
Ajuda com Conexão do Servidor Web e Servidor BD

Pergunta
-
Prezados,
Tenho uma aplicação web que está hospedada em um servidor UOL e que se conecta com um servidor de minha empresa.
A aplicação funcionava perfeitamente, buscando e retornando dados de meu BD. Porém, derepente parou de funcionar.
O que posso checar para tentar identificar o problema ?
Já verifiquei algumas de minhas configurações e a porta IP 1433 está habilitada no TCP/IP do SQL Server e também o serviço do SQL está ativo no servidor de BD. Para ter certeza da conectividade já realizei testes através do site http://www.t1shopper.com/tools/port-scan
Aparentemente está tudo certo. O que mais posso estar checando para descobrir o porquê da aplicação web ter parado de se comunicar com meu BD ?
Fico no aguardo de retorno e desde já agradeço a ajuda.
Todas as Respostas
-
Prezados,
Tenho uma aplicação web que está hospedada em um servidor UOL e que se conecta com um servidor de minha empresa.
A aplicação funcionava perfeitamente, buscando e retornando dados de meu BD. Porém, derepente parou de funcionar.
O que posso checar para tentar identificar o problema ?
Já verifiquei algumas de minhas configurações e a porta IP 1433 está habilitada no TCP/IP do SQL Server e também o serviço do SQL está ativo no servidor de BD. Para ter certeza da conectividade já realizei testes através do site http://www.t1shopper.com/tools/port-scan
Aparentemente está tudo certo. O que mais posso estar checando para descobrir o porquê da aplicação web ter parado de se comunicar com meu BD ?
Fico no aguardo de retorno e desde já agradeço a ajuda.Complementando o post inicial, ao tentar se conectar ao BD pela minha aplicação, aparece a mensagem de erro abaixo. Alguma sugestão do que pode ser ?
Server Error in '/' Application.
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. -
Server Error in '/' Application.
Internal connection fatal error.
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.InvalidOperationException: Internal connection fatal error.
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:[InvalidOperationException: Internal connection fatal error.] System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +5054386 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) +164 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 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +123 System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) +166 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) +115 BD.BancoDados.ExecutaSelect(String comandoSql) in C1_AcessoBD.cs:104 C2_RegradeNegocio.curriculo.Consultar(String filtro) in RegradeNegocio.cs:168 entrada.Consultar_Click(Object sender, EventArgs e) +581 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +118 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +112 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
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272