IIS test does not open page 500 error

Source: Internet
Author: User

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.

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.