How to fix error as below?
Dao3.6 Install
=========
mdac_typ_2.60.exe
Source sample
==============
import sys, string, pythoncom, win32com.client
const = win32com.client.constants
daoEngine = win32com.client.Dispatch('DAO.DBEngine.36')
class jetReverse:
def __init__ (self, infile):
self.jetfilename=infile
self.dtbs = daoEngine.OpenDatabase(infile)
return
def terminate(self):
retur
....................
Error List
========
C:\Temp>python jet2sql.py TDBDemo.mdb outfile.SQL
Traceback (most recent call last):
File "jet2sql.py", line 235, in ?
jetEng = jetReverse(sys.argv[1])
File "jet2sql.py", line 19, in __init__
self.dtbs = daoEngine.OpenDatabase(infile)
File "<COMObject DAO.DBEngine.36>", line 2, in OpenDatabase
pywintypes.com_error: (-2147352567, '\277\271\277\334 \277\300\267\371\260\241 \
271\337\273\375\307\337\275\300\264\317\264\331.', (0, 'DAO.Workspace', "'TDBDem
o.mdb' \306\304\300\317\300\273 \303\243\300\273 \274\366 \276\370\275\300\264\3
17\264\331.", 'jeterr40.chm', 5003024, -2146825264), None)
�b���'����x%��@rدx������lz��rدy+Z��(�m����lz��rدy+Z��(����Y���b�ا~��rدz����