How can we help you today? How can we help you today?

Link database to source control is failing: The specified path, file name, or both are too long.

The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
I have modified the windows filepath to accept long path names and also modified the Engine path to C:\Temp which is short.  Also my file name is only 211 characters long.  Any ideas as how to fix this issue?
reddy
0

Comments

2 comments

  • Alex B
    Hi @reddy,

    This is usually for the workingbase/transients folders which, when combined with e.g. a git repository path that is long can cause this issue on linking.

    You may need to change the %RGTEMP% variable so that the workingbase and transients folders are created at a shorter base path (e.g. C:\RGTemp).  You can follow the directions on this page https://documentation.red-gate.com/soc/troubleshooting/error-messages/system-outofmemoryexception under There isn't enough space on disk to set the RGTEMP variable.

    Please try this and let me know if you still have any issues!

    Kind regards,
    Alex
    Alex B
    0
  • Mark_Carlson
    BinHaving a load o' hurtiin' wid dis problem.  Tried some third party packages and am currently ok with LongPathTool  is there anything like that on Redgate ?
    Mark_Carlson
    0

Add comment

Please sign in to leave a comment.