简体   繁体   中英

"Warning: Issue establishing a database connection!" but the connection string is correct

I am migrating a .NET application from one server to another. All I did was zip and move the compiled project folder from one server to another. Then I edited the connection string with correct server name, username and password. On the back end I tested the username and password and everything works fine. Also check the permissions. Nothing is wrong. But the site login is still not working and is throwing Warning: Issue establishing a database connection! error when I enter username/password and hit login. Any help?

Do you have any weird characters in your password that need escaping in your config file? Not that I want to know what characters you have in your password, of course.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM