Hi everyone,
I jsut installed pywin32 and isapi_wsgi on a Windows Server 2008
running IIS7.5 .
When running the test isapi_wsgi.py I'm getting the following error:
PS C:\Users\my_username\Desktop\isapi_wsgi-0.4.2> python .
\isapi_wsgi.py install
Traceback (most recent call last):
File ".\isapi_wsgi.py", line 563, in <module>
custom_arg_handlers = custom_arg_handlers)
File "C:\Python26\lib\site-packages\isapi\install.py", line 724, in
HandleCommandLine
handler(conf_module_name, params, options, log)
File "C:\Python26\lib\site-packages\isapi\install.py", line 615, in
InstallModule
Install(params, options)
File "C:\Python26\lib\site-packages\isapi\install.py", line 494, in
Install
CreateDirectory(vd, options)
File "C:\Python26\lib\site-packages\isapi\install.py", line 289, in
CreateDirectory
target_dir = GetObject(FindPath(options, params.Server, parent))
File "C:\Python26\lib\site-packages\isapi\install.py", line 144, in
FindPath
return FindWebServer(options, server)+"/ROOT"+name
File "C:\Python26\lib\site-packages\isapi\install.py", line 205, in
FindWebServer
server = GetWebServer(server_desc)
File "C:\Python26\lib\site-packages\isapi\install.py", line 177, in
GetWebServer
path = LocateWebServerPath(description)
File "C:\Python26\lib\site-packages\isapi\install.py", line 158, in
LocateWebServerPath
iis = GetObject(_IIS_OBJECT)
File "C:\Python26\lib\site-packages\win32com\client\__init__.py",
line 72, in GetObject
return Moniker(Pathname, clsctx)
File "C:\Python26\lib\site-packages\win32com\client\__init__.py",
line 87, in Moniker
moniker, i, bindCtx = pythoncom.MkParseDisplayName(Pathname)
pywintypes.com_error:
(-2147221020, 'Invalid syntax', None, None)
any idea why this is?
thanks guys