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 receive an "InfoPath cannot start Microsoft Visual Studio Tools for Applications" error message when you try to add managed code to an InfoPath form by using VSTA in Microsoft Office InfoPath 2007


View products that this article applies to.

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.

↑ Back to the top


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.

↑ Back to the top


Status

This behavior is by design.

↑ Back to the top


Keywords: KB922690, kbprb, kberrmsg, kbexpertiseinter, kbtshoot

↑ Back to the top

Article Info
Article ID : 922690
Revision : 4
Created on : 2/7/2007
Published on : 2/7/2007
Exists online : False
Views : 240