Forum Discussion

pcowman1's avatar
pcowman1
Helper I
6 years ago

Gateway to Excel - Error

We have tried several different user settings but keep getting the same issue. the path is correct.

3 Replies

  • v-diye-msft's avatar
    v-diye-msft
    Community Support

    Hi pcowman1 

     

    The 400 ERROR means a bad HTTP request. Please update on-premise gateway to the latest version. If you already have updated the gateway to the latest version, then you can refer to the steps below for troubleshooting.

     

    1. Check if the server is using a proxy and the proxy. Some proxies restrict traffic to only ports 80 and 443. By default, communication to Azure Service Bus will occur on ports other than 443.

    2. You can force the gateway to communicate with Azure Service Bus using HTTPS instead of direct TCP. You will need to modify the Microsoft.PowerBI.DataMovement.Pipeline.GatewayCore.dll.config file. Change the value from AutoDetect to Https. This file is located, by default, at C:\Program Files\On-premises data gateway.

    3. Restart the gateway and check if the issue persists. 

    • To stop the service, run this command:

      ''' net stop PBIEgwService '''

    • To start the service, run this command:

      ''' net start PBIEgwService '''

    4. You may export the data gateway log by selecting Diagnostics and then selecting the Export logs link near the bottom of the page. Reference: https://docs.microsoft.com/en-us/power-bi/service-gateway-onprem-tshoot#tools-for-troubleshooting.

     

    If the issue is very urgent, I would suggest you create a support ticket to achieve deeper help.

     

    • pcowman1's avatar
      pcowman1
      Helper I

      Wow, thank you. It's not super urgent yet, but if this doesn't work I will open a support ticket.

      • v-diye-msft's avatar
        v-diye-msft
        Community Support

        Hi pcowman1 

         

        Any updates? If you've fixed the issue on your own please kindly share your solution. if the above posts help, please kindly mark it as a solution to help others find it more quickly.thanks!