- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Reply to: MS SQL 2005 timeout problem
Collapse
You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:
- You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
- You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
- If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
Logging in...
Previously on "MS SQL 2005 timeout problem"
Collapse
-
I was having a similar problem, until I used "no lock" in the query. That fixed the problem and I haven't had any time out issues since.
-
Originally posted by ThomasSoerensen View PostI had already done that.
crack_ho's tip is working.
Now I just need to learn how to "package" the execution of the view with a stored procedure or something similar
Can't you do
CREATE PROC GetViewData
(@Param1 varchar(100))
AS
SELECT * FROM MySlowView WHERE Field1 = @Param1
?
Leave a comment:
-
I had already done that.Originally posted by lightng View PostTry upping value in registry of...
HKEY_CURRENT_USER\Software\Microsoft\Microsoft SQL Server\90\Tools\Shell\DataProject\SQLQueryTimeout
crack_ho's tip is working.
Now I just need to learn how to "package" the execution of the view with a stored procedure or something similar
Leave a comment:
-
Try upping value in registry of...
HKEY_CURRENT_USER\Software\Microsoft\Microsoft SQL Server\90\Tools\Shell\DataProject\SQLQueryTimeout
Leave a comment:
-
this works - thanksOriginally posted by crack_ho View PostThe only thing to do is to run the query in a query window so type our 'SELECT* from ...' rather than the right click.
Leave a comment:
-
Seen this myself and can only offer a workaround.
If you right click on an object like a table or view and return the resultset - it will always impose the 30 seconds timeout.
I have tried changing the value in the client tool and the default on the database but neither affected this limit.
The only thing to do is to run the query in a query window so type our 'SELECT* from ...' rather than the right click.
Leave a comment:
-
MS SQL 2005 timeout problem
Hi
I am working in the Management Studio on a MSSQL2005 and on a complex view I get a "Timeout expired" message after 30 seconds when I try to execute the query.
I have looked in several places and changed the timeout settings from the standard 30 sec to something else like 120 sec but I still get the timeout problem.
It is my own database so I can change settings without restrictions.
Do you guys know the magic bullet for this problem?Tags: None
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers

Leave a comment: