Microsoft KB Archive/115047

{|
 * width="100%"|

MSQuery Err Msg: SCHEMA.INI Is a Read Only File

 * }

-

The information in this article applies to:


 * Microsoft Query for Windows, version 1.0
 * Microsoft Excel for Windows, version 5.0

-

SUMMARY
In Microsoft Query version 1.0, when you attempt to create a data source using the text driver, you may receive the following error message:

SCHEMA.INI is a read only file

This error message can appear when you try to save the data source in a root directory on any drive.

MORE INFORMATION
The SCHEMA.INI includes information about each table (text file) in a data source, including the tables format, the number of rows to scan to determine column types, whether the first row of the table contains column names, and each column's name, data type, and width.

WORKAROUND
To avoid getting the error message, save the data source to a directory other than the root directory.