Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional DotNetNuke ASP.NET Portals ISBN: 0-7645-9563-6
This is the forum to discuss the Wrox book Professional DotNetNuke ASP.NET Portals by Shaun Walker, Patrick J. Santry, Joe Brinkman, Dan Caron, Scott McCulloch, Scott Willhite, Bruce Hopkins; ISBN: 9780764595639
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional DotNetNuke ASP.NET Portals ISBN: 0-7645-9563-6 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old July 28th, 2005, 04:07 PM
Registered User
Join Date: Jul 2005
Location: Westlake, OH, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Missing Web.config

I'm sure it's something I did, but on page 44 you mention modifying the Web.config file in the websites folder where DNN was unzipped. I see a 03.01.00.config file but no Web.config file. Any idea where I might look for it? Thanks,

Roger Erickson

  #2 (permalink)  
Old July 28th, 2005, 06:14 PM
Registered User
Join Date: Jun 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Hi Roger,

A change was made it DotNetNuke 3.1 (after the book was published) to not include the web.config called "web.config".

The reason was the web.config contains a hash key for encrypting passwords that developers are encouraged to change, when a new release came out, the web.config would be overwritten and there hash key lost forever. So they would be unable to login.

To help prevent this happening, we provide 2 other files, developers can rename to web.config. These are development.config and release.config, both are optimised for either scenario. So take a copy of either and rename it to web.config for a clean install.

The 03.01.00 config file is a file comparison on what has changed between the release so developers can merge in any changes (if new config sections have appeared, etc)

  #3 (permalink)  
Old July 30th, 2005, 07:35 PM
Authorized User
Join Date: Jun 2005
Location: Seattle, WA, USA.
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts

Just for clarification... this "feature" (the keys in the web.config) is by design in the MemberRole component provided by Microsoft.  We're continuing to look for ways to handle this situation better, but we packaged this way in the interests of safety for our users (as Scott explained).

Unlike some other applications, which install with the same set of keys for EVERY install (which is a fairly significant security risk), DotNetNuke generates a random security key for you if you don't already have one.  This ensures that you don't use the same security key as every other installation of DotNetNuke out there.

That is why the old key needs to be set in the new web.config.


It is only with the heart that one can see rightly... what is essential is invisible to the eye.
~ Antoine de Saint-Exupéry
  #4 (permalink)  
Old August 29th, 2005, 04:41 PM
Registered User
Join Date: Aug 2005
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts

Note to authors: This topic would make a good errata item. I ran into the same problem with the 3.1 download.


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Providers missing in web.config, pg 615 frankm9639 BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 0 September 10th, 2008 08:37 PM
web.config vs. app.config darlo Visual Studio 2005 11 August 20th, 2008 08:23 AM
web.config rrkano .NET Framework 2.0 1 June 23rd, 2008 03:50 PM
Web Config SteveP55419 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 January 3rd, 2007 04:19 PM

All times are GMT -4. The time now is 10:51 AM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.