I suspect you are getting different results in XP vs. 7 because of the difference in the location of where the two operating systems store local app data.
XP: \\Documents and Settings\\$USER$\\Local Settings
http://social.technet.microsoft.com/wik ... vista.aspx
This would explain why the specified path, file name, or both are too long in XP and not 7 because the XP path will be slightly longer than that of 7.
For the error "The specified path, file name, or both are too long".
We recommend you relocate your working base folder
http://documentation.red-gate.com/displ ... e+too+long
Note: The working base folder is different from the working folder.
http://documentation.red-gate.com/displ ... rking+base