Groups: Administration
Joined: 11/3/2005(UTC) Posts: 2,253
Thanks: 28 times Was thanked: 60 time(s) in 59 post(s)
|
We apologize for the delay with posting promised walkthrough - our ISP, Comcast, has let us down by having massive outage for two days. Now we are back up and in the process of changing ISPs.
Running DNN requires having a database server. This walkthrough assumes you can perform some simple DB administration like creating databases and user logins. Here is the set of steps one would have to follow in order to run DotNetNuke 4.0.2 under UltiDev Cassini web server using either SQL Server 2005 or SQL Server 2000 database.
- Download and install UltiDev Cassini 2.0 web server. Cassini 2.0 and DNN 4.0.2 require ASP.NET 2.0.
- Download DotNetNuke 4.0.2 Install package and extract ZIP file contents to C:\DNN folder
- Create DotNetNuke SQL Server database. You can use either SQL 2000 or SQL 2005. Once you created database, you don’t need to create any tables.
- In C:\DNN folder copy release.config file to web.config.
- Open c:\dnn\web.config file in text editor and following entries to point DNN application to the database you’ve just created: o In the <connectionStrings> section replace the value of connectionString attribute of "SiteSqlServer" entry to point to your database; o In the <appSettings> section replace the value of “value” attribute of "SiteSqlServer" entry to point to your database;
Here are a couple of connection string samples: o SQL Server 2005 connection string pointing to the default instance of (local) database using integrated Windows authentication: Data Source=(local);Initial Catalog=DotNetNuke;Integrated Security=True o SQL Server 2000 connection string pointing to another server using SQL authentication: Server=192.168.0.101;Database=DotNetNuke;uid=sa;pwd=<Replace with your sa password>;
If your SQL Server uses integrated Windows authentication model, then please note that by default Cassini service us running under “Local System” account, which means you may have to add appropriate logins/user to your SQL Server. You should not need to do anything if your run SQL Server 2005 on the same box as Cassini web server. Just use “Data Source=(local);Initial Catalog=DotNetNuke;Integrated” as connection string if you installed SQL as default instances, or “Data Source=.\SQLExpress;Initial Catalog=DotNetNuke;Integrated”, if you installed SQL Server 2005 Express.
Save web.config with modified connection strings.
- Using from Start | All Programs | UltiDev | Cassini ASP.NET Server | Cassini Explorer, register Cassini application, give it DotNetNuke name and specify C:\DNN folder as Cassini application physical location. Make sere you specify “2.0” as Target ASP.NET Version when registering the application.
- Click DotNetNuke link in the Cassini Explorer. It may take up to a few minutes to compile and start running DNN Installation. That’s it!
Enjoy!Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
|