Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
|
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 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 October 24th, 2006, 11:39 AM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default IIS on Win2K with VB6 Config Problem

I have a Windows 2000 box, with IIS loaded on it.
I have several VB 6 IIS applications that work together as a suite.
I had all these on a Win NT 4 box with Personal Web Server.
The file structure is:
Code:
c: +— InetPub
     +— Components
     |   +— CR
     |   |   +— CR.DLL   (the actual CR WebClass code.)
     |   |
     |   +— IDDS
     |   |   +— IDDS.DLL (the actual IDDS WebClass code.)
     |   |
     |   +— FS
     |       +— FS.DLL   (the actual FS WebClass code.)
     |
     +— WWWRoot <--<<< default web site
         +— CR
         |   +— CR.ASP
         |   +— CR.VBP (and associated folders & files)
         |
         +— IDDS
         |   +— IDDS.ASP
         |   +— IDDS.VBP (and associated folders & files)
         |
         +— FS
             +— FS.ASP
             +— FS.VBP (and associated folders & files)
            As I had it set up on the NT 4 box, all of the folders where the .ASP files were were set to be virtual roots of the same name as the asp. So IDDS could be run with:
 h ttp://localhost/IDDS/IDDS.asp
(for instance).

So when I set up the new box, I turned the folders where the ASPs reside into internet applications (again, as before). But when I open the applications in the VB IDE, and hit the Run button on the toolbar, I am prompted to name a virtual root. And It will not let me select the names "IDDS," "CR," etc, telling me that those names are already in use.

How can I tell VB to just go ahead and use the existing file structure, using the virtual roots that already exist?

I need to keep the URL structure the same so that my development enviroment matches th eproduction environment.

Since posting this I tried the following:
  • Deleted the Virtual root VB wanted to make
  • rescinded the Internet Application status of ...\wwwroot\cr
  • Renamed ...wwwRoot\CR to ...wwwroot\_cr
  • Ran the app from _CR
  • Chose CR as the virtual root name
  • stopped, saved and closed the app
  • Deleted the CR virtual root with InetMgr
  • Renamed _cr to CR
  • In InetMgr made CR an internet application
  • re-ran the VB app
Unfortunately, it now (once again) wants to create a virtual root, recommending CR-0... <sigh...>





Similar Threads
Thread Thread Starter Forum Replies Last Post
IIS on Win2K with VB6 Config Problem BrianWren Internet Information Services 0 October 24th, 2006 01:35 PM
IIS on Win2K with VB6 Config Problem BrianWren VB Components 0 October 24th, 2006 01:34 PM
IIS on Win2K with VB6 Config Problem BrianWren VB How-To 0 October 24th, 2006 01:33 PM
IIS config question? developerz BOOK: ASP.NET Website Programming Problem-Design-Solution 0 November 15th, 2003 05:59 AM





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