Hello!
I use Python for ASP.
When I request a page for the first time in a session, I get an error
message like below.
If I refresh the same page, it doesn't cause any error.
I believe that the error occurs at
def ensuremodule():
gencache.Ensure Module('{000002 01-0000-0010-8000-00AA006D2EA4}', 0,2,1)
which is for ADO for SQLServer.
Does anybody know why?
Error Type:
Python ActiveX Scripting Engine (0x80020009)
Traceback (most recent call last): File "<Script Block >", line 3, in
Application_OnS tart sk.sql.ensuremo dule() File "C:\Documen ts and
Settings\ssk\My Documents\My Codes\Python\li brary\sk\sql.py ", line 102, in
ensuremodule
gencache.Ensure Module('{000002 01-0000-0010-8000-00AA006D2EA4}', 0,2,1) File
"C:\PROGRA~1\Py thon23\lib\site-packages\win32c om\client\genca che.py", line
385, in EnsureModule module = GetModuleForTyp elib(typelibCLS ID, lcid, major,
minor) File
"C:\PROGRA~1\Py thon23\lib\site-packages\win32c om\client\genca che.py", line
254, in GetModuleForTyp elib AddModuleToCach e(typelibCLSID, lcid, major,
minor) File
"C:\PROGRA~1\Py thon23\lib\site-packages\win32c om\client\genca che.py", line
562, in AddModuleToCach e _SaveDicts() File
"C:\PROGRA~1\Py thon23\lib\site-packages\win32c om\client\genca che.py", line
62, in _SaveDicts f = open(os.path.jo in(GetGenerateP ath(), "dicts.dat" ),
"wb") IOError: [Errno 13] Permission denied:
'C:\\PROGRA~1\\ Python23\\lib\\ site-packages\\win32 com\\gen_py\\di cts.dat'
Sam