Last post Aug 20, 2009 10:54 PM by chetan.sarode
Nov 03, 2005 11:51 AM|castlerigg|LINK
Jun 03, 2009 10:50 AM|prasoon|LINK
Just look into your Data folder ,the Log with the name might not be existing.
The LDF fiel must be there with some other name like databasename_1 etc.
Just rename the LDF file to database_log. and it should work.
Thanks and Regards
Jun 03, 2009 10:56 PM|chetan.sarode|LINK
The error message indicates that either the database file you are trying to attached has already been attached in sql express or there is data corruption in your database file(.mdf file) , thus the db file could not be attached. I would suggest you connect
to your sql express server through management studio to make a verification (Note here that since Sql Express use customer instance, in management studio, you must login using the same account as the one you used in your application). If that db file has been
attached, detach it and take another try.
If there is no such file attached already in your sql express, I would suggest you first attach that mdf file to your database. If you still get this error, it means that the mdf file is data corrupted (information in ldf file and mdf file does not match) and
cannot be used anymore---You need to restore it then.
Hope my suggestion helps
Jun 14, 2009 10:57 PM|chetan.sarode|LINK
Can you please update the status
Jun 15, 2009 11:03 PM|chetan.sarode|LINK
If you solved the error then please mark the answer for the post that helps you
Aug 20, 2009 10:54 PM|chetan.sarode|LINK
Are you able to create a new user now