Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...my DNN 4.0.2 install exp. W2K3 web ed., SQL 05my DNN 4.0.2 install exp. W2K3 web ed., SQL 05
Previous
 
Next
New Post
3/2/2006 6:59 PM
 

I just thought I'd share my DNN installation experience... these forums were a great resource in answering my questions during the install, and I'm sure they will continue to be in the future as I use DNN. Here's my setup:

- DNN 4.0.2
- Windows 2003 Server, Web Edition
- SQL Server 2005 Express Edition
- clean install on a brand new server (manual, not using VS)

On and off, it took me a whole work day to get DNN running. I installed DNN 2 a while back on my home machine and that only took an hour or two. I had several confusing errors along the way this time...

First off, I read the Installation Guide from the Docs folder. 63+ pages is a little intimidating until you realize it's mostly screenshots. There were a few non-DNN related things that I thought should have been included, or even better, put into a "tips" section:

- The first obvious thing in W2K3 Server, WEB edition, is that IIS is not installed by default. Gee, I thought I bought a WEB server. Install it.

- If the machine is brand new, go get a helloworld.aspx and make sure it runs before attempting a DNN install. Most likely, it won't. You'll get a 404 error because MS thought a web server shouldn't run ASP unless the admin jumps through a few hoops. They also thought they should give you a 404 instead of something helpful. A lot of people use DNN as first ASP.NET project and may not know this.

The 404 can be resolved by going into IIS, then to Web Services Extensions. Add a new extension, give it whatever name and point it to <systemroot>\Microsoft.NET\Framework\<version>\aspnet_isapi.dll.

Next, go into your site's properties under the Documents tab, and add index.aspx and default.aspx. This will solve the "Directory browsing is not allowed" issue that happens when it can't find a default or index page with a respectable extension. Your helloworld.aspx should run now.

Ok, on to DNN install, all per instructions in the guide:
- Extracted files
- Renamed release.config to web.config
- Created a virtual directory
- Created db, created user, associated user
- Put db info into web.config (I didn't see this in the installation guide, but you have to change the path given in <ConnectionStrings>)
- Set file & folder permissions
- Fired it up

Uh-oh... permissions error. Can't write to temporary folder. Ok, set permissions on temp folder and continued...

Uh-oh again. Now it can't find some template.mdf file (sorry: forgot the exact name). A peek at Google and I found that this is really a screw up in the connection string, not a missing file. That is where I figured out I had to change the <connectionStrings> section too. Duh. Moving on...

Crap... can't find SiteUrls.config. Well, I see it's in the Config folder, so I copied it to the root and continued.

Oh no...
The Assembly Version ( [ASSEMBLYVERSION] ) does not match the Database Version ( [DATABASEVERSION] ). Some more Googling and I found out that I should delete and recreate the db, then restart IIS. All good...

Eek!
ERROR: Could not connect to database specified in connectionString for SqlDataProviderSystem.Data.SqlClient.SqlException: Unable to open the physical file "(blahblahblah)DotNetNuke.mdf". Operating system error 32: "32(The process cannot access the file because it is being used by another process.)".

This one was solved easily enough by restarting IIS and SQL Server, then refreshing the page. After that, my install was complete! Time to go get a beer [EMO]bigsmile.gif[/EMO]

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...my DNN 4.0.2 install exp. W2K3 web ed., SQL 05my DNN 4.0.2 install exp. W2K3 web ed., SQL 05


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out