Antony (antony.kll (AT) hotmail (DOT) com) writes:
Quote:
Cannot find the user 'dbo', because it does not exist or you do
not have permission.
I found that the sql that generate the error is:
CREATE ROLE [aspnet_Membership_BasicAccess] AUTHORIZATION [dbo]
I have seen that adding on database the db_owner rolemember for
userlogin the problem is solved but this feature is not included in
the microsoft documents for shared hosting I think for security
reason; |
I'm unfmailiar with the documents you refer to, but if you want to
create roles and users, you will need sufficient permission for
this. That is, membership in db_owner or db_securityadmin.
Note that the application should log in with db_owner, but the application
should not create users and that.
--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se
Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx