mdb database not working upgradef from Win 7 to Win 10

  Kiến thức lập trình

I’ve today upgraded from Windows 7 to Windows 10.
I’ve installed IIS (10) and moved the various sites into the the default folder (wwwroot)

Typing ‘http://localhost/warweb/’ in the browser opens the brings up the default.asp page, biut it crashes when attempting to open the mdb database.
The code I’ve been using for years with Windows 7 is as below.

** Set adoCon2 = Server.CreateObject(“ADODB.Connection”)
adoCon2.Open “Provider=Microsoft.Jet.OLEDB.4.0; Data Source=” & Server.MapPath(“data/cwardead.mdb”)
Set rswardead2 = Server.CreateObject(“ADODB.Recordset”)**

Do I need to upgrade this for IIS 10?

It’s about ten years since I last set up an IIS server for local use.

I sorta hoped it would work straight off, without tweaking the code.

New contributor

chtyrone is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

LEAVE A COMMENT