There is no problem for me to run the site locally. I've created admin locally using ASP.Net Configuration. I've also deployed it to CrystalTech, there's no problem for me to browse the site as well. But, when I tried to login as admin, error showed as below. Do
I need to do something like SSEUTIL command on my local machine first? Can someone help me with this? Thanks a lot!
Brian
Failed to update database "D:\INETPUB\DOMAINID101357\APP_DATA\ASPNETDB.MDF" because the database is read-only.
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 "D:\INETPUB\DOMAINID101357\APP_DATA\ASPNETDB.MDF" because the database is read-only.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
I had the same problem at bringing the website to server, and after trying every 'wise' fix I could find on Google, I thought to myself how about if I just reboot the server (had been running for months without a reboot) - that did it. Magically, the reboot
opened the database. Prior to reboot I gave NETWORK SERVICE Modify control over the App_Data directory - I'm not sure if that made a differance, but so you all know, that error bitch is out....
panwt
Member
54 Points
16 Posts
Failed to update database: "APP_DATA\ASPNETDB.MDF" is read-only on host site
Jun 23, 2005 02:56 PM|LINK
Brian
Failed to update database "D:\INETPUB\DOMAINID101357\APP_DATA\ASPNETDB.MDF" because the database is read-only.
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 "D:\INETPUB\DOMAINID101357\APP_DATA\ASPNETDB.MDF" because the database is read-only.
Source Error:
Stack Trace:
DarrellNorto...
All-Star
86809 Points
9646 Posts
Moderator
MVP
Re: Failed to update database: "APP_DATA\ASPNETDB.MDF" is read-only on host site
Jul 06, 2005 12:10 PM|LINK
Darrell Norton's Blog
Please click "Mark as Answer" if this helped you.
JamesManhatt...
Member
22 Points
29 Posts
Re: Failed to update database: "APP_DATA\ASPNETDB.MDF" is read-only on host site
Jul 29, 2008 09:33 AM|LINK
I had the same problem at bringing the website to server, and after trying every 'wise' fix I could find on Google, I thought to myself how about if I just reboot the server (had been running for months without a reboot) - that did it. Magically, the reboot opened the database.
Prior to reboot I gave NETWORK SERVICE Modify control over the App_Data directory - I'm not sure if that made a differance, but so you all know, that error bitch is out....