yes,
I will call the dbo 'nigel' - this name is listed in the connection string:
e.g.
<add name="sqldataprovider" type="DotNetNUke.Data.sqlD....... ObjectQualifier="" databaseowner="nigel" />
<connectionStrings>
<add name="siteSqlServer" connectionString="Data source=xxx.xxx.xx.xx; Initial Catalog=MyServer; User ID =nigel;.... />"
</connectionStrings>
<appSettings>
<add key="SiteSqlServer" connectionString="Data source=xxx.xxx.xx.xx; Initial Catalog=MyServer; User ID =nigel;.... />"
......
</appSettings>
here is an example of my settings:
SQL2005 settings:
I will call our database: dbTest
User trying to connect to dbTest - I will call 'nigel'.
Secuity >> Logins >> nigel >> Properties:
General: login name = nigel
Default database = dbTest (not sure if this matters)
Server Roles = public is checked (although I have tried checkng everything)
User Mapping = dbTest is checked. user for this = nigel. default schema = nigel
Database Role Membership = db_owner and public are checked.
Status = Grant & enabled are checked.
dbTest >> Security >> users >> nigel >> Properties:
user name = nigel
default schema = nigel (not sure f this matters?)
Owned schemas: db_owner & nigel are checked
database role membership: db_owner is checked (uner role members)
Securable: got lots of aspnet stuff listed under Name (e.g. aspnet_AnyDataInTables, aspnet_checkSchemaVersion, aspnet_MembershipChangePassword etc - Type = Stored procedure,
Explicit permissions for all these - all have execute checked under the grant column)
Notes;
* We used to have 3 dnn sites - all use the same connection (nigel as the dbo and nigel as the user and same pwd etc) and all used to work ok .
* We recently made some changes - just moved the mdf and log files and back up files to a new location.
*After the above folder change - we had to create new user accounts with a new login in order to get all sites working again.