.NET Answers

ASP.NET, HTML, CSS, Visual Studio, CSharp, VB.NET and other programming items of interest.
Subscribe
  • Home
  • About Me
  • Advertising
  • Click Here to Ask a question
    • Privacy Policy
  • Site Map

DotNetNuke Modules – Install DNN into VS 2008

May 27, 2008 By: Dave

Today, we will install DotNetNuke into Visual Studio so that we can create our first module. So fire up Visual Studio, and let’s get going.

I’ll be using Visual Studio 2008 to walk you through this, but the instructions are very similar if you are still using Visual Studio 2005.

To install DotNetNuke, you can run the DotNetNuke Web Application framework project that you can find by selecting “File” > “New” > “Web Site…” from the menu. If you normally work in CSharp, you’ll need to switch the language to VB.NET before you see the project. Don’t worry, you’ll still be able to develop your modules in CSharp, but DotNetNuke is a VB project so you’ll need to install it as a VB project.

When you develop web sites in Visual Studio, you always want to develop using IIS to run the web site. This will allow you to see any security errors that may develop while writing your code prior to putting the application into development. If you are not already in the practice of using IIS for your web development, now is a good time to start. Make sure the “Location” dropdown is set to HTTP.

Click the “OK” button to continue. After waiting a while, you will see a message asking if you want to run under ASP.NET 3.5 or 2.0. I personally prefer using 3.5, but this means that I have to upgrade my web.config file on the production server so that it will run 3.5. Most of the time, that just means copying the web.config from my development server over to the production server and making a few minor modifications.

Once the install has completed, you will see an HTML page with further instructions. Here are a few additional notes:

  • Setup your server for mixed mode authentication:
    If you installed SQL server express as part of your Visual Studio installation, Microsoft installed it to use Windows Authentication. The best way to fix this is to uninstall anything that says something about SQL 2005 and reinstall it manually. When you get to the dialog that ask if you want Windows authentication, or Mixed Mode authentication, select Mixed Mode and give a password you can remember.

    You can find the SQL Server Express on your Visual Studio CD at:
    [drive]:\WCU\SSE\SqlExpr.exe

  • Create/Configure database:
    I’ve found it is best to configure the database as a named database off the server rather than attaching to a database that you might place in App_Data. I use SQL Server Enterprise Manager Express to manage my SQL Express databases. While you can run DotNetNuke from a database in app_data, you’ll want to be able to create tables and store procedures using SQL Server Enterprise Manager Express, which will be easier, but not impossible, if you are using a named database instead of a file attached database.

Finally, go ahead and run the project to install DNN on your server.

 

Other post in DotNetNuke - Module Development
  • Creating DotNetNuke Modules - May 20th, 2008
  • Creating DNN Modules - The Tools - May 22nd, 2008
  • DotNetNuke Modules - Foundational Concepts - May 26th, 2008
  • DotNetNuke Modules - Install DNN into VS 2008 - May 27th, 2008
  • DotNetNuke Modules - Creating Base Modules - May 28th, 2008
  • DotNetNuke Modules - Registering Your Module - May 29th, 2008
  • DotNetNuke Modules - Where Stuff Shows Up - June 3rd, 2008
  • DotNetNuke Modules - Benefits of Architecture - June 4th, 2008
  • DotNetNuke Modules - Anatomy of the View - June 9th, 2008
  • DotNetNuke Modules - Adding Actions - June 11th, 2008
  • DotNetNuke Modules - DNN Controls - Label - June 18th, 2008
  • DotNetNuke - Internationalization - June 25th, 2008
  • DotNetNuke Modules - Internationalization (part 2) - June 30th, 2008
  • DotNetNuke Modules - Labels w/ no Help - July 9th, 2008
  • DotNetNuke Modules - LinkButtons - July 14th, 2008
  • DotNetNuke Modules - Collapsible Panels - July 16th, 2008
  • DotNetNuke - The Data Layer - Installing CodeSmith - July 22nd, 2008
  • DotNetNuke - Modules - Creating The Tables - July 24th, 2008
  • DotNetNuke - Modules - Creating Stored Procs - July 29th, 2008
  • DotNetNuke - Modules - Portal Specific Modules - July 31st, 2008
  • DotNetNuke Modules - Data Access Layer - August 5th, 2008
  • DotNetNuke Modules - Data Access Layer - August 7th, 2008
  • DotNetNuke - Data Access Layer Alternative - August 12th, 2008
  • DotNetNuke - Modules - Linking within the module - August 14th, 2008
  • DotNetNuke - Make Your Module Searchable - August 19th, 2008
  • DotNetNuke Modules - Making Content Portable - August 25th, 2008
  • DotNetNuke Modules - Exceptions the DNN Way - September 2nd, 2008
  • DotNetNuke Modules - PortalModuleBase - September 4th, 2008
  • DotNetNuke Modules - Inter Module Communication - September 9th, 2008
  • DotNetNuke Modules - Finding The Page a Module is On - September 15th, 2008
  • DotNetNuke Modules - Caching - September 17th, 2008
  • DotNetNuke Modules - Module Settings - September 22nd, 2008
  • DotNetNuke Modules - Retrieving Settings - September 24th, 2008
  • DotNetNuke Modules - Advanced Architecture - October 20th, 2008
  • DotNetNuke Modules - Creating the PA - October 30th, 2008
  • DotNetNuke Modules - Automating the PA - November 5th, 2008
  • DotNetNuke - FileUploadControl Danger! - February 26th, 2009

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

Related Post

  • DotNetNuke Modules – Finding The Page a Module is On
  • DotNetNuke Modules – Exceptions the DNN Way
  • DotNetNuke Modules – Making Content Portable
Bookmark to:

Add to Del.icio.us Add to digg Add to DotNetKicks Add to DZone Add to Facebook Add to Slashdot Add to Stumble Upon Add to Technorati
Hide Sites
Tags: asp.net, dotnetnuke, modules, visual studio

9 Responses to “ DotNetNuke Modules – Install DNN into VS 2008 ”

  1. # 1 DotNetNuke Modules - Creating Base Modules Says:
    May 28th, 2008 at 7:59 am

    [...] .NET AnswersASP.NET, HTML, CSS, Visual Studio, CSharp, VB.NET and other programming items of interest. DotNetNuke Modules – Install DNN into VS 2008 [...]

  2. # 2 Visual Studio Links #33 : Visual Studio Hacks Says:
    May 28th, 2008 at 10:48 am

    [...] DotNetNuke Modules – Install DNN into VS 2008 Technorati Tags: visualstudiolinks,visualstudio,dotnet [...]

  3. # 3 DotNetNuke Modules - Registering Your Module Says:
    May 29th, 2008 at 7:36 am

    [...] Installing DotNetNuke into Visual Studio [...]

  4. # 4 Creating DotNetNuke Modules Says:
    June 6th, 2008 at 6:30 am

    [...] Installing DotNetNuke into Visual Studio [...]

  5. # 5 DotNetNuke Modules - Foundational Concepts Says:
    June 6th, 2008 at 6:33 am

    [...] .NET AnswersASP.NET, HTML, CSS, Visual Studio, CSharp, VB.NET and other programming items of interest. Modify a DNN Module without touching the ASCX DotNetNuke Modules – Install DNN into VS 2008 [...]

  6. # 6 DotNetNuke Modules - Where Stuff Shows Up Says:
    June 6th, 2008 at 6:40 am

    [...] Installing DotNetNuke into Visual Studio [...]

  7. # 7 DotNetNuke Skinning - Getting Set Up Says:
    June 10th, 2008 at 5:14 am

    [...] Once you have Visual Studio or Web Developer Express installed, you’ll need to download and install the DotNetNuke starter kit from the DotNetNuke site (www.dotnetnuke.com) and then install DotNetNuke as we describe in our article, “Installing DNN into Visual Studio.” [...]

  8. # 8 almny Says:
    November 7th, 2008 at 9:14 am

    thanks man :)

  9. # 9 marco carrera Says:
    April 14th, 2009 at 4:32 am

    Thanks you so much. I wasted 2 hours before reading this article to realize you have to use the ‘auto’ option. I was using custom and the install was hanging on the sql part.
    I just want to add, if you want to manage the database with MSSQL Management studio express, then you have to modify web.config before compiling, otherwise the install will create the database as a .mdf file.

← DotNetNuke Modules – Foundational Concepts
DotNetNuke Modules – Creating Base Modules →
  • Search

  • Subscribe

    U COMMENT
    I FOLLOW

    Subscribe in a reader

    OR

    Subscribe via e-mail

    Enter your email address: 

    Delivered by FeedBurner

     

  • Follow Me

    • Twitter
    • FaceBook
    • Digg
    • StumbleUpon
    • Propeller
    • Delicious
    • Plaxo

     

  • Recent Posts

    • ASUS Eee PC 1005HA-PU1X-BK Black Netbook
    • jQuery – Date Picker
    • Using VB.NET From CSharp
    • iTextSharp – Adding Images
    • Hungarian Notation – Use What Works, Spit Out The Bones
    • Pre Order Windows 7
    • jQuery Dialog – With Validation Controls
    • iTextSharp – The easy way
    • Structure of my ASP.NET Web Applications
    • 35% Off Accronis True Image 2009 Home
    • VB.NET Hide Module Name
    • ASP.NET/VB.NET – Video Training
    • Does jQuery Make Us Lazy?
    • PDFs Using iTextSharp
    • Programming SEO – Ping



  • Advertise on this site through Lake Quincy Media
  • DotNetNuke Sponsor

     

    Most Valuable Blogger
  • Sponsor

  • Categories

    • Advanced CSharp
    • Advanced VB.NET
    • ASP.NET MVC
    • Did you know
    • DotNetNuke – Module Development
    • DotNetNuke – Skinning
    • internationalization
    • iTextSharp
    • jQuery
    • none
    • Seach Engine Optimization
    • Silverlight
    • SQL For Programmers
    • Twitter
    • winforms
  • Cloud

    .net ajax architecture asp.net book books containers csharp css dal dataset datasets dotnetnuke events gridview images internationalization internet explorer javascript jQuery json linq listview modules ms-sql MVC objectdatasource programming reflection seo Silverlight skinning sql testing tsql tutorial Twitter twitterizer vb.net video view Vista visual studio webservice WordPress
  • Archives

    • July 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008
    • September 2008
    • August 2008
    • July 2008
    • June 2008
    • May 2008
    • April 2008
    • March 2008
    • February 2008
    • January 2008
    • December 2007
    • November 2007
    • October 2007
  • Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
    • Privacy Policy
  • Calendar

    May 2008
    S M T W T F S
    « Apr   Jun »
     123
    45678910
    11121314151617
    18192021222324
    25262728293031
  • Blogroll

    • Alvin Ashcraft’s Morning Dew
    • ASP.NET Consulting
    • Life Hacker
    • Remember Anything
    • The Price of Their Toys
    • Uncategorized Thought


.NET Answers © 2007 - 2008 All Rights Reserved.
Entries and Comments.