AccordingToDale
Programmer
This may be the wrong place to post this, but...
I have a VB.NET app that connects to an MSDE db. The app has an option to backup the db, which works very well.
Essentially, I disconnect the app from db, use osql to create the backup via a script file, then re-connect the app to the db.
I am using the same approach to restore, but for some reason I cannot restore. The script file works fine. I can run it from either QA or as a batch file and no problems, but when run from the app it doesn't work, even though it is disconnected from the db.
Unfortunately, I am not able to capture an error in the app (from the app perspective, there is no error), so I have no idea why it isn't working, but if anyone has any thoughts...
Dale
I have a VB.NET app that connects to an MSDE db. The app has an option to backup the db, which works very well.
Essentially, I disconnect the app from db, use osql to create the backup via a script file, then re-connect the app to the db.
I am using the same approach to restore, but for some reason I cannot restore. The script file works fine. I can run it from either QA or as a batch file and no problems, but when run from the app it doesn't work, even though it is disconnected from the db.
Unfortunately, I am not able to capture an error in the app (from the app perspective, there is no error), so I have no idea why it isn't working, but if anyone has any thoughts...
Dale