I have a custom query where I am wanting to return multiple rows of information to insert into a PDF form. The problem I am having is that I am receiving an error, "The operation has timed out" while testing the query.
The table I am using is rather large, approximately 1.4 million records. I have tested the query on a much smaller table that resides in the same database as the original table, and it works properly.
I am connecting to a SQL server where the table is contained in a linked server Oracle database table. In the workflow activity, I have specified a custom timeout of 1200 seconds, on the SQL server the "Remote query timeout" is set to 0 which should = no timeout, and linked server properties Connection Timeout and Query Timeout have both been set to 1200. When I execute the same query in Management Studio, the results are returned in approximately 35 - 40 seconds. Yet, the query in Workflow is still returning the Time Our error at 30 seconds. Have I missed a setting somewhere?