Showing posts with label driver. Show all posts
Showing posts with label driver. Show all posts

Friday, March 9, 2012

Every query returns 'S1C00 - optional feature not implemented. HELP !

Greetings
I'm running;
- win2k
- SQL Server 7.0 with SP4
- "SQL Server" ODBC driver version 2000.85.1117.00
We have an sql server 7.0 database that gets updated every day by a
small app (also running on the database server machine). It uses the
'SQL Server' ODBC driver that was installed when SQL Server was
installed on this win2k machine. This system has been running
faultlessly for almost 18 months (so something has changed; I don't
know whether its the system software, something about the application
data ... this system is well protected by antivirus and firewalls on an
internal network but no tripwire ly).
So last friday (early in the morning before anybody arrived at work)
this app started issuing S1C00 messages ('optional feature not
implemented') for almost every SQL query submitted via this ODBC driver
(even simple select, simple varchar field updates and commit - there is
an example from an ODBC trace below - The same queries work fine when
submitted with ISQL). Log entries and inspections of the data suggest
that Friday's run got almost right through before the errors began.
The same S1C00 message occurs using third party (datadirect) commercial
ODBC driver, and I've just spent the night upgrading applying patches
to win2k and sql server and testing, but the problem appears to remain
unchanged.
Is there anything about SQL Server configuration that would/could cause
'optional feature not implemented' messages?
Also, I've been trying to identify the latest SQL Server ODBC driver.
It seem to be 3.7, so I don't understand why the ODBC administrator is
showing 2000.85.1117.00 as the driver version on this system. Anyone
shed any light on that?
Any and all help will be very much appreciated.
Kind regards,
Darius
DbDailyUpdate 53c-50c EXIT SQLExecDirect with return code -1
(SQL_ERROR)
HSTMT 1CD72338
UCHAR * 0x1CCD0F60 [ -3] "SELECT * FROM tysclt WHERE
clientid = '216582'\ 0"
SDWORD -3
DIAG [S1C00] [Microsoft][ODBC SQL Server Driver]Optional feature not
implemented (0)See if this information helps you:
http://support.microsoft.com/defaul...kb;en-us;214459
Most probably your application code has changed.
--
Vikram Vamshi
Database Engineer
Eclipsys Corporation
"Darius" <dariusq2km@.yahoo.com> wrote in message
news:1123620825.806034.103840@.g47g2000cwa.googlegroups.com...
> Greetings
> I'm running;
> - win2k
> - SQL Server 7.0 with SP4
> - "SQL Server" ODBC driver version 2000.85.1117.00
> We have an sql server 7.0 database that gets updated every day by a
> small app (also running on the database server machine). It uses the
> 'SQL Server' ODBC driver that was installed when SQL Server was
> installed on this win2k machine. This system has been running
> faultlessly for almost 18 months (so something has changed; I don't
> know whether its the system software, something about the application
> data ... this system is well protected by antivirus and firewalls on an
> internal network but no tripwire ly).
> So last friday (early in the morning before anybody arrived at work)
> this app started issuing S1C00 messages ('optional feature not
> implemented') for almost every SQL query submitted via this ODBC driver
> (even simple select, simple varchar field updates and commit - there is
> an example from an ODBC trace below - The same queries work fine when
> submitted with ISQL). Log entries and inspections of the data suggest
> that Friday's run got almost right through before the errors began.
> The same S1C00 message occurs using third party (datadirect) commercial
> ODBC driver, and I've just spent the night upgrading applying patches
> to win2k and sql server and testing, but the problem appears to remain
> unchanged.
> Is there anything about SQL Server configuration that would/could cause
> 'optional feature not implemented' messages?
> Also, I've been trying to identify the latest SQL Server ODBC driver.
> It seem to be 3.7, so I don't understand why the ODBC administrator is
> showing 2000.85.1117.00 as the driver version on this system. Anyone
> shed any light on that?
> Any and all help will be very much appreciated.
> Kind regards,
> Darius
> --
> DbDailyUpdate 53c-50c EXIT SQLExecDirect with return code -1
> (SQL_ERROR)
> HSTMT 1CD72338
> UCHAR * 0x1CCD0F60 [ -3] "SELECT * FROM tysclt WHERE
> clientid = '216582'\ 0"
> SDWORD -3
> DIAG [S1C00] [Microsoft][ODBC SQL Server Driver]Optional feature not
> implemented (0)
>|||Hi Vikram,
Thanks for the response and the link - see below for inline reply ...
Vikram Vamshi wrote:
> news:1123620825.806034.103840@.g47g2000cwa.googlegroups.com...
> See if this information helps you:
> http://support.microsoft.com/defaul...kb;en-us;214459
> Most probably your application code has changed.
> --
> Vikram Vamshi
> Database Engineer
> Eclipsys Corporation
The application code hasn't changed. The app is compiled java (stored
in and run from jars and gets at ODBC via JDBCODBC. The jars were last
replaced over six months ago and i am the only maintainer of the
source.
There are no stored procedure calls.
Many of the queries that fail with the 'S1C00' code contain no
date/time types and no decimals.
I've tried using a different machine (XP with different ODBC drivers)
to run this app against the sql server machine, but same result
(S1C00). So, I'm thinking something is wrong with the way the server is
responding to the driver, since it doesn't seem to matter where the
client runs, but I don't know if this makes sense because I think the
driver knows what data types can be handled or translated without
interacting with the server.
Ss I said earlier, it seems any and every query can or does get S1C00
including a single-field varchar 'update', 'select' (as above) and
'commit' :0
Thanks for your thoughts,
Darius

Sunday, February 26, 2012

Event Log and SQL Server Agent

Hi Helper,
When I boot me server up, I always get an alert that says at least one
service or driver failed. I checked all of the logs in the event viewer.
The error is in the Application log. When I look at the properties of the
error I get a dialog box that has the description "Unable to read the
eventlog (Reason: The event log has changed between read operations). The
Source is SQLSERVERAGENT, the Category is Alert Engine, and the Event ID is
318.
How do I resolve this problem? What can I do to prevent getting this Alert
message and get this fixed?
Thanks,
KeithThat's nothing to worry about.
That message isn't the service failing to start, have a look in Event Viewer
(System). This is more likely to contain the service that's failing.
HTH
Ryan Waight, MCDBA, MCSE
"Keith Norris" <klnorris@.comcast.net> wrote in message
news:naqdna69F685MjaiRVn-gg@.comcast.com...
> Hi Helper,
> When I boot me server up, I always get an alert that says at least one
> service or driver failed. I checked all of the logs in the event viewer.
> The error is in the Application log. When I look at the properties of the
> error I get a dialog box that has the description "Unable to read the
> eventlog (Reason: The event log has changed between read operations). The
> Source is SQLSERVERAGENT, the Category is Alert Engine, and the Event ID
is
> 318.
> How do I resolve this problem? What can I do to prevent getting this
Alert
> message and get this fixed?
> Thanks,
> Keith
>|||There are no errors in the event viewer (System). There are only warnings
or information. There are no errors in the other event viewers either such
as Directory Service, DNS Server, File Replication Service, Service, or
Security. There are only messages of type Information and Warning. The
original message I describe below is of type Error with an X in a red
circle. Isn't it only the error messages rather than the information and
warning messages that cause the alerts? I do not want the Alert Message
saying at least on service or driver failed on boot up. I hope this
provides you with additional information to help me solve the problem. I'm
new to networking and database administration.
Thanks,
Keith
"Ryan Waight" <Ryan_Waight@.nospam.hotmail.com> wrote in message
news:OH$E06TpDHA.3844@.tk2msftngp13.phx.gbl...
> That's nothing to worry about.
> That message isn't the service failing to start, have a look in Event
Viewer
> (System). This is more likely to contain the service that's failing.
>
> --
> HTH
> Ryan Waight, MCDBA, MCSE
> "Keith Norris" <klnorris@.comcast.net> wrote in message
> news:naqdna69F685MjaiRVn-gg@.comcast.com...
> > Hi Helper,
> >
> > When I boot me server up, I always get an alert that says at least one
> > service or driver failed. I checked all of the logs in the event
viewer.
> > The error is in the Application log. When I look at the properties of
the
> > error I get a dialog box that has the description "Unable to read the
> > eventlog (Reason: The event log has changed between read operations).
The
> > Source is SQLSERVERAGENT, the Category is Alert Engine, and the Event ID
> is
> > 318.
> >
> > How do I resolve this problem? What can I do to prevent getting this
> Alert
> > message and get this fixed?
> >
> > Thanks,
> > Keith
> >
> >
>|||We can ensure it's not SQL Server causing the 'Service Failed to Start
message' in the following manner.
In Control Services :-
Set the startup of SQLServerAgent and MSSQLServer to Manual
Stop both services
Clear all 3 Event Logs.
Reboot the Server.
The SQL Services are now not trying to start, if the Service didn't start
message appears it definalty hasn't come from SQL.
Alternitavly, Control Panel / Servcies.
Look at every service, ensure those with a Startup Type of AutoMatic are
all Status = Started.
If you have any Automatic starters that are not Started -- bingo...
HTH
Ryan Waight, MCDBA, MCSE
"Keith Norris" <klnorris@.comcast.net> wrote in message
news:gPKdnVEvmuxEIjaiRVn-jw@.comcast.com...
> There are no errors in the event viewer (System). There are only warnings
> or information. There are no errors in the other event viewers either
such
> as Directory Service, DNS Server, File Replication Service, Service, or
> Security. There are only messages of type Information and Warning. The
> original message I describe below is of type Error with an X in a red
> circle. Isn't it only the error messages rather than the information and
> warning messages that cause the alerts? I do not want the Alert Message
> saying at least on service or driver failed on boot up. I hope this
> provides you with additional information to help me solve the problem.
I'm
> new to networking and database administration.
> Thanks,
> Keith
> "Ryan Waight" <Ryan_Waight@.nospam.hotmail.com> wrote in message
> news:OH$E06TpDHA.3844@.tk2msftngp13.phx.gbl...
> > That's nothing to worry about.
> >
> > That message isn't the service failing to start, have a look in Event
> Viewer
> > (System). This is more likely to contain the service that's failing.
> >
> >
> > --
> > HTH
> > Ryan Waight, MCDBA, MCSE
> >
> > "Keith Norris" <klnorris@.comcast.net> wrote in message
> > news:naqdna69F685MjaiRVn-gg@.comcast.com...
> > > Hi Helper,
> > >
> > > When I boot me server up, I always get an alert that says at least one
> > > service or driver failed. I checked all of the logs in the event
> viewer.
> > > The error is in the Application log. When I look at the properties of
> the
> > > error I get a dialog box that has the description "Unable to read the
> > > eventlog (Reason: The event log has changed between read operations).
> The
> > > Source is SQLSERVERAGENT, the Category is Alert Engine, and the Event
ID
> > is
> > > 318.
> > >
> > > How do I resolve this problem? What can I do to prevent getting this
> > Alert
> > > message and get this fixed?
> > >
> > > Thanks,
> > > Keith
> > >
> > >
> >
> >
>