ASP.NET Members Database (SQL) REad Only Error - TechRepublic
Question
December 19, 2007 at 09:28 AM
tech

ASP.NET Members Database (SQL) REad Only Error

by tech . Updated 18 years, 6 months ago

I am trying to build a website, VS2008, Using the Login Controls and Create User Wizards, Having gone through the Website/ASP Configuration screens and set up a single sql database I get the ASPNETDB.MDF in App_Data, no problem creating and registering new users in development. When I have built the website and Published it to my Virtual Folder, Via IE i can goto my newly created website, but registering new users causes an error as the database is read only, and attempting to login to a known account says you do not have permission.
I have gone through dozens of things, creating ASP.NET as a dbo.owner taking the readonly attribute from the virtual folder and other files, widows just makes them read only again.
I have a permissions rule that only allows loged in users to access a certain folder, annonamous users are denied access, I removed the rule so that I can access the rest of the site but the database is still read only.

This is very frustrating, and judging by the google search of this error it affect thousands of people. With poorly thought out guesses as responces. If by default the database is set as read only who exactly do you undefault this feature, being a newbie I would need step by step instructions, if its a command line thing, where is the command line 🙂 As you may guess I am a frustrated noob, it is this sort of feature that puts people off.
Thank you all in advance for your responces to my questions.

This discussion is locked

All Comments