?
Solved

Sybase 11 Error

Posted on 2010-01-05
3
Medium Priority
?
852 Views
Last Modified: 2013-12-05
I'm getting the following error (from IIS log) on one ASP in my web:
2010-01-05 16:22:40 W3SVC1765205524 209.184.199.236 POST /detail.asp |100|80004005|[INTERSOLV][ODBC_SQL_Server_driver]
[SQL_Server]ct_con_props(SET_NETIO):_user_api_layer:_external_error:_The_buflen_parameter_must_be_set_to_CS_UNUSED.
80 - 209.184.199.236 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.2;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.4506.2152;+.NET+CLR+3.5.30729) 500 0 0

I'm not getting the error on other pages so I doubt it's a driver issue. There have been no server updates, code changes, or DB changes but app stopped funcitgoning after new year.
0
Comment
Question by:kevbob650
  • 2
3 Comments
 
LVL 4

Expert Comment

by:jlsilva01
ID: 26189181
kevbob650,

Try to update sybase client version on the Windows 2003.
The problem related does reference to client problem. (ct_con_props(SET,NETIO): user api layer: external error: The buflen parameter must be set to CS_UNUSED.)

0
 

Author Comment

by:kevbob650
ID: 26190762
If it's a client issue, why is it only happening on certain web pages?? That doesn't make sense to me. I was just told the database is on a Windows 2000 box but they should change anything. I think it's time to move the data to Oracle or Sql Server!
0
 
LVL 4

Accepted Solution

by:
jlsilva01 earned 2000 total points
ID: 26194452
I said this, because exists a case in Sybase #10872296 that tell:

CASE DESCRIPTION
Getting message from ODBC about buflen parameter must be set to cs_unused. error message: ct_con_props(SET,NETIO): user api layer: external error: The buflen parameter must be set to CS_UNUSED. (9)

TIP OR WORKAROUND
this issue was related to the setup of the path environment variable and older lib files, it appeared to be picking up library files located in the system32 directory from a previous installation, to rememedy this, move the sybase entries in the path statement to the front and test, if that resolves the issue, then search the system for prevously installed files of an older sybase client (11.1) which may have placed files in the system32 directory and remove them

RESOLUTION
search system for older lib files, and modify path statement to point to new installation of client at the front Other Sources Related to Issue TechNote.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question