Posted on Thursday, April 13, 2006 9:14 PM
If you have tried this before, you probably know the errors that you get when you trying to Installing DotNetNuke 4.0.x with SQL Server 2005 Express Edition, such as 'can't find database_template.mdf'.
To install DonNetNuke 4, you need to have the following:
1. Zip extraction tool (e.g. WinRar)
2. Microsoft IIS installed on the machine.
3. Microsoft SQL Server 2005 Express Edition, SQL 2000 & 2005 could be used as well.
4. Microsoft .NET Framework 2
I'll try to make it easy as these following steps:
-
Download DonNetNuke 4.0.2 (which is the latest version) from http://www.dotnetnuke.com
-
Extract the zip file you download in step 1, (e.g. c:\dotnetnuke).
-
Rename the file release.config to web.config, by default, DotNetNuke 4 is configured to run on SQL Server 2005 Express Edition, so you have nothing to do inside web.config
-
If you have the file system of the drive you extracted the files to is NTFS, you need to Configure NTFS File Permissions for DotNetNuke, to do so:
-
In File Explorer select the Physical Directory for the Website (the folder you extracted the zip file to).
-
Right click on the folder and select ‘Sharing and Security’
-
In the Security tab select the account (NETWORK SERVICE in Windows 2003, ASPNET in Windows XP or 2000), and give the account Read,Write and Change permissions to the folder.
-
In IIS Management Console (Administrative tools>Internet Information Services) add a new virtual directory and map it to the physical folder, then right click on the virtual directory, select prosperities, and from ASP.NET tab make sure that ASP.NET version is 2.0.
-
One final step is required, which is to created a new database in App_Data folder, and to add the missing file ‘database_template.mdf’, for simplicity, I’ve put these file into a zip file you can download it from. After you download it, extract it over the DotNetNuke file each file will be extracted into its appropriate folder.
-
That’s all, just browse to http://localhost/virtaulDirectory.
If you have any questions or issues, please feel free to contact me.
