ITPub博客

首页 > 数据库 > 数据库开发技术 > Error 945 Database cannot be opened due to inaccessible files or insufficient memory or disk space

Error 945 Database cannot be opened due to inaccessible files or insufficient memory or disk space

原创 数据库开发技术 作者:oo0yuki0oo 时间:2010-05-11 15:54:24 0 删除 编辑

今天连db结果遇到如下错误:

SQL SERVER – FIX : Error 945 Database cannot be opened due to inaccessible files or insufficient memory or disk space. See the SQL Server error log for details

第一直觉就是dbf的权限问题,一查果然。。。。

由于空间不够

还顺便把dbf文件移动了下
再attach上
sql模板如下:

CREATE DATABASE [ALS_LFE] ON PRIMARY
( NAME = N'DXXXXXXXXXXXXXXXXX', FILENAME = N'DXXXXXXXXXXXXXXXXX.mdf' , MAXSIZE = XXXXKB, FILEGROWTH = XXXXKB )
LOG ON
( NAME = N'DXXXXXXXXXXXXXXXXX_log', FILENAME = N'DXXXXXXXXXXXXXXXXX.ldf' ,MAXSIZE = UNLIMITED , FILEGROWTH = 10%)
FOR ATTACH
GO

[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/8337095/viewspace-1033527/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-04-22

  • 博文量
    62
  • 访问量
    82173