Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

SQL Server Error 1411: Remote Copy Not Found

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

SQL Server error 1411 means the remote copy of the database you are trying to restore, attach, or access cannot be found at the location SQL Server expects. The fix is to verify the file path, correct the database name or file location, and ensure the service account has access to that path. This guide walks through the practical steps to resolve it.

What You'll Need

  • Access to SQL Server Management Studio (SSMS) or another client that can run T-SQL.
  • Permission to view and modify database files and service account rights.
  • The correct database name and file path for the remote copy.
  • If restoring, the backup file or the remote database must be accessible from the SQL Server instance.

Step-by-Step

  1. Identify the exact error context. Note whether error 1411 appears during a RESTORE, an ATTACH, a DBCC CHECKDB, or a query that references a remote database. The message usually includes the database name and file path SQL Server tried to use. Write those down.
  2. Check the database name. In SSMS, connect to the instance and run SELECT name FROM sys.databases;. Confirm the database name in the error matches an existing database. If it does not, you may be referencing a database that was dropped or renamed. Correct the name in your script or connection string.
  3. Verify the file path exists. On the SQL Server host, open File Explorer or a command prompt and navigate to the path shown in the error. If the path is a UNC share, confirm the share is reachable from the SQL Server machine. If the file is missing, restore it from backup or correct the path in your command.
  4. Check service account permissions. The SQL Server service account must have read (and for restore, read/write) access to the folder and files. In Windows, right-click the folder, choose Properties > Security, and confirm the account listed for the SQL Server service has the required permissions. You can find the service account in SQL Server Configuration Manager under SQL Server Services.
  5. For RESTORE operations, use WITH MOVE if needed. If you are restoring a database to a different instance or path, the backup may contain file paths that do not exist on the target server. Use RESTORE FILELISTONLY to see the logical file names, then RESTORE DATABASE ... WITH MOVE 'logical_name' TO 'new_path' to place files correctly. This prevents error 1411 caused by missing remote files.
  6. For ATTACH operations, confirm all files are present. When attaching a database, SQL Server needs both the MDF and LDF files (unless the database is read-only or the log is rebuilt). Check that every file listed in the error exists at the specified path and that the service account can read them.
  7. Test connectivity to remote shares. If the path is on a network share, log on to the SQL Server machine as the service account (or use EXEC xp_cmdshell 'dir \\server\share' if enabled) to confirm the share is accessible. Firewall rules or SMB permissions often block access.
  8. Review recent changes. If the error appeared after a server move, drive re-lettering, or a storage change, update the database file paths using ALTER DATABASE ... MODIFY FILE and then take the database offline and online, or restart the instance.
  9. Restart the SQL Server service if paths were corrected. In SQL Server Configuration Manager, right-click the instance and choose Restart. This refreshes file handles and can clear transient path issues. Warning: restarting disconnects users; do it during a maintenance window.

Common Mistakes

  • Assuming the error is about a remote server when it often refers to a file path that is simply missing or misspelled.
  • Forgetting that the SQL Server service account, not your logged-in user, needs access to the files.
  • Using a mapped drive letter for backups or database files; SQL Server services often cannot see user-mapped drives. Use UNC paths instead.
  • Restoring a backup without WITH MOVE, causing files to be placed in paths that do not exist on the target server.
  • Ignoring case sensitivity or extra spaces in database names and file paths.

Tips

  • Always use UNC paths (\\server\share\folder) for files accessed by SQL Server, not mapped drives.
  • Keep a script that lists database files: SELECT name, physical_name FROM sys.master_files; to quickly verify paths.
  • When moving databases, use ALTER DATABASE ... MODIFY FILE and then take the database offline and online to apply changes.
  • Document service account permissions for all database and backup folders to avoid future access errors.
  • Test restores on a non-production instance first to catch path issues early.

Troubleshooting

If error 1411 persists after checking the path and permissions, work through these steps:

  • Check SQL Server error log. In SSMS, expand Management > SQL Server Logs, or query sys.fn_dump_dblog if needed. The log often shows the exact file or share that failed.
  • Verify the service account. Run SELECT servicename, service_account FROM sys.dm_server_services; to confirm which account SQL Server uses. Then test access with that account.
  • Use Process Monitor. If permissions seem correct, use Process Monitor on the SQL Server host to watch for ACCESS DENIED or NAME NOT FOUND events on the file path when the error occurs.
  • Check for orphaned users or missing files. Run DBCC CHECKDB on the database if it is accessible; it may report missing files. If the database is suspect, restore from a known good backup.
  • Recreate the database reference. If the database was dropped but a script still references it, drop and recreate the database, or update the script to use the correct name.
  • Consult the SQL Server error documentation. Search for the exact error number and message in Microsoft's documentation for version-specific guidance.

Frequently Asked Questions

What does SQL Server error 1411 mean exactly?

It means SQL Server cannot find the remote copy of the database at the specified location. This is typically a file path, database name, or permission issue.

Can error 1411 occur during a restore?

Yes. It often happens when the backup contains file paths that do not exist on the target server, or when the service account lacks access to the restore destination.

How do I fix error 1411 quickly?

Check the database name and file path in the error message, confirm the files exist, and verify the SQL Server service account has read/write access to those locations.

Does error 1411 affect only remote databases?

No. Despite the word "remote," it can refer to any file path SQL Server cannot access, including local paths with permission issues.

What if the file path is correct but the error persists?

Check the SQL Server error log and use Process Monitor to see if access is denied. Also confirm the service account and that no antivirus or firewall is blocking access.

Can I use a mapped drive for SQL Server database files?

It is not recommended because the SQL Server service account may not see user-mapped drives. Use UNC paths instead.