PRB: DataConnections or Commands Unrecognized, Browser Flashes

ID: Q191961


The information in this article applies to:


SYMPTOMS

When trying to add an Active Server Pages (ASP) page to your current project by selecting New File from the File menu, clicking the New tab of the resulting dialog box, selecting the Visual InterDev folder in the left side, and selecting "ASP Page" in the right side of the dialog box, the following symptoms may show on that ASP page:


CAUSE

Adding a new file by using this menu option does not add the file to the project. Instead, it adds it to a subfolder called "Miscellaneous Files," which is not a part of the project and does not recognize Data Connections or Data Commands in the project.


RESOLUTION

Use the following steps to correctly add an ASP page to your current project:

  1. In the Project Explorer: right-click your current project (Bold type face, located directly under the Solution).


  2. From the shortcut menu, select Add and then click Active Server Page.


This adds an ASP page to your project and not to the Miscellaneous Files folder.


STATUS

This behavior is by design.


MORE INFORMATION

Steps to Reproduce Behavior

  1. From the File menu, click New File (a new window will pop up).


  2. Under the New tab, select the Visual InterDev folder in the left pane.


  3. Select ASP Page in the right pane.


  4. Click Open.


-or-
  1. From the File menu, click New File (a new window will pop up).


  2. Select HTML Page in the right pane.


  3. Click Open.


  4. From the File menu, select Save New HTML Page1.


  5. Change the extension to .asp by clicking Save xxx.asp AS from the File menu, and save the HTM page as an ASP.


Result: The new ASP or HTM page stored in a folder called Miscellaneous Files instead of in your current project.

The Miscellaneous Files directory was intended to be an area that you could add files to without affecting your team's project.

Additional query words:


Keywords          : kbVisID600 kbWebServer kbGrpASP 
Version           : WINDOWS:6.0
Platform          : WINDOWS 
Issue type        : kbprb 

Last Reviewed: May 24, 1999