Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

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!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Getting StartedGetting StartedProblem Creating ModuleProblem Creating Module
Previous
 
Next
New Post
5/28/2010 9:49 AM
 
Hello,

I am currently reading Professional Module Programming by Mitch Sellers. I am stuck at chapter 5 trying to create the GuestbookCS Module.
While installing DotNetNuke I had to configure IIS and create a virtual directory pointing to my DotNetNuke folder, so I was able to run DotNetNuke using the following URL: http://localhost/DotNetNuke.
Now at the module creation process I had to configure the project settings. The book told me to modify the Project URL setting contained inside the web section and set it to http://localhost/DotNetNuke. When I try to save the project settings I get a message telling me, that I have to create a virtual directory. This fails because the virtual directory already exists and is mapped to a different folder location. How can I solve this problem? Which Project URL should I use in this case?

This is the error message I receive when I try to save the project settings:


This is the error message I receive when I try to create a virtual directory:


The DotNetNuke installation folder ist located at C:\inetpup\wwwroot\dotnetnuke and the folder containing the GuestbookCS module ist located at C:\inetpub\wwwroot\dotnetnuke\DesktopModules\GuestbookCS.
I am using DotNetNuke 5.2.3 (Installation Package and Starter Kit) together with Windows 7 Pro, IIS 7 and Visual Studio 2008 Pro.

Thanks for helping me.
 
New Post
6/7/2010 2:55 PM
 
What happens if you choose to not create the virtual directory during the process?

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
6/18/2010 1:40 AM
 
Hi I have the same problem, and I am using the same setup as Christoph. I am also following the same book. I have searched the internet but not been successful in finding a solution to my problem. I can add that I am running VS2008 in admin mode (at least thats what it says in the title bar). Temporarily I have just selected the "Use Visual Development Server".
 
New Post
6/18/2010 1:51 AM
 
@Chris To answer for myself I can say that If I say "No" to create the virtual directory it displays an error message saying "Operation cancelled". And then sets the radio button to "Use Visual Studio Development Server".
 
New Post
6/21/2010 5:43 PM
 
I think a solution might be to open the existing dnn installation, instead of creating a new module...

So click "File" -> "Open" -> "Website" and choose the local dnn website. Then when it is loaded right click the website in solution explorer and choose "Add new item..." and then select the "DotNetNuke Dynamic Module". Configure the module and start creating the custom module.

This seems to work and also when i did this the <dnn:label> in my *.ascx files  were recognised...
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Getting StartedGetting StartedProblem Creating ModuleProblem Creating Module


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out