Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Could not find standard library: '<filename>'
Collapse the table of content
Expand the table of content

Could not find standard library: '<filename>'

Visual Basic is unable to find or open one of the standard DLL libraries needed for compilation and linking.

The unusable library is most likely to be either mscorlib.dll or microsoft.visualbasic.dll.

By default, this message is a warning. For information on hiding warnings or treating warnings as errors, see Configuring Warnings in Visual Basic.

Error ID: BC40049

To correct this error

  1. Verify that the file cited in the error message is present on the hard disk from which you are running Visual Basic. Normally the standard libraries should reside in a subdirectory under \WINNT\Microsoft.NET\Framework or \WINDOWS\Microsoft.NET\Framework.

  2. Verify that neither the file nor the directory has a setting or attribute that prevents read access by Visual Basic.

  3. Verify that the file name and extension are spelled correctly. Capitalization is not a concern.

  4. If the file appears to be properly placed and accessible, it might be corrupted on the disk. Reinstall Visual Basic if possible.

  5. Note the exact file name and extension and contact Microsoft Product Support Services.

Community Additions

© 2015 Microsoft