1

My old website in ASP started generating this error:

Microsoft Cursor Engine error '80040e21'
Multiple-step operation generated errors. Check each status value.

I haven't changed recently anything - perhaps my hosting provider made a change but the error is pointing to this line of code:

rs.Open SQL, adoCon

I checked: rs, adoCon and SQL are all set and it used to work for years before.

Set rs = Server.CreateObject("ADODB.Recordset")
adoCon.Open  "DRIVER={MySQL ODBC 3.51 Driver}; SERVER=<SERVER_NAME>; PORT=<PORT_NUMBER>;" &_
                    "DATABASE=<DBNAME>; USER=<USERNAME>; PASSWORD=<PASS>; OPTION=3;"

SQL is correct - I directly injected it into mySQL web interface and it generated needed results.

When I handle this error in ASP the Error.Description prints

"Object required"

What is it complaining about?

4

2 に答える 2