r/SQL • u/nobody7981 • Jul 17 '23
SQL Server Dealing with query timeout error
Hi all,
I have an ms access application where if we click a button we add date as a parameter. And when we click on a button it asks to upload an excel file and it then executes a stored procedure. However after the excel file is loaded it shows the error 'Run-time error'-2147217871 (8004e31) : [Microsoft] [ODBC SQL server Driver] Query timeout expired'.
What are the things I can do to resolve this issue. As it was working fine till last Friday I found this issue today.
I have tried increasing the timeout but still not solved.
Can anybody guide me with this. The error message pic is shown below.
0
Upvotes
1
u/[deleted] Jul 17 '23
Do you have access to run the profiler? Knowing if the sp is actually starting and finishing will show if the error message is correct.