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
Solved

Database Restore Error

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
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

839 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