Chris Hammond is
a father, husband, developer, geek, car guy. The Director of Training for DotNetNuke Corporation. To learn more about Chris check out the about me page.
LIVESTRONG Challenge Davis

I use Strava to track my bicycle rides. Below you can see my recent activity.

 

Tags
  1. 12 items are tagged with .net
  2. 58 items are tagged with asp.net
  3. 47 items are tagged with Autocross
  4. 12 items are tagged with Baby
  5. 39 items are tagged with Boston Red Sox
  6. 21 items are tagged with California
  7. 15 items are tagged with Car
  8. 29 items are tagged with Community Server
  9. 14 items are tagged with communityserver
  10. 17 items are tagged with Corvette
  11. 26 items are tagged with daily tips
  12. 93 items are tagged with Development
  13. 180 items are tagged with DotNetNuke
  14. 25 items are tagged with DotNetNuke Development
  15. 11 items are tagged with DotNetNuke Tips
  16. 12 items are tagged with DotNetNuke Training
  17. 12 items are tagged with Electric
  18. 12 items are tagged with Energy
  19. 25 items are tagged with Family
  20. 73 items are tagged with Fitness
  21. 117 items are tagged with Friends
  22. 44 items are tagged with Games
  23. 32 items are tagged with general Software Development
  24. 13 items are tagged with Green
  25. 22 items are tagged with HDTV
  26. 18 items are tagged with Health
  27. 13 items are tagged with Leaf
  28. 381 items are tagged with Life News
  29. 12 items are tagged with Microsoft
  30. 39 items are tagged with Music
  31. 14 items are tagged with Nissan
  32. 13 items are tagged with Nissan Leaf
  33. 88 items are tagged with Photography
  34. 18 items are tagged with Photos
  35. 89 items are tagged with Pictures
  36. 108 items are tagged with Places to See
  37. 20 items are tagged with Project 240Z
  38. 12 items are tagged with Project 350Z
  39. 21 items are tagged with Red Sox
  40. 19 items are tagged with Red Sox in St. Louis
  41. 15 items are tagged with SCCA
  42. 418 items are tagged with SEO
  43. 203 items are tagged with Site News
  44. 33 items are tagged with St. Louis
  45. 275 items are tagged with Technology
  46. 41 items are tagged with Travel
  47. 17 items are tagged with Vista
  48. 16 items are tagged with Weblog
  49. 16 items are tagged with Xbox360
  50. 12 items are tagged with Zune

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

Last Updated Wednesday, January 23, 2008 4:51 PM


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 www.dotnetnuke.com.

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!)

Posted from weblogs.asp.net/christoc
Recent Comments
There are currently no comments. Be the first to make a comment.