sqlserver2005创建数据库时,错误提示如下:尝试打开或创建物理‘c:\数据库\db.mdf’时,Create File遇到操作系统错误5(拒绝访问)
问题:CREATEDATABASEtest1ONPRIMARY(NAME=test1,FILENAME='C:\ProgramFiles\test1.mdf',SIZE=10240KB,MAXSIZE=UNLIMITED,FILEGROWTH=10%)LOGON(NAME=test1_log,FILENAME='C:\ProgramFiles\test1_log.ldf',SIZE=1024KB,