Iis7 ASP + ACCESS database connection Error

Source: Internet
Author: User

'Microsoft ole db provider for ODBC drivers' (0x80004005)
[Microsoft] [ODBC Microsoft Access driver] The File '(unknown)' is not found )'.
/Conn/conn1.asp, row 3rd'
Iis7.0 configuration is set correctly in Windows 7, and ASP is set correctly.
But the above error will pop up during the runtime!
My database connection CodeYes: Copy codeThe Code is as follows: <%
Set conn = server. Createobject ("ADODB. Connection ")
Conn. Open "driver = {Microsoft Access Driver (*. mdb)}; DBQ =" & defaultdir & server. mappath ("worker. mdb ")&";"
Set rs = server. Createobject ("ADODB. recordset ")
Set RS1 = server. Createobject ("ADODB. recordset ")
Set rs2 = server. Createobject ("ADODB. recordset ")
Set rs3 = server. Createobject ("ADODB. recordset ")
%>

There are many versions of explanations circulating in the network. I have tried the following solutions:
A user group permission is missing for the Windows/Temp folder.
In IIS installed by default in Windows 7, the missing user group is authenticated users.
Add
Authenticated Users

The default permission is read and write. OK. The system is running normally.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.