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 Module Programming ISBN: 978-0-470-17116-5
This is the forum to discuss the Wrox book Professional DotNetNuke Module Programming by Mitchel Sellers and Shaun Walker - Wrox DotNetNuke Series Editor; ISBN: 978-0-470-17116-5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional DotNetNuke Module Programming ISBN: 978-0-470-17116-5 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 Search this Thread Display Modes
  #1 (permalink)  
Old July 6th, 2009, 04:53 PM
Registered User
 
Join Date: Jul 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Module Templates for C#

Greetings. I am just getting into your book and have successfully setup my development environment (Vista, VS2008, MS-SQL Server 2008, IIS7). DotNetNuke installs all went OK. Now I'm at the point where I want to start a new project but the C# DNN Module Template does not appear as an option. I downloaded and installed the .vsi packages from "iowacomputergurus.com" but the only thing it added was "BlankNoDALModule" and "BlankModuleWithDal". Neither work. Where can I get the right templates?

Thanks.
  #2 (permalink)  
Old July 6th, 2009, 04:58 PM
Wrox Author
 
Join Date: Jul 2008
Location: Des Moines, IA, USA.
Posts: 74
Thanks: 1
Thanked 8 Times in 8 Posts
Send a message via MSN to msellers
Default

Hi,

I apologize for the confusion in template naming. You can use the "BlankModuleWithDal", as that is a module that includes the DAL stubs.

The only difference in these templates is they have been improved to make setup a bit easier.

Otherwise, you can go to BiteTheBullet.co.uk and get the exact same template that is shown in the screenshot, but it was the base for the "BlankModuleWithDal".
__________________
Mitchel Sellers
Microsoft C# MVP, MCITP
Director of Development
IowaComputerGurus Inc.

My blog for .NET and DotNetNuke info

Author of "Professional DotNetNuke Module Programming"

Tech Editor on "Visual Studio 2010 six-in-one" and "Pro C# 4.0"
  #3 (permalink)  
Old July 6th, 2009, 05:23 PM
Registered User
 
Join Date: Jul 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Module won't work with VS2008/IIS7

Hi Mitchell,

Thanks for the reply. I tried the "BlankModuleWithDal" but get the following error:

"The Web Application Project GuestbookCS is configured to use IIS. To access local IIS Web sites, you must install the following IIS components:

IIS6 Metabase and IIS6 Compatability
ASP.NET
Windows Authentication

In addition, you must run Visual Studio in the context of an administrator account."

I didn't think I had to install any older IIS6 stuff and I'm running VS as administrator. What am I doing wrong?

Thanks again,

Karl
  #4 (permalink)  
Old July 6th, 2009, 05:33 PM
Wrox Author
 
Join Date: Jul 2008
Location: Des Moines, IA, USA.
Posts: 74
Thanks: 1
Thanked 8 Times in 8 Posts
Send a message via MSN to msellers
Default

Karl,

You do have to install those components, to work with the WAP project.

You can switch the project settings, to not use IIS, but design time support for DNN items is lost.
__________________
Mitchel Sellers
Microsoft C# MVP, MCITP
Director of Development
IowaComputerGurus Inc.

My blog for .NET and DotNetNuke info

Author of "Professional DotNetNuke Module Programming"

Tech Editor on "Visual Studio 2010 six-in-one" and "Pro C# 4.0"
  #5 (permalink)  
Old July 6th, 2009, 09:14 PM
Registered User
 
Join Date: Jul 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Works!

Thanks Mitchell, that did the trick...
  #6 (permalink)  
Old July 14th, 2009, 04:16 PM
Registered User
 
Join Date: Jul 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Mitch,

I have the same issue. I am logged in as an admin and from the Windows ControlPanel->WindowsFeatures it looks like the IIS 6 Metabase & Configuration Compatibility is turned on. Any ideas why I'm still getting this? What am I missing. I'm running VS2008, IIS7... it is Windows Vista Home edition, could that cause a problem?

Thanks for your help,

Chris
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
module umeshtheone Beginning VB 6 2 May 17th, 2007 05:48 AM
module umeshtheone VB Databases Basics 1 May 14th, 2007 01:41 PM
new module FT BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 March 15th, 2007 06:06 AM
module? flora8 Access VBA 2 September 7th, 2006 11:10 AM
Module sohrabus ASP.NET 2.0 Professional 1 September 1st, 2006 12:26 AM



All times are GMT -4. The time now is 07:27 PM.


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