This article is a mirror article of machine translation, please click here to jump to the original article.

View: 10484|Reply: 0

[Solved] SQL 2008 prompts with an error message (provider: SQL Network Interfaces, error: 25 - Connection word).

[Copy link]
Posted on 4/5/2015 9:13:56 PM | | |
SQL 2008 R2 Error message (provider: SQL Network Interfaces, error: 25 - Invalid connection string)
This is my initial link string, and I don't feel like there is anything wrong

string strConn = "server=ip:1433; database=db; uid=sa; pwd=123456; "

Finally, I found out that the port after the IP is not separated: separated, it is separated by number, so the correct way to write it is:

string strConn = "server=ip,1433; database=db; uid=sa; pwd=123456; "






Previous:2015 Single Recruitment Examination Announcement (1)
Next:Insight into the basic types of Java and I++ thread security
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com