FIX: Visual InterDev Incorrectly Determines Web Server Version (261150)



The information in this article applies to:

  • Microsoft Visual InterDev 6.0, when used with:
    • Microsoft Internet Information Server 5.0

This article was previously published under Q261150

SYMPTOMS

When you use Visual InterDev 6.0 and the Working Mode of a Web project is set to Work Offline or Local, either the browser will not open up correctly or you may receive one of the following error messages when you browse a page:
Cannot find server or DNS Error.

The page cannot be found.

Cannot start the local Web server. A stop control has been sent to a service which other running services are dependent on.

CAUSE

When in Local or Offline modes, Visual InterDev detects the version of Internet Information Server (IIS) found on the local computer. Once it determines the version of IIS, Visual InterDev then configures a Web site virtual root. If IIS 5.0 is detected, Visual InterDev attempts to configure a virtual root as an IIS 3.0 server. Because this configuration fails under IIS 5.0, the virtual root is not created and the error described in this article results.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This bug was corrected in the latest service pack for Visual Studio 6.0.

For additional information about Visual Studio service packs, click the following article numbers to view the articles in the Microsoft Knowledge Base:

194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why

194295 HOWTO: Tell That a Visual Studio Service Pack Is Installed

To download the latest Visual Studio service pack, visit the following Microsoft Web site:

MORE INFORMATION

Steps to Reproduce Behavior

  1. Open an existing Visual InterDev Web project.
  2. Right-click the project name in Project Explorer, and from the Working Mode menu, select Local or Work Offline.
  3. Right-click an .asp or .htm page in the Project Explorer and select View in Browser from the pop-up menu.

Modification Type:MinorLast Reviewed:12/12/2005
Keywords:kbBug kbfix kbIDEProject kbVS600sp4fix kbVS600sp5fix kbWebServer KB261150