Interesting. I added that line and I'm still getting the same error.
FYI, when I first attempted the install I got a write error because I had removed write permissions to the config folder after I installed v4.0 (as per the instructions). I added full permission back for the appropriate users and then got to this error. Also, all of the file paths in the security.xml file read like the one below, problem? I got rid of the extra forward slash, but that didn't work either.
E:\Surveys\/config
|