So I have a use case where we need to backup/restore and detach/attach an InMemory OLTP Database to another/restore server.When I detached the files and present it to the same server using ( it is missing the _mod files) I get the following error:Let me know if we can preemptively clear the production server of the inmemory oltp configuration(Image attached).TITLE: Microsoft SQL Server Management Studio------------------------------Attach database failed for Server 'WIN-C45O1PB6UO6'. (Microsoft.SqlServer.Smo)------------------------------The operating system returned the error '32(The process cannot access the file because it is being used by another process.)' while attempting 'FsFileHeader::Open' on 'C:\TEMP\AdventureWorks2014_mod'.A file activation error occurred. The physical file name 'C:\TEMP\AdventureWorks2014_mod' may be incorrect. Diagnose and correct additional errors, and retry the operation.Could not open new database 'AdventureWorks2014_Attached'. CREATE DATABASE is aborted. (Microsoft SQL Server, Error: 3634)
↧