Microsoft KB Archive/887039

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

Article ID: 887039

Article Last Modified on 4/11/2007

-

APPLIES TO


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

-





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.



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.



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:  Start Visual SourceSafe 6.0c. Logon with your credentials. 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. In the Check Out  dialog box, complete the following information, and then click OK.

The placeholder  is the name of your Office InfoPath project.  In the Comment box, type a . In the To box, type.

The placeholder  is the name of the local working folder where you want to put the project. Click Recursive to check out the complete project.</li></ol> </li> If you are prompted to create the folder, click Yes All.</li> Start Visual Studio .NET 2003.</li> On the File menu, click Open, and then click Project.</li> In the Open Project dialog box, locate the folder that you created in step 4, click the solution file (.sln), and then click Open.</li></ol>

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

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

<div class="moreinformation_section">

MORE INFORMATION
For additional information about the Office InfoPath 2003 Toolkit for Visual Studio .NET, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyId=7E9EBC57-E115-4CAC-9986-A712E22879BB&displaylang=en

For additional information about Visual SourceSafe, visit the following Microsoft Developer Network (MSDN) Web site:

http://msdn2.microsoft.com/en-us/vstudio/aa700900.aspx

Additional query words: VS VCS IP2007

Keywords: kbsrccontrol kbtshoot kbprb KB887039

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.