General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Conf. MSDE para aceitar conexoes por IP
Ola, onde configuro o MSDE para aceitar conexoes por IP?
estou utilizando a conexao abaixo e na minha estacao funciona! instalei o o msde no cliente e só consigo acessar trocando o ip pelo nome do servidor, o que pode estar errado?
lstring="Driver={SQL Server};" +;
"Server=192.168.157.250;" +;
"Address=192.168.157.250;" +;
"Network=DBMSSOCN;" +;
"Database=ads;" +;
"Uid=sa;" +;
"Pwd=senhaforte"
Public gnConnHandle
gnConnHandle=SQLstringConnect(lstring)
If gnConnHandle < 0
MessageBox("Erro ao estabelecer conexão com o banco de dados")
Else
Wait window [Conexao Ok]
=SQLDisconnect(gnConnHandle)
EndIf
O cliente tem as mesmas versoes de windows e não tem firewall instalado, instalei o msde da mesma forma que instalei na minha maquina:
setup SECURITYMODE=SQL SAPWD="free" /L*v C:\MSDELog.log
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only