web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Restoring Database error Message

(0) ShareShare
ReportReport
Posted on by

i'm trying to restore one database but i'm facing an error message 

3107.Untitled.png

please help ASAP matter is urgent

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at
    RE: Restoring Database error Message

    thanks for you all whoever tried to help today i restart the server then it works i really didn't know why it happened but anyway now its working fine. now i have lot of inquires but i will make a new post for it expecting help from all as usual

    thanks

  • Jothi Krishnan N Profile Picture
    1,877 on at
    RE: Restoring Database error Message

    Also make sure...you marked the option "Close existing connections to destination database" under Options tab

  • Community Member Profile Picture
    on at
    RE: Restoring Database error Message

    Thank you all for the fast responding,

    Since I don't know the reason of the problem so I'm gonna try all the solutions one by one and I will let you know once it's solved.

    again thank you so much  

  • Suggested answer
    coquisalsa Profile Picture
    2,725 on at
    RE: Restoring Database error Message

    The answer to the issue you are facing depends on the cause of the problem. All the answers you have been giving are correct and might apply to you.

    I will suggest another possible solution, try stooping SQL Server Agent before restoring the DB. Beware that this solution might not be the right solution for you since it will affect all SQL Server, but if this is not an issue for you can try it.

  • Suggested answer
    Redbeard Profile Picture
    12,931 on at
    RE: Restoring Database error Message

    Try stopping Management Reporter Services from the Console. Management Reporter is constantly accessing database.

  • Suggested answer
    Tom Cruse Profile Picture
    1,477 on at
    RE: Restoring Database error Message

    Also to piggy-back on what Mahmoud and Harry mentioned, be sure to know what other servers or services might be hitting your database. We have a 3rd party asset management software that we've built some custom integrations with and that service hits the server ever minute so you might see a user or service in the activity monitor, you kill the process, go to restore and BAM! there it is again.

    After we Kill that user we're not able to restore quick enough before the service hits the server again so you have to navigate to the server that the service resides on and stop it before you can try to restore. Just be sure to start it back up after your restore.

  • Suggested answer
    Mahmoud Saadi Profile Picture
    32,738 on at
    RE: Restoring Database error Message

    Hello there,

    You are not being able to restore the database because it is being in use. Before restoring the database,  follow the steps below:

    1- On the SQL Management Studio, right click on the instance name and choose "Activity Monitor"

    22222.png

    2- On the Activity Monitor, under the "Processes" tab, filter by the specific database which you want to restore upon

    22222.png

    3- The activity monitor will show the current processes, as you make sure that all Dynamics GP users are out of the system, right click on the existing processes and choose "Kill Process"

    333333333.png

    Now as there are no current processes running, proceed with the restore.

    Your feedback is highly appreciated,

  • Suggested answer
    Redbeard Profile Picture
    12,931 on at
    RE: Restoring Database error Message

    It appears as though there are several causes, you'll need to rule out. Here's a list:

    1. Make sure the user doing the restore has access to the ANTAB.mdf file (all files) in the d:\program files\Microsoft SQL server\MSSQL 12.MSSQLSERVER\MSSQL\DATA\ folder.

    2. Make sure the folder above is exempted from your antivirus check, and that no other process is accessing the contents.

    3. Make sure you don't have an hourly transaction log back up or other maintenance process accessing this database through SQL Server Agent Services.

    Finally, I have a blog post on SQL Restore problems, which usually manifest as cannot obtain exclusive access. Try using the scripts in this database to make sure you are not accidentally locking the ANTAB database with another process.

    http://redbeardblogging.blogspot.com/2014/09/restore-failed-for-server-exclusive.html

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
babubaskaran@outlook.com Profile Picture

babubaskaran@outloo... 2

#1
Yng Lih Profile Picture

Yng Lih 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans