467,075 Members | 935 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,075 developers. It's quick & easy.

gencache.EnsureModule Error

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
Jul 18 '05 #1
  • viewed: 1507
Share:

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Gregory | last post: by
7 posts views Thread by p | last post: by
3 posts views Thread by Manuel | last post: by
1 post views Thread by developer | last post: by
reply views Thread by Kai Rosenthal | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.