FIX: Component Gallery Errors with Read-Only Project Files (182324)
The information in this article applies to:
- The Component Gallery, when used with:
- Microsoft Visual C++, 32-bit Enterprise Edition 4.2
- Microsoft Visual C++, 32-bit Professional Edition 4.2
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 5.0
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.
| Modification Type: | Major | Last Reviewed: | 12/1/2003 |
|---|
| Keywords: | kbBug kberrmsg kbfix kbide kbprb kbVC600fix kbwizard KB182324 |
|---|
|