Pravin Ghadge
posted
359 posts
since
Jun 23, 2010
from
|
|
Re: Sql server service has stopped and when i try to restart it give me error.
|
|
|
|
|
|
|
|
|
|
|
Hi Farukh,
Just copy the .mdf & .ldf of ur database from Program files. It is same as ur backup of database.
|
|
|
|
|
|
Farukh Mujawar
posted
16 posts
since
Aug 23, 2011
from
Pune
|
|
Re: Sql server service has stopped and when i try to restart it give me error.
|
|
|
|
|
|
|
|
|
|
|
Thanks for your reply ....i copied database from C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data folder and paste to another machine it creates all the tables of my database but the data which was entered in that database not there. So what should i do now?
|
|
|
|
|
|
Pravin Ghadge
posted
359 posts
since
Jun 23, 2010
from
|
|
Re: Sql server service has stopped and when i try to restart it give me error.
|
|
|
|
|
|
|
|
|
|
|
Hi Farukh,
this is not possible. do u had attached that .mdf & .ldf in another pc. or u have done any other process. Plz elaborate.
|
|
|
|
|
|
Farukh Mujawar
posted
16 posts
since
Aug 23, 2011
from
Pune
|
|
Re: Sql server service has stopped and when i try to restart it give me error.
|
|
|
|
|
|
|
|
|
|
|
I copy and paste both files from data folder to another pc data folder and open my database.If this method is wrong then please let me know from where i get the both files and how to open this two files in another pc.
|
|
|
|
|
|
Pravin Ghadge
posted
359 posts
since
Jun 23, 2010
from
|
|
Re: Sql server service has stopped and when i try to restart it give me error.
|
|
|
|
|
|
|
|
|
|
|
Hi Farukh, ur method is not wrong. But had u attached that .mdf &.ldf in another PC.
|
|
|
|
|
|
Farukh Mujawar
posted
16 posts
since
Aug 23, 2011
from
Pune
|
|
Re: Sql server service has stopped and when i try to restart it give me error.
|
|
|
|
|
|
|
|
|
|
|
Hi Pravin , How can i attached .mdf & .ldf file . I just copy and paste both files from one computer to another. Please let me know the procedure to attached .mdf & .ldf files to another computer. Please find attached zip file of my both mdf and ldf file. Thanks and Regards Farukh
|
|
|
|
|
|
Pravin Ghadge
posted
359 posts
since
Jun 23, 2010
from
|
|
Re: Sql server service has stopped and when i try to restart it give me error.
|
|
|
|
|
|
|
|
|
|
|
1)Open Sql Server Management Studio 2)Login the server(use Windows or sql authentication) 3) Right click on Database there is Attach open option 4)Give the path of ur .mdf file.
|
|
|
|
|
|
Farukh Mujawar
posted
16 posts
since
Aug 23, 2011
from
Pune
|
|
Re: Sql server service has stopped and when i try to restart it give me error.
|
|
|
|
|
|
|
|
|
|
|
My problem is i am not able to login my sqlserver management that is the mail problem otherwise there is no need to take backup of this files. Please read my question carefully . I think u didnt get my problem.
|
|
|
|
|
|
Pravin Ghadge
posted
359 posts
since
Jun 23, 2010
from
|
|
Re: Sql server service has stopped and when i try to restart it give me error.
|
|
|
|
|
|
|
|
|
|
|
I had understood ur problem.
In ur 2nd reply u had mentioned that u had copied that .mdf & .ldf in another pc.
so Plz do this steps in another pc which has sql server installed.
|
|
|
|
|
|