Products

Solutions

Learn More

Partners

Community

Blog

About

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...SQL Configuration issues/ questionsSQL Configuration issues/ questions
Previous
 
Next
New Post
2/17/2017 6:21 PM
 
I am trying to set up a development environment on a local machine and am having issues.  I was hoping someone could answer some basic SQL Server questions, as it seems that   the way to configure IIS has changed since the lat time I did this.

The database is named "dnndev.me" and the user is named "dnndev"

1. There are two locations in the database for users/logins. one under "\security\logins" and another under "/dnndev.me/security/users".
The user "dndnev" is listed in "\security\users" but not in "\dnndev.me\security\logins".
there is a user "dbo" under "\dnndev.me\security\logins" but not under "\security\users"
The properties-user mapping for user "dnndev" has the db_owner shema checked.  There is no 'dbo" schema to check.
"dbo" is listed as a user under  "\dnndev.me\security\users" but "dnndev" is not.  When I try to add add "dnndev", I get an error saying a user with that name already exists.
If I log into SSMS as dnndev and create a table, it is listed as dn_owner.test instead of dbo.test

There is obviously some relationship between the users listed iuneder "users" and those listed under "logins", but I don't udnerstand what it is.

Can someone explain the relationship as well as how to create/configure my user "dnndev" so that DNN works properly.
there is also a user "IIS Apppool/dnndev.me" which reflects the name of the application pool configured for this application.  I assume that there should be some configuration related to that user as well.  Any help would be appreciated.

(this is windows 10 prof, SQL Server 2016, DNN 8.xx )
 
New Post
2/17/2017 7:16 PM
 
this hasn't changed since SQL Server 2000 (at least):
- there is a SQL Server login account, which is mapped to a database user to get access to the database schema and content.
- if you are using SQL Server Management Studio (SSMS), easiest is deleting the database user (as long as he doesn't own any objects), right click the login account to enter properties. Select User Mapping and check the database to grant access, enter "dbo" as schema and assign desired roles (for DNN usually "dbowner" role)
- otherwise you may use T-SQL with "MAP User" command.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...SQL Configuration issues/ questionsSQL Configuration issues/ questions


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
DNN Launch Webinar
REGISTER NOW
DNN Launch Webinar
REGISTER NOW
DNN Launch Webinar
REGISTER NOW