© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
3 replies
leo

❔ Timeout Issue - (SQL Server & CSharp)

Hello guys,

So i have a huge amount of data on my database and i need to make a transaction using procedures with SQL Server and executing those commands through an C# Layer on my backend and sometimes due that high amount of storage data i often get timeout exceptions when doing those actions, i usually put the timeout value as 0 so it's not going to expire my transaction even it takes too long, but recently i tried putting a value like 120s and it solved my timing out issue but i dont get why it worked, is there anyone who can explain to me why it did work and if theres another method to solve these kinda of problems?

Thanks!
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ SQL Server issue
C#CC# / help
3y ago
❔ SQL Server Alias issue
C#CC# / help
3y ago
SQL Server Table Import Issue
C#CC# / help
13mo ago