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 ...What changes do I make to the web.config file?What changes do I make to the web.config file?
Previous
 
Next
New Post
6/30/2007 1:24 AM
 

I would greatly appreciate any help with installing DNN.  My setup is a local server running MS Server 2003, IIS 6.0 and MS SQL Server 2005 Express.  Here’s what I’ve done so far:

IIS Setup:

Using IIS Manager, I created a new Virtual Directory within the Default Website folder of the main Websites folder.  Right clicking the newly created folder, I selected the Virtual Directory Tab and set the path to a folder with the DNN install files.  Under the Documents Tab, I added Default.aspx and moved it to the top.  Under asp.net, I selected version 2.0.50727.  I am not clear whether or not I should have created a new website folder within the main Websites folder and deleted the Default Website Folder, created a website within the Default Website Folder, or created a virtual directory within the Default Website Folder.  There is a lot of conflicting information regarding this step.

MS SQL Server 2005 Express Setup:

Using SQL Server Management Studio Express, I created a new database.  Within the Security Folder under the Database Folder, I created a new login using SQL Server Authentication and assigned a password.  Next, within the database folder I just created, I opened Security then Users and created a new user by selecting the previously created new user from the drop-down menu.  I then assigned db_owner permissions.

Web.config setup:

Unless I’ve made a mistake or missed a step above, this is where my problem begins.  I’ve found no less than 10 links with directions in configuring the web.config file and none of them are the same.  This is where I would like to request some step by step (for the novice) instructions of how to change the default web.config file for my particular setup.

 

Any help will greatly be appreciated.  Thank you in advance from a novice who’s very first website will be designed using DNN or at least I hope!

 
New Post
6/30/2007 2:02 PM
 

I sounds like you did get the virtual folder setup right - it appears under the "Default Web Site". One thing you didn't mention is setting the permissions on the directory by right-clicking the installation directory icon, choosing properties and then the security tab. You then choose Edit and Add to add in your case with Windows 2003 the NETWORK SERVICE account and then give it full control permissions.

As far as the web.config goes the "Install" installation contains the Installation Wizard which will walk you through it and make the changes to the web.config itself so you do not need to mess with the file at all. You can view the video by following the " DotNetNuke 4.5 Installation Wizard Video" link on the first page of the Install forum or just click on the one I have provided.

If you would rather not use the wizard then you would set up your database as you have already done and modify only 2 lines in the web.config file. There are other amendments you could make but this is all that's required. There are 2 ways to go here as DNN provides 2 different connection strings possible to connect to your database (SQL Express and SQL2000/2005). The default is set up as SQL Express however my personal preference is to use the 2000/2005 string no matter what database you are using. I've found that it creates less problems down the road. In this case you would delete the lines:

<!-- Connection String for SQL Server 2005 Express -->
    <add
      name="SiteSqlServer"
      connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"
      providerName="System.Data.SqlClient" />

then move the   --> so that connection string line looks like:

<!-- Connection String for SQL Server 2000/2005  -->
    <add
      name="SiteSqlServer"
      connectionString="Server=(local);Database=DotNetNuke;uid=;pwd=;"
      providerName="System.Data.SqlClient" />

then modify the connection string with the "ServerName\SQLInstance" replacing the (local), insert database name, userid, and password to look something like this:

connectionString="Server=Piranha/SQL;Database=MikesDatabase;uid=mike;pwd=*********;"

the second connection string is done in the same way by deleting the text:

<!-- Connection String for SQL Server 2005 Express - kept for backwards compatability - legacy modules   -->
    <add key="SiteSqlServer" value="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"/>

moving the     -->  and replacing the string like this:

 <!-- Connection String for SQL Server 2000/2005 - kept for backwards compatability - legacy modules    -->
    <add key="SiteSqlServer" value="Server=Piranha/SQL;Database=MikesDatabase;uid=mike;pwd=*********;"/>

Save the file and your done. Browse to your localhost/virtualdirectory and the installation process will start.

Good luck,

Mike


Kist Enterprises
www.kistenterprises.com
 
New Post
7/7/2007 2:20 AM
 

Thank you very much for the reply.  I still cannot get it to work.  I seem to think it has to do with how I settup IIS.  By the way, where do I find the installation wizard?  I see the video but not the wizard.

John

 
New Post
7/7/2007 6:53 AM
 

Thanks Mike from another noobie. I have been going around banging my head against the wall until I read this post. I am now able to install dnn!

 
New Post
7/7/2007 9:02 AM
 

The installation wizard is located in the install directory of the DNN installation. It will automatically startup once you browse to your virtual directory for the first time.

Mike


Kist Enterprises
www.kistenterprises.com
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...What changes do I make to the web.config file?What changes do I make to the web.config file?


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