Solved dotDefender An error occured. Action: get_site_list Exception: Invalid Response or Action: get_xpath Exception: Invalid Response
The full error:
Can’t init python Can’t import module can’t init python Traceback (most recent call last): File “C:\Program Files\Applicure\dotDefender for IIS\cgi-bin\WebServiceLib.py”, line 1, in from WebService_Utils
import * File “C:\Program Files\Applicure\dotDefender for IIS\cgi-bin\WebService_Utils.py”, line 1, in from WebService_OS import * File “C:\Program Files\Applicure\dotDefender for
IIS\cgi-bin\WebService_OS.py”, line 53, in from win32com.client import GetObject, Dispatch File “py26-sp\Lib\site-packages\win32com\client\__init__.py”, line 11, in import gencache File
“py26-sp\Lib\site-packages\win32com\client\gencache.py”, line 662, in __init__() File “py26-sp\Lib\site-packages\win32com\client\gencache.py”, line 58, in __init__ Rebuild() File
“py26-sp\Lib\site-packages\win32com\client\gencache.py”, line 649, in Rebuild _SaveDicts() File “py26-sp\Lib\site-packages\win32com\client\gencache.py”, line 65, in _SaveDicts f =
open(os.path.join(GetGeneratePath(), “dicts.dat”), “wb”) IOError: [Errno 13] Permission denied: ‘C:\\Windows\\TEMP\\gen_py\\2.6\\dicts.dat’
Solution:
I was logged into the admin site under an account that had been added post install using the add_user_permissions_IIS7.bat script. It seems this script misses adding some permissions. In my case I granted permissions to my user to the C:\Windows\Temp\gen_py
folder. I believe I gave them write permissions.
Leave a Reply