Error Messagehttp://forums.asp.net/t/1716706.aspx/1?Error+MessageFri, 02 Sep 2011 18:10:07 -040017167064580253http://forums.asp.net/p/1716706/4580253.aspx/1?Error+MessageError Message <p>Hi,<br> I had created a member log in using Visual Web Developer Express, but now I keep getting this error message:</p> <p>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.&nbsp; If this is an existing database, the file may be corrupted and should be restored from a backup.<br> Cannot open user default database. Login failed.<br> Login failed for user 'GASLIGHT\Betty'.<br> Log file 'C:\Documents and Settings\Betty\My Documents\HOG Chapter Website\App_Data\aspnetdb_log.ldf' does not match the primary file.&nbsp; It may be from a different database or the log may have been rebuilt previously.</p> <p>How can I fix this?</p> <p>Stacey</p> 2011-09-02T13:54:02-04:004580749http://forums.asp.net/p/1716706/4580749.aspx/1?Re+Error+MessageRe: Error Message <p>&nbsp;I have also gotten this error message aswell...</p> <p>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. <br> <br> <span id="ctl00_ctl00_content_content_exceptionMessageLabel0">The following message may help in diagnosing the problem: </span><span id="ctl00_ctl00_content_content_exceptionMessageLabel1" style="font-weight:bold">Unable to connect to SQL Server database.</span></p> 2011-09-02T18:10:07-04:00