Solved

Database Restore Error

Posted on 2003-11-03
4
1,461 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

Technology Partners: 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!

Question has a verified solution.

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

The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
I have a large data set and a SSIS package. How can I load this file in multi threading?
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

717 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