Microsoft KB Archive/922690

= You receive an &quot;InfoPath cannot start Microsoft Visual Studio Tools for Applications&quot; error message when you try to add managed code to an InfoPath form by using VSTA in Microsoft Office InfoPath 2007 =

Article ID: 922690

Article Last Modified on 2/7/2007

-

APPLIES TO


 * Microsoft Office InfoPath 2007

-





SYMPTOMS
When you try to add managed code to a Microsoft Office InfoPath form by using Microsoft Visual Studio Tools for Applications (VSTA) in InfoPath 2007, you receive the following error message:

InfoPath cannot start Microsoft Visual Studio Tools for Applications.

The filename or extension is too long.



CAUSE
This problem occurs because the number of characters in the folder path plus the file name exceeds the path and file name limit for VSTA. The maximum length for the path and file name is 127 characters.



STATUS
This behavior is by design.

Additional query words: IP2007 InfoPath2007

Keywords: kbtshoot kbexpertiseinter kberrmsg kbprb KB922690

-

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

© Microsoft Corporation. All rights reserved.