I detached a DB named SEM4 that was working well and substituted another test version which attached OK and my testing, etc. went well. I am using SQL Server 7 from VS 6 Enterprise.
Now I cannot re attach the original version. This is critical because it contains quite a bit that is not backed up. Shame on me!
All attempts to attach thru code in the program and thru the Query Analyzer trying both single and multi file attach give the same result: Error -2147212501 in Microsoft SQL-DMO[ODBC SQL State:HY000] Reason: [Microsoft][ODBC SQL Server driver][SQL Server] The LSN [795:169:1] passed to log scan in database 'SEM4' is invalid.
I do not believe the DB is corrupted as I have another copy of the same DB that was "saved" a day prior to this happening and it gives the same result when I try to attach it. (This has worked well in the past and I thought this to be a sufficient back up for my purposes).
I do not even know what the LSN is and I can't find documentation on it.
Can any one help? I am supposed to hit the road in the morning to customers who have been promised the results of what I am doing.
TIA
Ralph D. Meredith
Now I cannot re attach the original version. This is critical because it contains quite a bit that is not backed up. Shame on me!
All attempts to attach thru code in the program and thru the Query Analyzer trying both single and multi file attach give the same result: Error -2147212501 in Microsoft SQL-DMO[ODBC SQL State:HY000] Reason: [Microsoft][ODBC SQL Server driver][SQL Server] The LSN [795:169:1] passed to log scan in database 'SEM4' is invalid.
I do not believe the DB is corrupted as I have another copy of the same DB that was "saved" a day prior to this happening and it gives the same result when I try to attach it. (This has worked well in the past and I thought this to be a sufficient back up for my purposes).
I do not even know what the LSN is and I can't find documentation on it.
Can any one help? I am supposed to hit the road in the morning to customers who have been promised the results of what I am doing.
TIA
Ralph D. Meredith