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 ...Exceptions in 4.8.1Exceptions in 4.8.1
Previous
 
Next
New Post
3/4/2008 4:30 AM
 

I downloaded the latest DotNetNuke Source Package. I copied the website folder into my inetpub directory and configured it as Application, called "DotNetNuke_2". After browsing the site I got an exception in global.asax.cs, "Object config doesn't exists". Ok, I opened the project with VS2005, commented this part out and built the solution successfully. I refreshed the page and got another exception about the unknown PortalSettings class.

What am I doing wrong?

I really like to try DotNetNuke. But this was the second time I tried to use it and it was the second time that a release doesn't work correctly. That's really frustrating and I guess, problems like that are the reason why open source software has such a bad reputation in most professional companies.

Dear developers, I really appreciate your work and I’m sure you’ve done a great job. But please test your builds before releasing it!

 

 
New Post
3/4/2008 5:10 AM
 

You can be sure that we test our builds. A lot of people set up a lot of dnn sites on a daily basis. Having said that.. there are a few nacks.

Let me walk through the install procedure i always use, so you can see if you missed something:

  1. Create a new database in SQL Server 2000 / 2005 (any variant will do, personaly i am using SQL server 2005 express), and create a user that has at least DBO rights on that database. Personally i just use an SA account, it saves me from creating new users for every install. NEVER DO THAT ON A LIVE INSTALLATION!
  2. Download and unzip the install or source version of DNN (personally i always use the source version) on a good location on your harddrive, and create a new IIS virtual directory / application that points to the installation (if you downloaded the source version, point it to /website). You can name your application anything, but if you name it anything other than http://localhost/dotnetnuke_2, you will need to make some changes to the solution file
  3. Make sure that the asp.net workerprocess identity has modify rights on the website dir and everything below. On xp, that user is ASPNET, on win2003/Vista, that user is NETWORK SERVICE. Personally, i just give everyone full rights on the top dir that holds all my dnn installs. AGAIN: NEVER DO THAT ON A LIVE INSTALLATION
  4. Make the appropriate changes in the web.config file. If you downloaded the source version, you will have to rename release.config or development.config to web.config. The difference between those two files is that development.config defines both medium trust, and an objectQualifier for the database. PLEASE NOTE: the default connectionstrings in web.config point to a sql express user instance database, which resides in the App_Data folder of the application. Since you want to use your own defined database, you have to remove these definitions, and uncomment the other connectionstrings, and modify them to your needs. I am talking about multiple connection strings: please note that there are 2 definitions, the one in AppSettings is a legacy value to support "old" modules
  5. Browse to your site. It should not be necessary to build the site first. Your site should run without errors now, and if you are going to build the site, it should build without errors too. (although,sometimes it is necessary to build twice in vs2005, as some projects are not available the first time around)

 

 


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
3/4/2008 6:12 AM
 

Dear Users, we know you are in a rush, but did you know it takes just as long to do right the first time? Please read the damn directions.  

<chuckle>

Installing open source is no different than any other software. What installation manual told you to comment out that part?

When you point your finger at someone else you always have three fingers pointed at yourself.  Try it. :)


Dwayne J. Baldwin
 
New Post
3/17/2008 6:45 PM
 

Please read my post. It had not been working before I commented something out.

 
New Post
3/17/2008 10:47 PM
 

Sounds like you didnt rename release.config to web.config... Easy DotNetNuke installation guide

There will never be any need to change the source code to get DNN running and or installed :)  Just make sure you do every single one of the installation steps and you will be fine...

JK.



You know your website is cool, so why not let your users help you by spreading the word on social networking sites - get the DotNetNuke Social Bookmarks Module with 57 different ways to add social bookmarks to your site ... or download the FREE demo right now
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Exceptions in 4.8.1Exceptions in 4.8.1


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