SQL server 无法创建新数据库的错误问题

报错如下:“*.mdf” is compressed but does not reside in a read-only database or filegroup. The file must be decompressed.

原因是创建数据库的文件存在于压缩属性开启的文件夹下,因此需要将文件夹的“压缩文件以便节省空间”的选项去掉。

如果在安装InSQL的过程中发生,先不关闭安装,然后去掉目标文件夹的压缩属性,再点击“重试”按钮,即可!

原文地址:https://www.cnblogs.com/jiewei915/p/2017648.html