Article ID: 182324
Article Last Modified on 12/1/2003
APPLIES TO
- The Component Gallery, when used with:
- Microsoft Visual C++ 4.2 Enterprise Edition
- Microsoft Visual C++ 4.2 Professional Edition
- Microsoft Visual C++ 5.0 Enterprise Edition
- Microsoft Visual C++ 5.0 Professional Edition
This article was previously published under Q182324
SYMPTOMS
When inserting a standard MFC component from the Component Gallery, a
message box appears with the following text:
Errors encountered:
<a long list with no filenames>
Continuing may render your project unbuildable. Continue?
Clicking Yes causes the Visual C++ IDE (Integrated Development Environment)
to hang.
Other components may provide other errors indicating that the insertion
failed. Some state that the control has probably already been added to the
project.
CAUSE
Source file permissions are read-only, perhaps due to source control.
RESOLUTION
Change the source file permissions to permit write access. In a source
control environment, this may require checking out the file, or having the
file's current owner check it back in.
STATUS
In Visual C++ version 6.0, the IDE no longer hangs when the Yes button in
the previous error message is clicked. However, the inability to add
controls to read-only files is a restriction of the operating system and is
by-design.
Keywords: kberrmsg kbbug kbfix kbide kbvc600fix kbprb kbwizard KB182324