Dec 07, 2005 03:54 PM|mufahad149|LINK
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.
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.
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.
Open the DotNetNuke.sln file with Microsoft Visual Studio 2005. If the VS.NET 2005 prompts the message below, click Yes.
Open the file Mail.vb under the folder
Mail in the project DotNetNuke.Library and comment out the line 138 as shown below.
Try to build the solution.
Most probably you’ll get 45 Errors as shown below..... I got them.
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.
Rename the file release.config under the
http://localhost/DotNetNuke_2/ project to web.config as shown below.
Now right-click on the
App_Data folder under the http://localhost/DotNetNuke_2/ project, click Add New Item.
On the dialog that appears select SQL Database. Let the default name be Database.mdf and click Add.
This will add an SQLExpress db named Database.mdf under the App_Code folder.
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
and install it. You might need to uninstall the Beta framework.
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.
Now refresh/browse the url