S
Sam Sungshik Kong
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.EnsureModule('{00000201-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_OnStart sk.sql.ensuremodule() File "C:\Documents and
Settings\ssk\My Documents\My Codes\Python\library\sk\sql.py", line 102, in
ensuremodule
gencache.EnsureModule('{00000201-0000-0010-8000-00AA006D2EA4}',0,2,1) File
"C:\PROGRA~1\Python23\lib\site-packages\win32com\client\gencache.py", line
385, in EnsureModule module = GetModuleForTypelib(typelibCLSID, lcid, major,
minor) File
"C:\PROGRA~1\Python23\lib\site-packages\win32com\client\gencache.py", line
254, in GetModuleForTypelib AddModuleToCache(typelibCLSID, lcid, major,
minor) File
"C:\PROGRA~1\Python23\lib\site-packages\win32com\client\gencache.py", line
562, in AddModuleToCache _SaveDicts() File
"C:\PROGRA~1\Python23\lib\site-packages\win32com\client\gencache.py", line
62, in _SaveDicts f = open(os.path.join(GetGeneratePath(), "dicts.dat"),
"wb") IOError: [Errno 13] Permission denied:
'C:\\PROGRA~1\\Python23\\lib\\site-packages\\win32com\\gen_py\\dicts.dat'
Sam
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.EnsureModule('{00000201-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_OnStart sk.sql.ensuremodule() File "C:\Documents and
Settings\ssk\My Documents\My Codes\Python\library\sk\sql.py", line 102, in
ensuremodule
gencache.EnsureModule('{00000201-0000-0010-8000-00AA006D2EA4}',0,2,1) File
"C:\PROGRA~1\Python23\lib\site-packages\win32com\client\gencache.py", line
385, in EnsureModule module = GetModuleForTypelib(typelibCLSID, lcid, major,
minor) File
"C:\PROGRA~1\Python23\lib\site-packages\win32com\client\gencache.py", line
254, in GetModuleForTypelib AddModuleToCache(typelibCLSID, lcid, major,
minor) File
"C:\PROGRA~1\Python23\lib\site-packages\win32com\client\gencache.py", line
562, in AddModuleToCache _SaveDicts() File
"C:\PROGRA~1\Python23\lib\site-packages\win32com\client\gencache.py", line
62, in _SaveDicts f = open(os.path.join(GetGeneratePath(), "dicts.dat"),
"wb") IOError: [Errno 13] Permission denied:
'C:\\PROGRA~1\\Python23\\lib\\site-packages\\win32com\\gen_py\\dicts.dat'
Sam