Logo 
Search:

C# Answers

Ask Question   UnAnswered
Home » Forum » C#       RSS Feeds
  Question Asked By: Nancy Thomas   on May 13 In C# Category.

  
Question Answered By: Scarlett Hughes   on May 13

Description:This error  generally occurs while trying to execute a Stored Procedure using Microsoft Application Blocks [Data Access Block]

Solution:
1. Set "Timeout=s" in your connection string, where s is seconds
2. Set these properties
Connection.ConnectionTimeout
The time (in seconds) to wait for a connection to open. The default value is determined by the specific type of connection that you are using Command.ConnectionTimeout

The time in seconds to wait for the command to execute.

Share: 

 
 


Tagged: