You cannot open an Office InfoPath 2003 project from Visual SourceSafe 6.0c in Visual Studio .NET (887039)



The information in this article applies to:

  • Microsoft Office InfoPath 2003, Service Pack 1 (SP1)
  • Microsoft Visual SourceSafe 6.0c
  • Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2003), Professional Edition

SYMPTOMS

When you try to open a Microsoft Office InfoPath 2003 project by clicking Open from Source Control in Microsoft Visual Studio .NET 2003, you receive the following error messages:

Error message 1
The system cannot find the file specified.
Error message 2
Project failed to load. Default settings will be used to create the project.
Error message 3
The operation could not be completed because the InfoPath project does not contain a form definition file (.xsf). Please ensure that the form definition file is added to your project.

CAUSE

This problem occurs because the Microsoft Visual SourceSafe plug-in does not support opening an Office InfoPath 2003 project by clicking Open from Source Control.

WORKAROUND

To work around this problem, you must put your Office InfoPath 2003 project in a local working folder before you open the project in Visual Studio .NET 2003. To do this, follow these steps:
  1. Start Visual SourceSafe 6.0c. Logon with your credentials.
  2. In the All projects pane, right-click the Office InfoPath 2003 project that you want to work with in Visual Studio .NET 2003. Click Check Out.
  3. In the Check Out <InfoPathProject> dialog box, complete the following information, and then click OK.

    The placeholder <InfoPathProject> is the name of your Office InfoPath 2003 project.
    1. In the Comment box, type a <comment>.
    2. In the To box, type <LocalWorkingFolder>.

      The placeholder <LocalWorkingFolder> is the name of the local working folder where you want to put the project.
    3. Click Recursive to check out the complete project.
  4. If you are prompted to create the folder, click Yes All.
  5. Start Visual Studio .NET 2003.
  6. On the File menu, click Open, and then click Project.
  7. In the Open Project dialog box, locate the folder that you created in step 4, click the solution file (.sln), and then click Open.
Note You may receive an error message that is similar to the following:
The following file is referenced in the .xsf file but is not part of the form: <InfoPathProject>.dll.
If you want to build the solution before you put the solution in Visual SourceSafe source control, you must delete the reference to the dynamic link library (DLL) from the Manifest file. Then, rebuild the solution.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For additional information about the Office InfoPath 2003 Toolkit for Visual Studio .NET, visit the following Microsoft Web site:For additional information about Visual SourceSafe, visit the following Microsoft Developer Network (MSDN) Web site:

Modification Type:MajorLast Reviewed:11/11/2004
Keywords:kbSrcControl kbtshoot kbprb KB887039 kbAudDeveloper