Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

Symptoms

When you try to open a Microsoft Office InfoPath 2007 or 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.

↑ Back to the top


Cause

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

↑ Back to the top


Workaround

To work around this problem, you must put your Office InfoPath 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 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 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.

↑ Back to the top


Status

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

↑ Back to the top


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:

↑ Back to the top


Keywords: KB887039, kbprb, kbtshoot, kbsrccontrol

↑ Back to the top

Article Info
Article ID : 887039
Revision : 3
Created on : 4/11/2007
Published on : 4/11/2007
Exists online : False
Views : 578