I am trying to use the aspnet___regsql utility to install all the membership tables in a database on my local SQL Express 2008 instance. I can connect without problems in Management Studio, but when I try to list the databases in the aspnet_regsql interface i get an error message saying:
Failed to query a list of database names from the SQL Server. Invalid object name 'sysdatabases'
What am I doing wrong? How do I fix this?
(Please tell me there’s a smoother way than reinstalling the thing… :P)
I have solved the problem by bypassing the graphic interface and performing the same action directly in the command prompt, with flags specifying all options. They should look like this:
Connect using SQL Authentication
Connect using Windows Authentication
The difference is at the end of the lines, where SQL Auth. has
-U myUsername -P myPasswordwhile Windows Auth. has-E(which flags for Trusted Connection).