Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

Credentials are required to connect to the SQL source when using parameter for query

Hello,

 

I have a report that is scheduled to refresh everyday and it has been working fine until yesterday.  I noticed that it failed to refresh and it looked like gateway not configured correctly (see image below).  The gateway is fine for other report.  I could not figure out what caused the problem so I changed the query then able to select the gateway but getting another error 'Credentials are required to connect to the SQL source' when trying to refresh.   My query has parameter.  If I remove the parameter then I'm able to refresh the dataset.  I don't understand.  I can refresh the report with parameter query before.  Not sure what happened or what I need to change in order for this to work again.  Please advise.

 

Thanks

Vy

 

 

 

10 Replies

  • ITSNev's avatar
    ITSNev
    Frequent Visitor

    I'm having the same problem, was working fine last week not getting this error but only for some of the reports.

    I think Microsoft may have PATCH something and broke it as usual. Hope they fix this soon as refreshing manually now.


     

    • cakonze's avatar
      cakonze
      Frequent Visitor

      Same here, but with Oracle data source and on-premises properly configured.
      Other reports ( without parameters used in the query text) updating nice using the same gateway with the same credentials.

  • Hi there

    You will have to turn off the Gateway option for it to work?
    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi GilbertQ ,

       

      I turned off the Gateway but still getting this error 'Credentials are required to connect to the SQL source.' when trying to refresh.  Please advise what else can I try.

       

      Thanks

      Vy 

      • GilbertQ's avatar
        GilbertQ
        Super User
        Can you post the connection string to the SQL Server?

        As well as the actual error message?