Microsoft KB Archive/835389

= You receive an &quot;Unable to open Web project&quot; error message when you upgrade a WebClass project to Visual Basic .NET =

Article ID: 835389

Article Last Modified on 5/17/2007

-

APPLIES TO


 * Microsoft Visual Basic .NET 2003 Standard Edition
 * Microsoft Visual Basic .NET 2002 Standard Edition

-



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 ' '. Not Found

Note  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.



Steps to reproduce the behavior
 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

 Start Microsoft Visual Studio .NET. Set the Web Server Connection setting to FrontPage Extensions for the project. To do this, follow these steps:  On the Tools menu, click Options. The Options dialog box appears. In the left pane, click the Projects folder, and then click Web Settings. Under Preferred access method, click FrontPage Extensions.</li></ol> </li> 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.</li> 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.</li> Click Next on the Visual Basic Upgrade Wizard.</li> 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.</li> Click DLL/ custom control library, and then click Next. The Specify a Location for Your New Project dialog box appears.</li> In the Specify a location for your project box, type the location of the project.</li> In the What virtual directory name do you want to use? box, type the virtual directory name.</li> 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.</li> In the Ready to upgrade dialog box, click Next to complete the wizard.</li></ol>

<div class="references_section">