Article ID: 925201 - Last Review: November 3, 2006 - Revision: 1.2

You may receive an error message when you build, run, or debug an InfoPath 2007 form template that contains Visual Basic code

Expand all | Collapse all

SYMPTOMS

When you build, run, or debug a Microsoft Office InfoPath 2007 form template that contains Microsoft Visual Basic code, you may receive an error message that resembles the following:
Unable to copy file "obj\Debug\InfoPathFormTemplate.dll" to ".\bin\Debug\InfoPathFormTemplate.dll". Could not find file 'obj\Debug\InfoPathFormTemplate.dll'.
Note In this error message, InfoPathFormTemplate is a placeholder for the name of the project.

CAUSE

This problem occurs because you click Clean Solution on the Build menu before you build, run, or debug the project. The Clean Solution function does not work correctly for Visual Basic projects.

WORKAROUND

To work around this problem, click Rebuild All on the Build menu before you build, run, or debug the project.

APPLIES TO
  • Microsoft Office InfoPath 2007
Keywords: 
kbexpertiseadvanced kbtshoot kbprb KB925201
 

Article Translations

 

Related Support Centers