Solved

Database Restore Error

Posted on 2003-11-03
4
1,460 Views
Last Modified: 2008-02-01
Hello,

I am getting the following error:

Microsoft SQL-DMO (ODBC SQL STate: 42000)`

Modify file encountered operating system error 112(error not found) While attempting to expand the physical file.
Could not adjust the space allocation for the file 'Sales_log'
Restore Database is terminating normally

Any ideas as to the cause of this error,
thanks in advance.

0
Comment
Question by:taylorrr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 22

Expert Comment

by:CJ_S
ID: 9670143
Harddrive full?
0
 

Author Comment

by:taylorrr
ID: 9670329
Hello,

That was my first thought but it seems to have adequate space.
0
 

Accepted Solution

by:
charlotte1 earned 50 total points
ID: 9670648
You can try shrinking your log file:

DBCC SHRINKFILE({ldf file name}, 1)
BACKUP LOG {database name} WITH TRUNCATE_ONLY
DBCC SHRINKFILE({ldf file name}, 1)

and then try restoring again
0
 

Author Comment

by:taylorrr
ID: 9670690
That worked thanks...
0

Featured Post

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question