ASP.NET MS SQL database connectivity problem using IIS?

Mit Chauhan

New member
hello all ..

m making my simple ASP.NET 4.0 (.ASPX) website in IIS 5.1 with connectiny my MS SQL database in that ..

in which i m using one simple Textbox and a Button .. if the user clicks on a button then the value will add in the MS SQL database ..

but when m clicking on a button m getting this error saying ,. ..
--------------------------------------…
Failed to update database "C:\INETPUB\WWWROOT\ANOTHER DATABASE TRY\APP_DATA\DATABASE.MDF" because the database is read-only.
--------------------------------------…
here is my code. .

http://answers.yahoo.com/question/index?qid=20110213230214AAYbola
here is my code ..

http://answers.yahoo.com/question/index?qid=20110213230214AAYbola
can anybody tell me y m getting this error .. what i should do ..

i have done all the basic things to remove this error .. by setting up the permission wizard .. , right clicking the database folder and unchecked the "READ ONLY " etc .. but still getting the same prob :(
 
Back
Top