IIS has a 500 error. Type of error: How does Microsoft JET Database Engine (0x80004005) solve it? Very simple, look at the following case analysis and solution will understand.
This is the contents of the Conn.asp file:
<%
Dim Conn,rs,datapath
Set Conn=server.createobject ("ADODB. Connection ")
Datapath= "Db1.mdb"
Dbpath=server.mappath (DataPath)
Conn. Open "Provider=Microsoft.Jet.OLEDB.4.0; Jet oledb:database password=;D ata source= "& DBPath
Set Rs=server.createobject ("ADODB. Recordset ")
%>
This is displayed after you open the local test 127.0.0.1.
Error type:
Microsoft JET Database Engine (0x80004005)
Unspecified error
/conn.asp, line 5th.
Browser type:
mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Web page:
Get/index.asp
Time:
March 12, 2009, 21:00:50
Workaround:
The C:windowstemp directory has insufficient permissions and should be added with everyone permission.
"Start"--"run" enters command line mode input
cacls c:windowstemp/g Everyone:f
Implement Full Control permissions to add the Everyone group to the temp directory. where f means full control, the corresponding setting is Read permission, and W is write permission.
OK, it's settled.