Click here to Skip to main content
6,629,377 members and growing! (24,213 online)
Email Password   helpLost your password?
Desktop Development » Miscellaneous » General     Beginner License: The Code Project Open License (CPOL)

Installing Dotnetnuke 4.9.2

By ammarcool

Dotnetnuke, Installing Dotnetnuke
C# (C# 2.0), .NET (.NET 2.0), ASP.NET, Dev, Design
Version:5 (See All)
Posted:3 Apr 2009
Views:5,463
Bookmarked:12 times
Unedited contribution
Announcements
Loading...
 
Search    
Advanced Search
Add to IE Search
printPrint   add Share
      Discuss Discuss   Broken Article?Report  
0 votes for this article

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)

About the Author

ammarcool


Member

Occupation: Web Developer
Location: Sri Lanka Sri Lanka

Other popular Miscellaneous articles:

Article Top
You must Sign In to use this message board.
FAQ FAQ 
 
Noise Tolerance  Layout  Per page   
 Msgs 1 to 4 of 4 (Total in Forum: 4) (Refresh)FirstPrevNext
GeneralPlease Fix.. PinmvpAbhijit Jana1:08 3 Apr '09  
GeneralRe: Please Fix.. Pinmemberammarcool1:19 3 Apr '09  
GeneralRe: Please Fix.. Pinmemberroguewarrior3:26 3 Apr '09  
GeneralRe: Please Fix.. PinmvpColin Angus Mackay13:14 5 Apr '09  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

PermaLink | Privacy | Terms of Use
Last Updated: 3 Apr 2009
Editor:
Copyright 2009 by ammarcool
Everything else Copyright © CodeProject, 1999-2009
Web10 | Advertise on the Code Project