Dreamweaver CS4 | ![]() |
Dreamweaver CS4 Resources |
Troubleshooting Microsoft error messagesThese Microsoft error messages can occur when you request a dynamic page from the server if you use Internet Information Server (IIS) with a Microsoft database system such as Access or SQL Server. Note: Adobe
does not provide technical support for third-party software such
as Microsoft Windows, and IIS. If this information does not fix
your problem, please contact Microsoft technical support or visit
the Microsoft support website at http://support.microsoft.com/.
For more information on 80004005 errors, see “INFO: Troubleshooting Guide for 80004005 Errors in Active Server Pages and Microsoft Data Access Components (Q306518),” on the Microsoft website at http://support.microsoft.com/default.aspx?scid=kb;en-us;Q306518. [Reference]80004005—Data source name not found and no default driver specifiedThis error occurs when you attempt to view a dynamic page in a web browser or in Live Data mode. The error message may vary depending on your database and web server. Other variations of the error message include:
If you use Microsoft Access, the database file (.mdb) might be locked. The lock might be due to a DSN with a different name accessing the database. In Windows Explorer, search for the lock file (.ldb) in the folder containing the database file (.mdb) and delete the .ldb file. If another DSN is pointing to the same database file, delete the DSN to prevent the error in the future. Reboot the computer after making any changes. [Reference]80004005—Couldn’t use ‘(unknown)’; file already in useThis error occurs when you use a Microsoft Access database and attempt to view a dynamic page in a web browser or in Live Data mode. Another variation of this error message is “80004005—Microsoft Jet database engine cannot open the file (unknown).” The probable cause is a permissions problem. Here are some specific causes and solutions:
[Reference]80004005—Logon Failed()This error occurs when you use Microsoft SQL Server and attempt to view a dynamic page in a web browser or in Live Data mode. This error is generated by SQL Server if it doesn’t accept or recognize the logon account or password being submitted (if you’re using standard security), or if a Windows account does not map to a SQL account (if you’re using integrated security). Here are possible solutions:
[Reference]80004005—Operation must use an updateable queryThis error occurs when an event is updating a recordset or inserting data in a recordset. Here are possible causes and solutions:
[Reference]80040e07—Data type mismatch in criteria expressionThis error occurs when the server tries to process a page containing an Insert Record or Update Record server behavior, and the server behavior attempts to set the value of a Date/Time column in a Microsoft Access database to an empty string (""). Microsoft Access has strong data typing; it imposes a rigorous set of rules on given column values. The empty string value in the SQL query cannot be stored in an Access Date/Time column. Currently, the only known workaround is to avoid inserting or updating Date/Time columns in Access with empty strings ("") or with any other value that does not correspond to the range of values specified for the data type. [Reference]80040e10—Too few parametersThis error occurs when a column specified in your SQL query does not exist in the database table. Check the column names in your database table against the SQL query. The cause of this error is often a typographical error. [Reference]80040e10—COUNT field incorrectThis error occurs when you preview a page containing an Insert Record server behavior in a web browser and try to use it to insert a record in a Microsoft Access database. You might be trying to insert a record into a database field that has a question mark (?) in its field name. The question mark is a special character for some database engines, including Microsoft Access, and should not be used for database table names or field names. Open your database system and delete the question mark (?) from the field names, and update the server behaviors on your page that refer to this field. [Reference]80040e14—Syntax error in INSERT INTO statementThis error occurs when the server tries to process a page containing an Insert Record server behavior. This error typically results from one or more of the following problems with the name of a field, object, or variable in the database:
[Reference]80040e21—ODBC error on Insert or UpdateThis error occurs when the server tries to process a page containing an Update Record or Insert Record server behavior. The database cannot handle the update or insert operation the server behavior is trying to perform. Here are possible causes and solutions:
[Reference]800a0bcd—Either BOF or EOF is trueThis error occurs when you attempt to view a dynamic page in a web browser or in Live Data mode. The problem occurs when the page tries to display data from an empty recordset. To solve the problem, apply the Show Region server behavior to the dynamic content to be displayed on the page, as follows:
|