none
javascript is not working in reverse-proxy sharepoint site RRS feed

  • Question

  • we use reverse proxy to allow external access to internal sharepoint site, here is the error i can see, please help

    1. the javascript code  like contextWebApplication.executeQueryAsync always fail,

    2.  the drag and drop upload falied: Error with request to the server: Unexpected response from server. The status code of response is '500'. The status text of response is 'System.ServiceModel.ServiceActivationException'., StackTrace:

    3. https://XX.XX.com/_vti_bin/client.svc/ProcessQuery HTTPS POST 500 0 B 251.75 ms XMLHttpRequest

    System.ServiceModel.ServiceActivationException

    Friday, July 19, 2019 3:24 AM

All replies

  • Hi,

    Try to use Fiddler to debug the request, you would get more details information for troubleshooting.

    Accordingly to my knowledge, SharePoint JavaScript need to be run in SharePoint as it depends on SharePoint runtime JavaScript, if you use it in a remote web, I think it won't work as expected.

    Good Luck.

    Monday, July 22, 2019 6:11 AM