Groups | Blog | Home
all groups > sql server msde > march 2007 >

sql server msde : MSDE 2000


Fred Boltz
3/27/2007 4:12:14 PM
Hello!!

I have a application that creates an instance of MSDE 2000 called
MMSQL$EMMSDE. It uses its own login to pass inforamtion called embuser. This
company does not provide information on how to recover data from the
database. I have a client that had their motherboard crash and needed a new
computer and wanted to recover the data off the drive. I have the MDF and LDF
files all under the data folder. Everytime I copy these over to a new
installation says that it is no good and my aplication I use cannot connect
to it as well. Is there anyway that anybody knows of on how to reconnect the
MDF file to another computer that has a fresh install of this applciation and
instance so it can receover the data?

Any and all posts is appreciated.

Thanks,

Norman Yuan
3/27/2007 5:02:30 PM
After you copied the MDF and/or LDF files to the new computer, where an SQL
Server/MSDE is installed, did you attached the data file the the instance of
SQL Server/MSDE?


[quoted text, click to view]

Fred Boltz
3/29/2007 9:08:01 PM
I tried using a 3rd party software to attach the file but could not. Can you
tell me how to go about doing that?

[quoted text, click to view]
Andrea Montanari
3/30/2007 12:00:00 AM
hi Fred,
[quoted text, click to view]

have you been reported with an exception? what is the message?
--
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz http://italy.mvps.org
DbaMgr2k ver 0.21.0 - DbaMgr ver 0.65.0 and further SQL Tools
--------- remove DMO to reply

Andrea Montanari
3/30/2007 12:00:00 AM
hi Fred,
[quoted text, click to view]

you answered to Norman:
[quoted text, click to view]

did the tool you used to re-attach the database reported you an exception?

anyway, you can use oSql.exe, the command line tool provided with MSDE to
reattach the database..
you have to log in as a sysadmin member so to have admin permissions granted
in MSDE using a truste connection, or you have to provide credentials of a
standard SQL Server login member of the sysadmin SQL Server group (like
"sa")..
once you are connected, you have to execute the sp_attach_db
(http://msdn2.microsoft.com/en-us/library/aa259611(SQL.80).aspx) system
stored procedure like
1>EXECUTE master..sp_attach_db @dbname = 'the_database_name',
2>@filename1 = N'ful_path_to_the_mdf_file.Mdf',
3>@filename2 = N'ful_path_to_the_ldf_file.Ldf'
4>GO

then you can quit oSql.exe.. see
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q325003 for further
info about oSql.ex and MSDE uses
--
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz http://italy.mvps.org
DbaMgr2k ver 0.21.0 - DbaMgr ver 0.65.0 and further SQL Tools
--------- remove DMO to reply

Fred Boltz
3/30/2007 5:00:02 AM
Andrea,

I am not sure of your question. What do you mean by have I been reported
[quoted text, click to view]

Hello!!

I have a application that creates an instance of MSDE 2000 called
MMSQL$EMMSDE. It uses its own login to pass inforamtion called embuser. This
company does not provide information on how to recover data from the
database. I have a client that had their motherboard crash and needed a new
computer and wanted to recover the data off the drive. I have the MDF and LDF
files all under the data folder. Everytime I copy these over to a new
installation says that it is no good and my aplication I use cannot connect
to it as well. Is there anyway that anybody knows of on how to reconnect the
MDF file to another computer that has a fresh install of this applciation and
instance so it can receover the data?

Any and all posts is appreciated.

Thanks,

Fred


[quoted text, click to view]
Phil
4/12/2007 8:30:31 PM
Fred, have you found the answer????? I'm guessing after a couple of weeks
you have managed to sort it! Let us know.

Phil
[quoted text, click to view]

AddThis Social Bookmark Button