VC++ Can connect to one SqlServer DB but not an other. Need help
Posted on 2006-11-29
I am working on a VC++ application and chaning it to use Windows Authentication to replace the old SqlServer Authentication.
I made changes in VC++ code and tested it agaist dev database and it works fine.
But the same changes don't work in a test database. I checked in test
that I have windows authentication id set up. I don't know what else
I can do.
below is the source code where it breaks. We use Rogue Wave to connect. The same code works fine for dev DB.
db = RWDBManager::database( lpczServerType, lpczServerName,
The error msg I got is:
Vendor Library Error: Login incorrect.
I am really frustrated here.