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!

The Community Blog is a personal opinion of community members and by no means the official standpoint of DNN Corp or DNN Platform. This is a place to express personal thoughts about DNNPlatform, the community and its ecosystem. Do you have useful information that you would like to share with the DNN Community in a featured article or blog? If so, please contact .

The use of the Community Blog is covered by our Community Blog Guidelines - please read before commenting or posting.

DNN Daily Tip: Debugging DotNetNuke Development on Windows Vista and Visual Studio 2005

Last week I got started on getting the DotNetNuke Wiki module into a 4.4.0 source solution, so that I could convert the module to ASP.NET 2.0 and debug it in Visual Studio. Normally this wouldn't be anything out of the ordinary, I setup DotNetNuke solutions for a living, I can do it in my sleep, but I decided I was going to do all of this on my main machine running Windows Vista Ultimate edition.

You would think this might not be too difficult, but it sure was. Here's what I was starting with.

DotNetNuke 4.4.0 Source package, available for download from Codeplex.

Visual Studio 2005 w/ SP1

IIS7 Installed

IIS6 compatibility partially installed.

After multiple failures, and quite a bit of head smashing (on the wall) I gave up for the weekend. I blogged about the troubles, and a little birdie came to the rescue (If you read this birdie and don't mind me mentioning your name let me know)!

The little birdie pointed out the Visual Studio 2005 Service Pack 1 Update for Windows Vista Beta. I believe this update did the trick because after installing the update everything seemed to work!

Here are some of the things I know you have to perform, as well as the update, to get DNN, Vista and VS2k5 to play nicely. I hope I didn't leave anything out.

1. Install IIS7 (found in the control panel, classic view, programs and features, "Turn windows features on or off").

2. Install IIS6 Compatibility, the screenshot below is what my IIS installed features look like

3. Create your web site in IIS, I actually created a new site, not a virtual directory. A benefit of IIS7 on Vista, the ability to create multiple web sites! I just used localhost as the host header, and pointed it to the location of my extracted DNN files.

4. For the Application Pool in IIS I chose the Classic .Net AppPool

5. Under the Authentication section of your IIS web site be sure to enable Windows Authentication

6. Configure the rest of your DotNetNuke installation the normal way. (Setup the proper folder permissions, network service account gets full rights to the web site folder). Setup your web.config file to use the proper connection strings.

7. Open Visual Studio 2005 using the Run As Administrator option if you're using UAC

8. Open up the DotNetNuke.sln file from your extracted files. When you run the site for the first time DNN should run through it's installation procedures, installing the database, extracting a few modules, etc. I did have a problem with the project the first two times I ran it, but on the third try it seemed to install properly. I don't know if it was just a fluke or not the first two times, but all is well now.

9. Now I'm able to run and debug the DotNetNuke 4.4.0 solution on my Windows Vista machine. Hope this helps some of you out in your endeavors.

(All of the screenshots were made utilizing the Snipping tool inside of Windows Vista. Where's snippy? I get to it by clicking on start, and typing SNIP into the search bar, try it out!)




There are currently no comments, be the first to post one.

Comment Form

Only registered users may post comments.


Aderson Oliveira (22)
Alec Whittington (11)
Alessandra Davies (3)
Alex Shirley (10)
Andrew Hoefling (3)
Andrew Nurse (30)
Andy Tryba (1)
Anthony Glenwright (5)
Antonio Chagoury (28)
Ash Prasad (37)
Ben Schmidt (1)
Benjamin Hermann (25)
Benoit Sarton (9)
Beth Firebaugh (12)
Bill Walker (36)
Bob Kruger (5)
Bogdan Litescu (1)
Brian Dukes (2)
Brice Snow (1)
Bruce Chapman (20)
Bryan Andrews (1)
cathal connolly (55)
Charles Nurse (163)
Chris Hammond (213)
Chris Paterra (55)
Clint Patterson (108)
Cuong Dang (21)
Daniel Bartholomew (2)
Daniel Mettler (181)
Daniel Valadas (48)
Dave Buckner (2)
David Poindexter (12)
David Rodriguez (3)
Dennis Shiao (1)
Doug Howell (11)
Erik van Ballegoij (30)
Ernst Peter Tamminga (80)
Francisco Perez Andres (17)
Geoff Barlow (12)
George Alatrash (12)
Gifford Watkins (3)
Gilles Le Pigocher (3)
Ian Robinson (7)
Israel Martinez (17)
Jan Blomquist (2)
Jan Jonas (3)
Jaspreet Bhatia (1)
Jenni Merrifield (6)
Joe Brinkman (274)
John Mitchell (1)
Jon Henning (14)
Jonathan Sheely (4)
Jordan Coopersmith (1)
Joseph Craig (2)
Kan Ma (1)
Keivan Beigi (3)
Kelly Ford (4)
Ken Grierson (10)
Kevin Schreiner (6)
Leigh Pointer (31)
Lorraine Young (60)
Malik Khan (1)
Matt Rutledge (2)
Matthias Schlomann (16)
Mauricio Márquez (5)
Michael Doxsey (7)
Michael Tobisch (3)
Michael Washington (202)
Miguel Gatmaytan (3)
Mike Horton (19)
Mitchel Sellers (40)
Nathan Rover (3)
Navin V Nagiah (14)
Néstor Sánchez (31)
Nik Kalyani (14)
Oliver Hine (1)
Patricio F. Salinas (1)
Patrick Ryan (1)
Peter Donker (54)
Philip Beadle (135)
Philipp Becker (4)
Richard Dumas (22)
Robert J Collins (5)
Roger Selwyn (8)
Ruben Lopez (1)
Ryan Martinez (1)
Sacha Trauwaen (1)
Salar Golestanian (4)
Sanjay Mehrotra (9)
Scott McCulloch (1)
Scott Schlesier (11)
Scott Wilkinson (3)
Scott Willhite (97)
Sebastian Leupold (80)
Shaun Walker (237)
Shawn Mehaffie (17)
Stefan Cullmann (12)
Stefan Kamphuis (12)
Steve Fabian (31)
Steven Fisher (1)
Tony Henrich (3)
Torsten Weggen (3)
Tycho de Waard (4)
Vicenç Masanas (27)
Vincent Nguyen (3)
Vitaly Kozadayev (6)
Will Morgenweck (40)
Will Strohl (180)
William Severance (5)
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out