conexão sql server
-
2012년 5월 4일 금요일 오후 8:25
pessoal estou rodando um arquivo .bat que conecta no nas instancias e gera alguns relatorios.
rodei este mesmo arquivo em um servidor normal e foi numa boa.
fui rodar este mesmo arquivo em um nó de um cluster e recebo a seguinte mensagem:
Sqlcmd: Error: Microsoft SQL Native Client : Login timeout expired.
Sqlcmd: Error: Microsoft SQL Native Client : An error has occurred while establishing a connection to the server.
When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.- já verifiquei e a instancia está habilitada a receber conexão remota.
- o sql server browser tb está habilitado para as instancias.
- também informo que o script está no próprio servidor, ou seja não precisa de conexão remota ao meu entender.
alguem tem alguma dica do que posso fazer pra conseguir aplicar este script, este script já vem todo formatado pra conectar, apenas tenho que executar o arquivo .bat e ele faz o resto de acordo com alguns parametros e configurações em alguns arquivos que acompanham o mesmo.
obrigado..
모든 응답
-
2012년 5월 4일 금요일 오후 10:22
In a cluster, use the cluster names, not the machine names.
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se- 답변으로 제안됨 Maggie LuoMicrosoft Contingent Staff, Moderator 2012년 5월 7일 월요일 오전 6:52
-
2012년 5월 5일 토요일 오후 7:23
hello 2010eferreira,
if you post your question in english in this forum you'll probably get more answers.
I think Erland had given the answer already.
Please use Mark as Answer if my post solved your problem and use Vote As Helpful if a post was useful.
-
2012년 5월 7일 월요일 오후 1:52
I did not understand as well put the name of the cluster?
There is no parameter to step, just run the file that came configured with environment variablesEveraldo Ferreira
-
2012년 5월 7일 월요일 오후 1:53
I did not understand as well put the name of the cluster?
There is no parameter to step, just run the file that came configured with environment variablesEveraldo Ferreira
-
2012년 5월 7일 월요일 오후 4:59
the script is running locally.
Everaldo Ferreira
-
2012년 5월 7일 월요일 오후 9:45
-
2012년 5월 9일 수요일 오후 1:38Thanks, I found.
the cluster is divided into two servers:
A, two instances
B, three instances
Everaldo Ferreira
-
2012년 5월 9일 수요일 오후 9:36
-
2012년 5월 20일 일요일 오전 9:59
Please check this may help you.
http://www.macoratti.net/sql_cod.htm

