Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Sep 02, 2011 06:10 PM by staceyhd
Sep 02, 2011 01:54 PM|LINK
I had created a member log in using Visual Web Developer Express, but now I keep getting this error message:
One or more files do not match the primary file of the database. If you are attempting to attach a database, retry the operation with the correct files. If this is an existing database, the file may be corrupted and should be restored from a backup.
Cannot open user default database. Login failed.
Login failed for user 'GASLIGHT\Betty'.
Log file 'C:\Documents and Settings\Betty\My Documents\HOG Chapter Website\App_Data\aspnetdb_log.ldf' does not match the primary file. It may be from a different database or the log may have been rebuilt previously.
How can I fix this?
Sep 02, 2011 06:10 PM|LINK
I have also gotten this error message aswell...
There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to
a page where you can choose a new data store.
The following message may help in diagnosing the problem:
Unable to connect to SQL Server database.