Deployment of Model via Powershell
When calling the deployment of a model.bim file via powershell You get an error if the path to the file is too long in the arguments list. E.g. C:\A\B_C\C\E_F-CI\Model.bim Error Message: Error loading model: The connection string is not valid.
Model deploys fine if you move the file to C:\A\Model.bim
or change directory to where the model file is and put the path as ".\model.bim"
How long are your paths? Have you enabled long paths in Windows? https://superuser.com/questions/1119883/windows-10-enable-ntfs-long-paths-policy-option-missing
@dilshan-sivanesan Did you enclose the path in quotes? E.g. "C:\A\B_C\C\E_F-CI\Model.bim"? Would you mind posting the entire PowerShell command that is failing?
@dilshan-sivanesan Any update on this, or can we close the issue?
Hi Daniel
Using quotes didn't help we had to shorten the path my moving the location of the file. I think if I'm the only one experiencing the issue we can close the path for now
On Mon, Dec 3, 2018, 9:37 PM Daniel Otykier <[email protected] wrote:
@dilshan-sivanesan https://github.com/dilshan-sivanesan Any update on this, or can we close the issue?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/otykier/TabularEditor/issues/209#issuecomment-443879717, or mute the thread https://github.com/notifications/unsubscribe-auth/AqaZYmOtRJzxx3dwM3u8ncP67PyxW1BPks5u1ZmlgaJpZM4X6dSc .
So there it is. It's the Long File Paths setting in Windows as per my previous comment. Seems safe to close this one.