Subject: Module Development on Win 7 + VS 2008 Exprs
Prev Next
You are not authorized to post a reply.

AuthorMessages
shrijiUser is Offline
New Poster
New Poster
Posts:1

02/20/2010 10:43 AM  

 Hi,

I have been following your book "Professional DotNetNuke Module Programming 2006". I am at a point where you create Module project and setup the Web properties of My Project. The book has screen shot from VS 2005. However I have VS 2008 Express on Windows 7. Books says we will be able to follow the example on Win 7+VS2008 Exp. This is what book says:

The second configuration step needed for Visual Basic projects is to modify the Project Url setting 

located on the Web tab. On the Web tab, locate the option called  “ Use Local IIS Web Server, ”  similar to 

that shown earlier in Figure  5 - 4 . Modify this setting to show the proper IIS URL of   http://localhost/

dotnetnuke . 

 

So when the change the setting to my local host URL, it tries to create virtual directory for the application which already exists which make sense because we are running the local DNN installation with this URL. And thats is where I cannot go forward.

Following are facts that may help resolve the issue: When I created Module Dev project, the book says you select Web option under Visual Basis and then select the template. But in my case, DNN Module development template does NOT show up under Web option. It does appear when you click Visual Basic under Project Type. 

 

Am I doing something wrong here? 

Thanks for your help.

jimkcxUser is Offline
New Poster
New Poster
Posts:2

03/01/2010 12:42 PM  

 I have the same issue. I have spent a few futile hours trying to resolve it.

Mitchel SellersUser is Offline
Site Admin/Owner
Guru
Guru
Posts:6089

03/01/2010 3:21 PM  
It should not be prompting you to create a virtual directory, unless you do not have the root properly configured.

BE sure that you are updating the "root" url and not the project URL.

-Mitchel Sellers
Microsoft C# MVP, MCITP
Director of Development
IowaComputerGurus Inc.

View Mitchel Sellers's profile on LinkedIn

For shared hosting I recommend PowerDNN

This site is hosted on a Dedicated Server from PowerDNN.com

To get Guaranteed DNN Support check out our affordable DNN Technical Support Programs
jimkcxUser is Offline
New Poster
New Poster
Posts:2

03/04/2010 12:03 PM  
Mitchel,

Your advice here (which I appreciate) contradicts what you say in your book on page 48 (assuming you're referring to "override application root URL"). So three questions:

1. How do we reconcile the contradiction between your book instruction and your advice here?

2. What should the value of "Project Url" be (in terms of your book example)?

3. What is a properly configured root? How can one determine if they have a root-configuration issue?

By the way, if I specify a project URL http://localhost/test, a virtual directory is created. (I don't know that that's helpful--just messing around.)

I'm about to go through Chapter 9, so I'll find out fairly soon if things work.
Mitchel SellersUser is Offline
Site Admin/Owner
Guru
Guru
Posts:6089

03/04/2010 1:23 PM  
I don't have the book handy, but I know that what I was trying to say above and what is int he book are the same, I've been saying it for years.

The URL that you need to modify is the "Override Application Root URL", which is the secondary URL that you have to turn on before you can even specify it. That url should be "http://localhost/dnn" where dnn is installed to the /dnn virtual directory. the other URL should be http://localhost/dnn/desktopmodules/YourModuleNameHere.

You will notice that this is improperly configured as you go to add "LabelControls" and "TextEditor" controls to the pages in the future.

-Mitchel Sellers
Microsoft C# MVP, MCITP
Director of Development
IowaComputerGurus Inc.

View Mitchel Sellers's profile on LinkedIn

For shared hosting I recommend PowerDNN

This site is hosted on a Dedicated Server from PowerDNN.com

To get Guaranteed DNN Support check out our affordable DNN Technical Support Programs
You are not authorized to post a reply.
Forums >Development Discussion >DotNetNuke > Module Development on Win 7 + VS 2008 Exprs



ActiveForums 3.7