Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12554

Msg 945, Level 14, State 2, Line 1

$
0
0

am using sql server 2008 express

i created a databse using the following queries

create database testdata

on primary(name= testdata,

filename='C:\data\testdata.mdf'),

filegroup filestreamgroup contains filestream(name=testdata_1,

filename= 'C:\data\testdata_1')

log on (name =log,

filename='c:\datatestdat.ldf')

go

i also created some table with columns and everything worked well. then i wanted to connect it to asp.net (visual studio 10) using data connections that is when i started having problems i followed the steps given in but it didnt work for me. on the process close the sql server management studio but i saved my work( the data that i have created)when i clouldnt connect the database to asp.net using data connections i came back to sql server management studio i opened it clicked on new query and type use testdata which is my database name what i got is this error "

Msg 945, Level 14, State 2, Line 1

Database 'MYdb' cannot be opened due to inaccessible files or insufficient memory or disk space.  See the SQL Server errorlog for details.

"

pls any help will be appreciated for it took me 2days creating and inserting all the data in this database


Viewing all articles
Browse latest Browse all 12554

Trending Articles



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