Hi, I'm using Webware (.7) with IIS and ActiveState's 2.2.1 python. I get this occasional exception calling COM from the appserver, it didn't happen when I was running with Apache, but I try to make my corporate manger happy and use IIS and see what I get...:(
File "c:/pmt/reporting/src\fi_db_info.py", line 27, in __init__ self.db = Dispatch(r'ADODB.Connection') File "C:\Python22\Lib\site-packages\win32com\client\__init__.py", line 92, in Dispatch dispatch, userName = dynamic._GetGoodDispatchAndUserName(dispatch,userName,c lsctx) File "C:\Python22\Lib\site-packages\win32com\client\dynamic.py", line 81, in _ GetGoodDispatchAndUserName return (_GetGoodDispatch(IDispatch, clsctx), userName) File "C:\Python22\Lib\site-packages\win32com\client\dynamic.py", line 72, in _ GetGoodDispatch IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx, pythoncom.II D_IDispatch) com_error: (-2146959352, 'Object server is stopping when OLE service contacts it ', None, None) P.S. I'm already doing the following before I call com.. import sys sys.coinit_flags = 0 import pythoncom pythoncom.CoInitializeEx(pythoncom.COINIT_MULTITHREADED) Thanks, Stefan _______________________________________________ ActivePython mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython