I'm trying to learn ASP.Net from "Beginning ASP.Net 2.0" (
VB). I just tried to run the complete sample website on XP Pro IIS. I followed the instructions in the book on how to setup the website, and I
think (I'm pretty sure) I got my permissions for the App_Data folder configured correctly. Anyhow, the website (running on localhost) seems to work, but when I click on the shopping cart, or when I go to the shop and click "add to cart" by an item, I get this error:
Quote:
|
quote:Failed to update database "C:\DOCUMENTS AND SETTINGS\ALL USERS\DOCUMENTEN\DEVELOPMENTWEBSITES\WROXUNITED\AP P_DATA\ASPNETDB.MDF" because the database is read-only.
|
Quote:
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Failed to update database "C:\DOCUMENTS AND SETTINGS\ALL USERS\DOCUMENTEN\DEVELOPMENTWEBSITES\WROXUNITED\AP P_DATA\ASPNETDB.MDF" because the database is read-only.
|
Does anybody know how to correct this problem?
Emiel