Results 1 to 13 of 13

Thread: Timeout Expired, while in EM, opening a view

  1. #1
    Join Date
    Oct 2002
    Posts
    92

    Timeout Expired, while in EM, opening a view

    I get a 'Timeout Expired' while in Enterprise Manager, trying to open a view...if I choose the top 1000..it opens fine.
    My setting on the server has the default of '600'...what can I do to fix this problem ?
    Put indexes/primary keys on the view ?

    thank you

  2. #2
    Join Date
    Sep 2002
    Location
    Fantasy
    Posts
    4,254
    Why cant you use SQL Query analyzer?

  3. #3
    Join Date
    Oct 2002
    Posts
    92
    I could, but was just wondering why its timing out now..when it used to work...Im assuming its getting too big
    Is there a way to set indexes/primary keys on a view ?

  4. #4
    Join Date
    Sep 2002
    Location
    Fantasy
    Posts
    4,254
    your assumption might be right.

    to create index on a view- check BOL


    example from BOL

    CREATE VIEW V1
    WITH SCHEMABINDING
    AS
    SELECT SUM(UnitPrice*Quantity*(1.00-Discount)) AS Revenue, OrderDate, ProductID, COUNT_BIG(*) AS COUNT
    FROM dbo.[Order Details] od, dbo.Orders o
    WHERE od.OrderID=o.OrderID
    GROUP BY OrderDate, ProductID

  5. #5
    Join Date
    Sep 2002
    Posts
    5,938
    I read somewhere that em has hard coded 30 seconds timeout period.

  6. #6
    Join Date
    Oct 2002
    Posts
    92
    that you cannot edit ?

    thank you

  7. #7
    Join Date
    Sep 2002
    Location
    Fantasy
    Posts
    4,254
    In EM

    Tools-option-advanced- querytimeout

  8. #8
    Join Date
    Oct 2002
    Posts
    92
    that's set to '0', which I assume is unlimited

  9. #9
    Join Date
    Sep 2002
    Location
    Fantasy
    Posts
    4,254

  10. #10
    Join Date
    Sep 2002
    Location
    Fantasy
    Posts
    4,254

  11. #11
    Join Date
    Sep 2002
    Location
    Fantasy
    Posts
    4,254
    You can do the following

    1. Use QueryAnalyser or
    2. ISQL or
    3. OSQL or
    4. BCP out and read the file in notepad or
    5. use thirdparty tool like infomaker or
    6. create web browser and see that in a data grid or

  12. #12
    Join Date
    Oct 2002
    Posts
    92
    great, this article http://support.microsoft.com/defaul...&NoWebContent=1 describes why....thank you

  13. #13
    Join Date
    Sep 2002
    Location
    Fantasy
    Posts
    4,254

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •