import win32com.client
pyServ = win32com.client.Dispatch("Project2.SimpleServer")
Исполнение заканчивается ошибкой:
File "C:\Python26\Lib\SITE-P~1\PYTHON~1\pywin\framework\scriptutils.py", line 309, in RunScript
debugger.run(codeObject, __main__.__dict__, start_stepping=0)
File "C:\Python26\Lib\SITE-P~1\PYTHON~1\pywin\debugger\__init__.py", line 60, in run
_GetCurrentDebugger().run(cmd, globals,locals, start_stepping)
File "C:\Python26\Lib\SITE-P~1\PYTHON~1\pywin\debugger\debugger.py", line 624, in run
exec cmd in globals, locals
File "D:\cmsproject\activation\Êîïèÿ codecreator.py", line 2, in <module>
pyServ = win32com.client.Dispatch("Project2.SimpleServer")
File "C:\Python26\lib\site-packages\win32com\client\__init__.py", line 95, in Dispatch
dispatch, userName = dynamic._GetGoodDispatchAndUserName(dispatch,userName,clsctx)
File "C:\Python26\lib\site-packages\win32com\client\dynamic.py", line 98, in _GetGoodDispatchAndUserName
return (_GetGoodDispatch(IDispatch, clsctx), userName)
File "C:\Python26\lib\site-packages\win32com\client\dynamic.py", line 78, in _GetGoodDispatch
IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx, pythoncom.IID_IDispatch)
com_error: (-2147467262, '\xc8\xed\xf2\xe5\xf0\xf4\xe5\xe9\xf1 \xed\xe5 \xef\xee\xe4\xe4\xe5\xf0\xe6\xe8\xe2\xe0\xe5\xf2\xf1\xff', None, None)
Прошу помочь решить ошибку, как обратится к этому COM-серверу?