Chapter 10 login problem
I typed all the code for chapter 10, then when I went to run the program, I got the following error on startup:
"Cannot open database requested in login 'servera'. Login fails. Login failed for user 'sa'."
My first thought was that my encrypt/decrypt wasn't right, so I checked that. I made sure that the strings I used for bytKey() and bytIV() to create the registry entry was the same as the strings I used in WDABase.
I'm using MSDE, so I checked to make sure that it is in mixed mode (it wasn't, but I figured that out and fixed it based upon another post in this forum).