I have a C# click once deployed application that uses SQL Server Express. A database is zipped and downloaded to the client computer and put in a directory. In the application, there is a button to display mdf files that can be attached. The SMO method attachdatabase(databasename, string collection of MDF and LDF) are used to attach the database. When I run this under Vista, I get an access denied error message.
When I try the attach, the user has admin priviledges. The click once program has a digital signature.
I want the database to be attached by the application. I do not want to use SSMS.
View Complete Post