Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server operations stopped working #85

Closed
MikeKGilmore opened this issue Jun 5, 2019 · 2 comments
Closed

Server operations stopped working #85

MikeKGilmore opened this issue Jun 5, 2019 · 2 comments
Assignees

Comments

@MikeKGilmore
Copy link

SPGo has been working wonderfully for me since I started using it about 1 month ago but it suddenly stopped performing certain operations, such as publishing, checking out files, etc.

Here is my config:

{ "sourceDirectory": "src/yyyyyy", "sharePointSiteUrl": "https://xxxxxx.com/xxx/yyyyyy", "publishingScope": "Minor", "authenticationType": "NTLM", "storeCredentials": true, "remoteFolders": [ "/SiteAssets/**/*", "/SitePages/**/*" ] }

I can populate my workspace just fine, but operations involving writes to the server have stopped working. SPGo does not provide any output indicating the problem. This is an on-prem SP2013 farm.

SPGo: 1.3.5
VSCode x64: 1.35.0

Thanks in advance!

@chrishasz chrishasz self-assigned this Jun 11, 2019
@chrishasz
Copy link
Owner

Hello @MikeKGilmore -

Moving our Email conversation to Github so that this issue resolution will be available to other users. I was able to reproduce and resolve your issue - it turns out that your entry for sourceDirectory is malformed in windows. Please change the `sourceDirectory your spgo.json file to use the windows slash, e.g.:

{ 
    "sourceDirectory": "src\\yyyyyy", 
    "sharePointSiteUrl": "https://xxxxxx.com/xxx/yyyyyy", 
    "publishingScope": "Minor", 
    "authenticationType": "NTLM", 
    "storeCredentials": true, 
    "remoteFolders": [
        "/SiteAssets/**/*", 
        "/SitePages/**/*" 
    ] 
}

I will add a feature to the backlog to format the source directory property to the correct path separator for each OS.

Please let me know if this resoves your issue, and I'll close this issue.

Thanks,
Chris

@MikeKGilmore
Copy link
Author

This works great, thank you very much!

@chrishasz chrishasz mentioned this issue Jun 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants