Help and Support
 

powered byLive Search

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

Article ID:925201
Last Review:November 3, 2006
Revision:1.1

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.

Back to the top

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.

Back to the top

WORKAROUND

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

Back to the top


APPLIES TO
Microsoft Office InfoPath 2007

Back to the top

Keywords: 
kbexpertiseadvanced kbtshoot kbprb KB925201

Back to the top

Article Translations

 

Related Support Centers

Other Support Options

  • Need More Help?
    Contact a Support professional by E-mail, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.