Sorry for the late article. I did'nt know how to add screenshots to the article.
In case of installing with SQL Express 2005 we need to create the SQLExpress database which isn’t provided with the DNN 4.0 installer.
This time we’ll use the source in DotNetNuke_4.0.0_Source.zip. Here’s how you can get it to work.
Instructions :-
1.Unzip the contents of the zip file DotNetNuke_4.0.0_Source.zip to a physical directory on the file system, say c:/dotnetnuke. This will result as two directories Website, Library and
a file DotNetNuke.sln.
2.Right-click the folder c:/dotnetnuke and click Properties, in the dialog that show up select the Security tab and add a user named NETWORK SERVICE and assign it full access to the folder.
3.Open the DotNetNuke.sln file with Microsoft Visual Studio 2005. If the VS.NET 2005 prompts the message below, click Yes.
4.Open the file Mail.vb under the folder
Mail in the project DotNetNuke.Library and comment out the line 138 as shown below.
5.Try to build the solution.
6.Most probably you’ll get 45 Errors as shown below..... I got them.
7.To remove these errors if you get them, is easy. Open the
ClientAPI.vb file under the project DotNetNuke.WebUtility as shown below and Build the solution once again (OK i know, i know... no time for the details just do it). The build will succeed.
10.On the dialog that appears select SQL Database. Let the default name be Database.mdf and click Add.
11.This will add an SQLExpress db named Database.mdf under the App_Code folder.
12.Now open the browser and browse the following url http://localhost/Dotnetnuke_2 . You’ll end up with the error shown below. The reason is that currently you’re running .NET Framework Beta
whereas the DNN 4.0 requires .NET Framework 2.0 RTM version. Download the framework from
http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5&DisplayLang=en
and install it. You might need to uninstall the Beta framework.
13.After you install the .NET Framework 2.0 you need to configure the virtual directory with Asp.NET 2.0. To do this, open IIS Manager right-click the virtual directory
DotNetNuke_2 under the Default Web Site, and select Properties. A dialog appears, select ASP.NET tab and specify the ASP.NET version as 2.0.50727. Click Apply and OK.
mufahad149
Member
177 Points
35 Posts
Install DNN 4.0 with SQL Express 2005
Dec 07, 2005 02:54 PM|LINK
Hi,
Sorry for the late article. I did'nt know how to add screenshots to the article.
In case of installing with SQL Express 2005 we need to create the SQLExpress database which isn’t provided with the DNN 4.0 installer. This time we’ll use the source in DotNetNuke_4.0.0_Source.zip. Here’s how you can get it to work.
Instructions :-
1. Unzip the contents of the zip file DotNetNuke_4.0.0_Source.zip to a physical directory on the file system, say c:/dotnetnuke. This will result as two directories Website, Library and a file DotNetNuke.sln.
2. Right-click the folder c:/dotnetnuke and click Properties, in the dialog that show up select the Security tab and add a user named NETWORK SERVICE and assign it full access to the folder.
3. Open the DotNetNuke.sln file with Microsoft Visual Studio 2005. If the VS.NET 2005 prompts the message below, click Yes.
4. Open the file Mail.vb under the folder Mail in the project DotNetNuke.Library and comment out the line 138 as shown below.
5. Try to build the solution.
6. Most probably you’ll get 45 Errors as shown below..... I got them.
7. To remove these errors if you get them, is easy. Open the ClientAPI.vb file under the project DotNetNuke.WebUtility as shown below and Build the solution once again (OK i know, i know... no time for the details just do it). The build will succeed.
8. Rename the file release.config under the http://localhost/DotNetNuke_2/ project to web.config as shown below.
9. Now right-click on the App_Data folder under the http://localhost/DotNetNuke_2/ project, click Add New Item.
10. On the dialog that appears select SQL Database. Let the default name be Database.mdf and click Add.
11. This will add an SQLExpress db named Database.mdf under the App_Code folder.
12. Now open the browser and browse the following url http://localhost/Dotnetnuke_2 . You’ll end up with the error shown below. The reason is that currently you’re running .NET Framework Beta whereas the DNN 4.0 requires .NET Framework 2.0 RTM version. Download the framework from http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5&DisplayLang=en and install it. You might need to uninstall the Beta framework.
13. After you install the .NET Framework 2.0 you need to configure the virtual directory with Asp.NET 2.0. To do this, open IIS Manager right-click the virtual directory DotNetNuke_2 under the Default Web Site, and select Properties. A dialog appears, select ASP.NET tab and specify the ASP.NET version as 2.0.50727. Click Apply and OK.
14. Now refresh/browse the url http://localhost/Dotnetnuke_2
Hope that helps.
Pakistan