Re: ODBC Timeout problems but very hard to pin down



Tuesdays are Microsoft update days. Did your server(s) perform any
automatic Microsoft updates?
Ross

<teddysnips@xxxxxxxxxxx> wrote in message
news:1187268689.901968.272820@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
One of our clients has reported a problem. Everything was working
fine on Monday, but since Tuesday all is going wrong. The sysadmin
assures me that there have been no changes to the network, or the
servers.

Three applications, one back-end database server (SQL Server 2000 with
all service packs etc.).

APP 1: Access 2000 database
APP 2: ASP.NET (VS 2003)
APP 3: ASP.NET (VS 2003)

All connect to the same database server - different databases, natch.

1 & 2 have reported ODBC timeout issues. 3 had other problems. This
is how they present themselves. I ran SQL Profiler to capture the
trace

APP 1 - ACCESS APPLICATION

1. Login works fine. You have to supply credentials which are
validated by SQL Server. Open a Search form and the default recordset
is displayed correctly.
NOTE: This SQL captured on trace.

2. Enter a criterion into one of the controls on the search form and
press "Filter". Wait a minute and watch the hourglass. Eventually
ODBC Timeout error displayed.
NOTE: This SQL captured on trace.

3. Right-click on the appropriate column on the sub-form and enter
the same criterion as for step 2 above. NO ODBC TIMEOUT - CORRECT
RECORDSET RETURNED WITHIN TWO SECONDS
NOTE: This SQL captured on trace.

NOTE: If I open the (linked) tables in the Microsoft Access database
pane I can manipulate the data at will. However, if I try to open any
stored queries in Access they time out.

APP 2 - ASP.NET APPLICATION

1. Login works fine. You have to supply credentials which are
validated by SQL Server. As it happens, the default display for the
logged-on user contains no records.
2. Change the parameters to allow some records to be displayed.
Watch the progress bar do nothing and then the system displays the
"Object reference not set to an instance of an object" exception.
NOTE: This SQL captured on trace.

APP 3 - ASP.NET APPLICATION

1. Login works fine. You have to supply credentials which are
validated by SQL Server. As it happens, the default display contains
no records.
2. Attempt to add a new record. System pretty slow.
3. New record form displayed. All drop-downs contain incorrect data
- for example, in the Supply Priority list, there should be 14 items -
there are, in fact, 56 - each item duplicated four times. This has
happened in all the tables that I can see. I've taken a dump of the
live data and compared it with our archived version - for lookup
tables, there is no duplication in our copy, but in their copy every
item appears four times.

If the above wasn't weird enough for you, get this.

If I cut and paste the SQL that's being captured by the Profiler at
each point and paste it into Query Analyser, it totally barfs. I
waited 11 minutes for one query but it just kept running, never
returning. EVEN THE QUERY AT APP 1 POINT 3.

Needless to say, if I run these queries back at the office it all goes
according to plan.

I think they've got a problem.....

Edward




.



Relevant Pages

  • Re: MSHFlexgrid not displaying data from ADO data control
    ... >> MSHflexgrids display any data. ... >> The MSHflexgrids data sources are ADO data controls which are ... >> programmatically assigned a connection string to an SQL 7 Server through ... >> The SQL Server uses windows network authentication to allow access and I ...
    (microsoft.public.vb.general.discussion)
  • Re: Openrowset Jet OLEDB
    ... Front end app means the app we wrote and wich the users use to modify the ... This works fine in our development enviroment where the sql service is ... And what do you mean by "speedily import an mdb into the ... > Microsoft Access Developer's Guide to SQL Server ...
    (microsoft.public.sqlserver.security)
  • Re: MSHFlexgrid not displaying data from ADO data control
    ... > MSHflexgrids display any data. ... > The MSHflexgrids data sources are ADO data controls which are ... > programmatically assigned a connection string to an SQL 7 Server through ... > The SQL Server uses windows network authentication to allow access and I ...
    (microsoft.public.vb.general.discussion)
  • Re: SQL 2000 NT AUTHORITYSYSTEM Permission Problem
    ... Not associated with a trusted SQL Server connection. ... However, if you deal with the Domain controller, most of the controls there ... > Forms app and a VB6 app. ...
    (microsoft.public.sqlserver.security)
  • Re: Combo Box based on Query sort not working - A2K
    ... This is in an app I did not write, ... The combo box is based on a table (and I've put in SQL and a query - ... I tried changing the number of rows to display and the ...
    (comp.databases.ms-access)