c# - Getting "IErrorInfo.GetDescription failed with E_FAIL(0x80004005)" when querying "select * from open" -
i have c# app connected jet 4.0 engine. when run query "select * open" (i think "open" keyword , why i'm getting exception, but...) exception: "ierrorinfo.getdescription failed e_fail(0x80004005)". more human readable exceptions telling me wrong query. 1 looks more bug in jet engine. tested in microsoft access 2002 run same query , treats "open" valid name. can create table named "open" , whatever want it. need know if it's bug in jet engine can go ahead , replace weired looking message human readable 1 , show user, or if there problem code.
i have been through same problem, try enclosing reserved word in square brackets i.e.:
"select * [open]"
Comments
Post a Comment