Click here to Skip to main content
12,406,528 members (27,510 online)
Click here to Skip to main content
Add your own
alternative version

Stats

19.2K views
16 bookmarked
Posted

Installing Dotnetnuke 4.9.2

, 2 Apr 2009 CPOL
Rate this:
Please Sign up or sign in to vote.
Dotnetnuke, Installing Dotnetnuke

Introduction

I would like to give you a brief introduction to the way to install DotNetNuke_Community_04.09.02 in a Windows XP PC with SQL Server 2005 Enterprise Edition.

Background

you can download all the dotnetnuke resources from http://www.dotnetnuke.com/tabid/125/default.aspx, but to access that page you have to register with dotnetnuke.

You can find following modules to be downloaded from the URL mentioned above :

  • DotNetNuke 4.9.2 Install : this package is used to install dotnetnuke in your machine.
  • DotNetNuke 4.9.2 Upgrade – is used to upgrade any dotnetnuke versions than the current version.  
  • DotNetNuke 4.9.2 Source – full dotnetnuke code is available here.
  • DotNetNuke 4.9.2 Starter Kit – Dotnetnuke Started kits for developers.
  • DotNetNuke 4.9.2 Docs – Documents with related to everything from installation to administration, etc you can find it here.

Installation Steps

Download the DotNetNuke 4.9.2 Install file and extract it into your C: drive. Make sure to give a meaningful name to the extracted folder (ex: Dotnetnuke, DNN). Once its done you have to create a virtual directory in IIS.

Right click the Dotneunuke folder and enable the web sharing and give ASPNET, NETWOK SERVICE accounts FULL CONTROL as depicted in following screen shots.

1.JPG

2.JPG

 As well as from the database end i will create a empty database named Dotnetnuke in SQL Server 2005. In this situation i will use the default SQL Server 2005 admin user name and password to access the database.


else you can create totally different user logins to access the database. for that you have to follow these steps : 


Creating a login for your database:

  • Expand the Security node of your server.
  • Right-click on Logins.
  • Select “New Login”
  • Enter your desired login name. You must remember this login name (dnnuser) and password as this will be used in a later stage.
  • Select “SQL Server Authentication” and enter a password.
  • Uncheck the “Enforce Password expiration/User must change password at next login”
  • Click “User Mapping”
  • Select the database that we have created at the initial stage.
  • Make sure to select db_owner in the bottom list “Database role membership for: “
  • Click OK  


to make sure that steps that you have followed above is correct, just expand the Security node under your database (Dotnetnuke) and you will see a newly created database user (dnnuser) listed, meaning we also created a new database user by mapping our SQL Server login to our newly created database.


Once its done you have almost completed the installation steps but there are some few steps to go ahead. Just access your dotnetnuke site by typing http://localhost/dotnetnuke in your browser. So you can see the initial page as depicted below :

3.JPG

IT will be redirected to the SQL Express 2005 connection string setup page by default.

4.JPG

AS i was using SQL Server 2005 i  had to choose the second option as depicted below :

5.JPG

I have used my admin credentials to login to dotnetnuke database. Else you can enter the user names and passwords that you have created above (dnnuser credentials).

8.JPG

You can test the database connection settings by clicking the “Test Database Connection” link button. Once it’s done it shows you saying the connection is okay by indicating “Connection Success”.

Once its done the portal starts to creat the website as for the setting that you have entered in prevous steps.

9.JPG

Creating accounts for HOST and ADMIN logins to the dotnetnuke website :

11.JPG

13.JPG

 

14.JPG

Hurrah!!! finally its done and your dotnetnuke website looks like below :

15.JPG

Note:


apart from the steps as described above at the time of creating the virtual directory, please make sure the anonymous access is allowed for the created virtual directory. to allow the said permission please follow the steps as described below:


Already the virtual directory is in place and have to modify its properties.

  • Open IIS and expand the tree to see “Default Web Site”. (You can find IIS in Start | Control Panel | Administrative Tools.)
  • Expand the "Default Web Site" node.
  • right click the virtual directory name that you have created (Dotnetnuke) and select properties.
  • Click on the "Documents" tab
  • An entry for “default.aspx” needs to be added. Add default.aspx and move it to the top of the default documents list.
  • Click on the "Directory Security" tab
  • In the “Anonymous access and authentication control” group box, click "Edit"
  • Make sure that “Anonymous Access” is checked as well as “Integrated Windows authentication”
  • Next, click on the "ASP.NET" tab and make sure that “2.0” is select for the ASP.NET version
  • Click OK to save your changes

History 

will be updated.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

ammarcool
Web Developer
Sri Lanka Sri Lanka
No Biography provided

You may also be interested in...

Comments and Discussions

 
GeneralPlease Fix.. Pin
Abhijit Jana3-Apr-09 0:08
mvpAbhijit Jana3-Apr-09 0:08 
GeneralRe: Please Fix.. Pin
ammarcool3-Apr-09 0:19
memberammarcool3-Apr-09 0:19 
GeneralRe: Please Fix.. Pin
roguewarrior3-Apr-09 2:26
memberroguewarrior3-Apr-09 2:26 
GeneralRe: Please Fix.. Pin
Colin Angus Mackay5-Apr-09 12:14
mvpColin Angus Mackay5-Apr-09 12:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160730.1 | Last Updated 3 Apr 2009
Article Copyright 2009 by ammarcool
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid