Dbi Timeout expired Sql server 2005 using ADO

P

Pablo Q.

[Note: parts of this message were removed to make it a legal post.]

Hi all,

I got this error:

Execute OLE error code:80040E31 in Microsoft OLE DB Provider for SQL Server
Timeout expired HRESULT error code:0x80020009 Exception occurred.
c:/ruby/lib/ruby/site_ruby/1.8/DBD/ADO/ADO.rb:135:in `execute'

This is my connection string:

DBI.connect("DBI:ADO:provider=SQLOLEDB;Data Source=localhost;Initial
Catalog=xxxxxx;User Id=xxxxxx;Password=xxxxxx;Connect Timeout=0;")

Does anyone has solved this issue, I'm working with huge tables so,
sometimes an single query takes more than 5 minutes running...


Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top