The "Open With" dialog box appears when you try to open a Visual Studio .NET database project (814708)



The information in this article applies to:

  • Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2003), Academic Edition

SYMPTOMS

After you remove Microsoft Visual Studio .NET 2003 on a computer that already has Visual Studio .NET 2002 installed, you may notice that some registry entries that Visual Studio .NET 2002 requires are missing.

Also, you may experience unexpected behavior. For example, when you try to open a database project directly in Visual Studio .NET 2002 by double-clicking the .sln or .dbp file, the Open With dialog box appears and prompts you to select the associated program.

CAUSE

This behavior occurs because the registry entry that is associated with the .dbp file name extension of the database project is removed from the registry when you remove Visual Studio .NET 2003. When the registry entry HKEY_CLASSES_ROOT\.dbp is removed, the computer cannot identify the program that is associated with the .dbp files.

You may notice that similar registry entries for other file name extensions are missing, such as HKEY_CLASSES_ROOT\.dbs.

RESOLUTION

To resolve this problem, repair Visual Studio .NET 2002. To do this, follow these steps:
  1. Click Start, point to Settings, and then click Control Panel.
  2. In Control Panel, double click Add/Remove Programs, and then click Change or Remove programs.
  3. Click Visual Studio .NET, and then click Change/Remove.
  4. On the Visual Studio .NET Setup page, click 2. Visual Studio .NET.
  5. On the Maintenance page of the Setup procedure, click Repair/Reinstall.

Steps to Reproduce the Behavior

  1. Install Visual Studio .NET 2002, and then install Visual Studio .NET 2003.
  2. Click Start, click Run, type regedit, and then click OK.
  3. Expand HKEY_CLASSES_ROOT.
  4. Verify that the .dbp key is present in the registry, and then quit Registry Editor.
  5. Double-click to open any existing .dbp file. The database project opens in Visual Studio .NET.
  6. Quit Visual Studio .NET, and then remove Visual Studio .NET 2003.
  7. Click Start, click Run, type regedit, and then click OK.
  8. Expand HKEY_CLASSES_ROOT.
  9. Verify that the .dbp key is missing from the registry, and then quit Registry Editor.
  10. Double-click to open any existing .dbp file.

REFERENCES

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

312779 INFO: Visual Studio .NET Readme (Part 1)


Modification Type:MinorLast Reviewed:3/3/2006
Keywords:kbvs2005swept kbvs2005doesnotapply kbRegistry kbprb KB814708 kbAudDeveloper