You use SQL for database, don't you?
In my opinion, I think your error may occur when you,or say, your program try to connect databae by using 'sa' user, but in fact, your SQL login mode might be set as logining by using WinNT Way.
Maybe you can replace the code "User Id=sa;pwd=;" with these -- "Integrated Login=SSPI" to solve the problem. I think that may work.
|