PRB: Component Gallery Errors with Read-Only Project Files

Last reviewed: March 11, 1998
Article ID: Q182324
The information in this article applies to:
  • The Component Gallery included with:

        - Microsoft Visual C++, 32-bit Editions, versions 4.2, 5.0, 5.0sp1,
          5.0sp2, 5.0sp3
    

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.

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

Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a new MFC AppWizard (exe) project.

  2. Change the file permissions to read-only for all files except the .ncb file.

  3. On the Project menu, click Add to Project.

  4. Select Standard MFC Components, and insert a status bar (select "use the system defaults" in the wizard).

    NOTE: The message box described in the SYMPTOMS section appears.

  5. Click Yes.

Results: The Visual C++ IDE will hang.

For additional information, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q182323
   TITLE     : BUG: ClassView Add... Errors with Read-Only Project Files

Keywords          : vcbuglist420 vcbuglist500 VwbIss WizardIss
Version           : WINNT:4.2,5.0,5.0sp1,5.0sp2,5.0sp3
Platform          : winnt
Issue type        : kbprb


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 11, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.