I have full control permissions checked off on the database and this prject still does not work. Has anybody have this problem?
Server Error in '/FileShare' Application.
--------------------------------------------------------------------------------
Failed to update database "C:\INETPUB\WWWROOT\FILESHARE\APP_DATA\FILESHAREDB .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 "C:\INETPUB\WWWROOT\FILESHARE\APP_DATA\FILESHAREDB .MDF" because the database is read-only.
Source Error:
Line 42: 'open the connection and execute the stored procedure
Line 43: mConnection.Open()
Line 44: mResourceID = mCommand.ExecuteScalar()
Line 45: mConnection.Close()
Line 46:
Source File: C:\inetpub\wwwroot\FileShare\App_Code\Dal\Resource DB.
vb Line: 44
Stack Trace: