Forum Discussion
Problem with refresh and scheduled refresh in PowerBi service.
- 11 months ago
it looks you account does not have correct access
Microsoft SQL: The SELECT permission was denied on the object 'new_contractproduct', database 'SGH_MSCRM', schema 'dbo'.[/ccon]"}},Validated you are using same credentials that is working fine in desktop
Hi,
Thank you arvindsingh802 for your help. The database admin has granted me access and I am able to connect to the server already. However, there is a new problem whereby I have "timeout error" when querying from the database.
- v-aatheeque10 months ago
Community Support
Hi Anonymous
Thank you for providing the details and screenshots. Based on the error message and your description, the refresh failure appears to be related to a gateway or mashup engine timeout during data retrieval from the SQL Server sources. Even though the timeout duration has been increased both in the gateway configuration and within the M code, the issue is likely linked to query performance or folding limitations for the larger master tables.
Here are some points and recommendations to help address the issue:
1.Reduce data volume, simplify joins, and apply filters early.
2.Update the Execution Timeout value in the Mashup.Config file.
3.Ensure sufficient CPU/RAM, restart service, and update to the latest version.
4.Test the SQL connection in SSMS/Excel and check for network delays.
5.Run refreshes during off-peak hours to avoid heavy load.
Hope this helps !!
Thank You.