Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Running DNN under Cassini
Guest
#1 Posted : Thursday, January 12, 2006 4:58:11 AM(UTC)
Groups:
Joined: 11/1/2005(UTC)
Posts: 278

Hello,
can you give more details on how you run DNN 4.x.x as an application under Casseni.
I can run DNN from VWD with no problems, but when I register DNN with Casseni and start the app
I get the following 'DotNetNuke Upgrade Error' or Error Installing DNN 4.0.0.2 could not connect to database.
The Assembly Version ( [ASSEMBLYVERSION] ) does not match the Database Version ( [DATABASEVERSION] ).
Ultidev Team
#2 Posted : Thursday, January 12, 2006 5:32:41 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi,
we will re-trace our DotNetNuke-under-Cassini installation steps today and post detailed walkthrough on how to make new installation of DNN Install package run under cassini. In the nutshell, we had to create database manually, and we also had to create web.config file from themplate provided by DNN. Once that was done, we just registered DNN as Cassini application and ran DNN. It installed itself and we were able to run it with no problem. Detailed instructions will be posted later today.

Regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Ultidev Team
#3 Posted : Saturday, January 14, 2006 2:35:40 PM(UTC)
Ultidev Team

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.
Ultidev Team
#4 Posted : Friday, January 20, 2006 5:22:40 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
We used CodeProject to publish more detailed instructions on how to run DotNetNuke on our Cassini web server. The aticle has quite a few screenshots to simplify the walkthrough.

Regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Rss Feed  Atom Feed
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.