You receive an "Unable to open Web project" error message when you upgrade a WebClass project to Visual Basic .NET (835389)



The information in this article applies to:

  • Microsoft Visual Basic .NET (2003)
  • Microsoft Visual Basic .NET (2002)

SYMPTOMS

When you try to upgrade a WebClass project in Microsoft Visual Basic .NET by using the Visual Basic Upgrade Wizard in FrontPage extensions mode for the Web Server Connection setting, you may receive a Web Access Failed dialog box that contains the following error message:
Unable to open Web project 'ProjectName'. Not Found

Note ProjectName is the name of the project that you chose when you upgraded the project.

WORKAROUND

To work around this behavior, set the Web Server Connection setting of the project to File share mode. To do this, follow these steps:
  1. Start Microsoft Visual Studio .NET.
  2. On the Tools menu, click Options. The Options dialog box appears.
  3. In the left pane, click the Projects folder, and then click Web Settings.
  4. Under Preferred access method, click File share

STATUS

This behavior is by design.

MORE INFORMATION

Steps to reproduce the behavior

  1. Create a WebClass (Internet Information Server (IIS) Application) project to upgrade to Visual Basic. NET.

    For additional information about creating a WebClass (IIS Application) project in Microsoft Visual Basic 6.0, click the following article number to view the article in the Microsoft Knowledge Base:

    191039 How to build an Internet Information Server application

  2. Start Microsoft Visual Studio .NET.
  3. Set the Web Server Connection setting to FrontPage Extensions for the project. To do this, follow these steps:
    1. On the Tools menu, click Options. The Options dialog box appears.
    2. In the left pane, click the Projects folder, and then click Web Settings.
    3. Under Preferred access method, click FrontPage Extensions.
  4. In Microsoft Visual Studio .NET 2003
    On the File menu click Open, and then click Convert. The Convert dialog box appears.

    In Microsoft Visual Studio .NET 2002
    On the File menu click Open, and then click Project. The Open Project dialog box appears.
  5. In Microsoft Visual Studio .NET 2003
    In the Available Converters list, click Visual Basic .NET Upgrade Wizard, and then click OK.

    In Microsoft Visual Studio .NET 2002
    Locate the Visual Basic WebClass (IIS Application) project that you want to upgrade, and then click Open.
  6. Click Next on the Visual Basic Upgrade Wizard.
  7. In Microsoft Visual Studio .NET 2003
    Click Browse to locate the Visual Basic WebClass (IIS Application) project that you want to upgrade, and then click Next.
  8. Click DLL/ custom control library, and then click Next. The Specify a Location for Your New Project dialog box appears.
  9. In the Specify a location for your project box, type the location of the project.
  10. In the What virtual directory name do you want to use? box, type the virtual directory name.
  11. If the location that you selected in step 9 does not exist, a Warning dialog box appears. Click OK to create the location for the project.
  12. In the Ready to upgrade dialog box, click Next to complete the wizard.

REFERENCES

For more information, visit the following Microsoft Developer Network (MSDN) Web sites: For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

311300 You cannot develop DHTML applications, ActiveX documents, and IIS applications in Visual Basic .NET


Modification Type:MajorLast Reviewed:2/27/2004
Keywords:kbWebClasses kbUpgrade kbprb KB835389 kbAudDeveloper