Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DNN in DMZ with WIADNN in DMZ with WIA
Previous
 
Next
New Post
5/7/2012 2:39 PM
 

Hi! I am new to DNN and I am not a computer wizard. I am want to use DNN to host a website. I can setup DNN to access the SQL db with SQL mixed mode authN but I cannot accomplish a connection using WIA.

I am using DNN 6.1.5 and two 2008r2 servers (IIS 7.5 and SQL 2008r2) .

The IIS server will be placed in DMZ and the backend is the SQL db, which is a different server. Both IIS and SQL are standalone and they are not part of a domain (or authN/authZ by an AD) . IIS is directly connected to the SQL database. All I want is the DNN with WIA to connect to the database. But I am a bit lost.

I do have a .NET 4 apppool for DNN.
The connection string: <add name="SiteSqlServer" connectionString="Server=DBSQL2008R2,1433;Database=DNNbatman;Integrated Security=SSPI" providerName="System.Data.SqlClient" />

I tried following settings in the web.config file:
<identity impersonate="true"/>
<authentication mode="Windows">
</authentication>

and
<identity impersonate="true" userName="DBSQL2008R2\sqlusr_joker" password="TheBatMobil3"/>

The WIA should only be used for a DNN to SQL connection and potential users are just user registered in DNN, not AD users.

I am missing something but I am lacking experience with computers. I read some MS articles about impersonation but this is too much computer wizard magic at the moment. Please point me in a good direction to resolve my issue. Thank you in advance.

Greets,
JP

 
New Post
5/7/2012 4:37 PM
 

1.  only the 2 connection strings in the web.config file are needed to setup for connection to the database!

2. To use Windows Authentication your IIS Server and SQL must work together to Authenticate.  You have to add the IIS Aplication Pool User of the Application Pool you are using for your DNN instance to your SQL Servers security and your DNN database.  Add them as dbOwner! 

3. If you using an other schema as the 'dbo' for your database you have to set the databaseOwner of the web.config file to the schema of your database user.

Notice:  After a faild dnn installation you have to delete the database and recreate it new! 

 
New Post
5/9/2012 6:29 PM
 
Thank you for the answer. Your answer makes a lot of sense. I will try the proposed answer and update the thread asap.
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DNN in DMZ with WIADNN in DMZ with WIA


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.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out