Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 2nd, 2009, 04:15 PM
Registered User
 
Join Date: Mar 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Project URL Setting

I am experiencing a paradox when I try to set the Project URL setting using Visual Studio 2008 Team Developer on an XP system using VB. The web site was created under the C:\inetpub\wwwroot\dnn500 folder. In the project settings/Web tab, When I set the "Use Local IIS Web server" option with the Project URL of http://localhost/dnn500 I am prompted with a mesage that says I must create a virtual directory to continue.

If I create the virtual directory, I find that I can no longer access the test web site. I see a .Net error complaining about the machine key.

I guess I am trying to understand how to make the test DNN instance run and still create this project to run on the local IIS server. Any help or insight would be appreciated.
 
Old March 3rd, 2009, 02:00 AM
Registered User
 
Join Date: Mar 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Project URL Setting - VS 2008

The answer comes from a blog entry by Charles Nurse. It seems that in Visual Studio 2008, the settings of the project configuration Web tab are not the same as in VS 2005. Here is the configuration that worked for me.
  • In the Start Action area, select the Start URL radio button and enter the URL to the test web site. From the example in the book, this would be http://localhost/dotnetnuke.
  • In the Servers area, select the Use Local IIS Web server.
  • Set the Project URL to the location of the project. Again, in the example this would be http://localhost/dotnetnuke/DesktopModules/GuestbookVB.
  • Check the box labeled Override application root URL and enter the URL to the test web site. From the example, this is http://localhost/dotnetnuke.
  • Save the project settings and you should be good to go.





Similar Threads
Thread Thread Starter Forum Replies Last Post
URL Redirect based on given URL somnath.kartic VS.NET 2002/2003 1 August 2nd, 2012 08:21 AM
URL rewriting with URL forwarding mtabyana BOOK: Professional Search Engine Optimization with PHP: A Dev's Guide to SEO ISBN: 978-0-470-10092-9 0 October 22nd, 2007 08:22 AM
Website project vs Web Application Project... thenoseknows ASP.NET 2.0 Professional 0 January 14th, 2007 09:47 PM
extract URL from Favorites (.URL Files) PhilHawks VB.NET 2002/2003 Basics 2 November 2nd, 2004 04:35 AM
setting up asp web project on a dev server ak ASP.NET 1.0 and 1.1 Basics 13 March 10th, 2004 08:47 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.