[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 231
  • Last Modified:

SQL Server 2005 Express, I have a BAK file..I am trying to use SQL Server Manager Studio...I am getting the following error that I need mdf file but I have no...

Hi there;

I am using SQL Server 2005 Express, I have a BAK file..I am trying to use SQL Server Manager Studio...I am getting the following error that I need mdf file but I have no mdf file...All I have is bak file...and import it successfully...Please examine the screenshots...

Best regards...
1.jpg
2.jpg
0
jazzIIIlove
Asked:
jazzIIIlove
  • 3
  • 3
  • 2
3 Solutions
 
udaya kumar laligondlaTechnical LeadCommented:
goto options tab and change file path for both MDF and log files
0
 
RiteshShahCommented:
follow this path after creating blank database.

right click on data,
click on Restore->Database
select "From Device" radio button
add your .BAK file
once you add .BAK, check "Restore" check box beside your .BAK
Now, Go to option at left hend side
"overwrite the existing database" check box. (first checkbox)
give the page in "Restore As" section for you MDF and LDF file. (new location where you want to create DB)
leave everything default and click on OK button
0
 
udaya kumar laligondlaTechnical LeadCommented:
as shown in the figure. cahnge the restore as path
Config.JPG
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
jazzIIIloveAuthor Commented:
udayakumarlm:
RiteshShah:

Please examine the screenshots a), b)  and c)

udayakumarlm:

Could you give the full path? I cannot see whoe path in your screenshot...

Best regards...

a.jpg
b.jpg
c.jpg
0
 
jazzIIIloveAuthor Commented:
Reminder: I have no *df file...
0
 
RiteshShahCommented:
try using one check box in first screen shot.
0
 
udaya kumar laligondlaTechnical LeadCommented:
you can specify something like c:\a.mdf or c:\dbpath\a.mdf and c:\a.ldf or c:\dbpath\a.ldf
the path must be accessable. it can be anywhere on the system.
the LDF and MDF files are inside the BAK file
0
 
RiteshShahCommented:
moreover, where did you create Alumni database before restore? give the same path
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now