Quantcast
Channel: SQL Server Setup & Upgrade Forum
Viewing all articles
Browse latest Browse all 7701

Side effect of SQl server upgrade from 2008 R2 to Server 2012, logical name of log file changed for one database

$
0
0

I came to know that name has changed when I tried to shrink the file. Here is the error message I got:

Shrink failed for LogFile "Tfs_TESTTFS_Log'. (Microsoft.SqlServer.Smo)

Additonal information

An exception occured while executing a Transact-SQL statement or batch.

(Microsoft.SqlServer.COnnectionInfo)

Could not locate file 'Tfs_TESTTFS_Log' for database 'Tfs_TESTTFS' in sys.database_files. The file 

either does not exist, or was dropped. (Microsoft Sql Server, Error: 8995)

This is test environment upgrade and I checked on production environment which is still on SQL 2008R2, shrink works fine.

Please help.


Viewing all articles
Browse latest Browse all 7701

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>