| |

VerySource

 Forgot password?
 Register
Search
View: 3133|Reply: 18

*** Have you ever seen such a problem? ***

[Copy link]

1

Threads

8

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 Invalid IP Address

Post time: 2020-2-22 20:30:01
| Show all posts |Read mode
The system is ok, because it is normal on other computers
ODBC is automatically set, but I cannot connect to SQL Server after installing the system
odbc is also set manually, but it still cannot be connected, and odbc is set correctly

The error prompt is:
Run-time error '-2147467259 (80004005)':
[Micrsoft] [ODBC SQL Server Driver] [TCP / IP Sockets] Specified SQL server not found.

I don't know which noble person can help this person?
Reply

Use magic Report

0

Threads

66

Posts

27.00

Credits

Newbie

Rank: 1

Credits
27.00

 China

Post time: 2020-5-4 13:45:01
| Show all posts
Either the server address is incorrect? Are you even connected to a remote server?
Reply

Use magic Report

0

Threads

88

Posts

55.00

Credits

Newbie

Rank: 1

Credits
55.00

 China

Post time: 2020-5-4 14:15:02
| Show all posts
You use the ip address to connect! Change to the appropriate database server name
Reply

Use magic Report

0

Threads

114

Posts

69.00

Credits

Newbie

Rank: 1

Credits
69.00

 China

Post time: 2020-5-4 14:30:01
| Show all posts
odbc connection problem ~
Reply

Use magic Report

0

Threads

66

Posts

27.00

Credits

Newbie

Rank: 1

Credits
27.00

 China

Post time: 2020-5-4 15:00:02
| Show all posts
Send the connection string to see
Reply

Use magic Report

1

Threads

8

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 Invalid IP Address

 Author| Post time: 2020-5-5 15:45:01
| Show all posts
It is a remote server, the server address is correct, because it is normal to use on many other computers, and the ODBC configuration method is the same;
The IP address is better than the database server name, but I also tried to use the server name, and I still ca n’t connect
Odbc connection should be no problem, I have reinstalled ODBC, if there is a problem with odbc, other computers will not run.

So I don't think it's a system or odbc problem, is there any problem with the settings on the installed computer?

Attached connection string:
Public Const DB_DSN = "SQL10"
Public Const DB_SERVER = "EDPSQL10"
Public Const DB_NAME = "MPEPWI"
Public Const DB_UID = "APPS_MPEPWI"
Public Const DB_UIDPWD = "0408191047"
Public Const DB_BAKPWD = "mpepwiback"
...
Set g_objDBService = New UD_Utility.DBService
    With g_objDBService
        .DSN = DB_DSN
        .Server = DB_SERVER
        .LoginID = DB_UID
        .Password = DB_UIDPWD
        .Database = DB_NAME
        .Connect Driver_SQLServer
    End With
...
Reply

Use magic Report

0

Threads

211

Posts

108.00

Credits

Newbie

Rank: 1

Credits
108.00

 China

Post time: 2020-5-5 18:00:02
| Show all posts
sqlserver server-> Start menu-> SQLserver-> Server network utility-> Enable WinSock proxy-> Proxy address: (sqlserver server IP)-> Proxy port-> 1433-> OK now
 
Connect with IP
Reply

Use magic Report

0

Threads

126

Posts

73.00

Credits

Newbie

Rank: 1

Credits
73.00

 China

Post time: 2020-5-5 22:15:01
| Show all posts
Has the SQL Agent been opened?
SQL Agent
Reply

Use magic Report

1

Threads

8

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 Invalid IP Address

 Author| Post time: 2020-5-7 02:00:01
| Show all posts
Because it comes from the client, there is no server installed, so there is no port setting.
Reply

Use magic Report

0

Threads

28

Posts

25.00

Credits

Newbie

Rank: 1

Credits
25.00

 China

Post time: 2020-5-7 11:15:01
| Show all posts
Server connection settings
sqlserver server-> Start menu-> SQLserver-> Server network utility-> Enable WinSock proxy-> Proxy address: (sqlserver server IP)-> Proxy port-> 1433
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list