ODBC error: external error, while testing an ODBC connection to an ASE server
"The connection failed because of invalid or missing external configuration data."
Does this have to do with the configuration of OCS-12_0 or the ocscfg.exe? Running ocscfg.exe, I've set the "SYBASE:" directory to "C:\sybase" but it doesn't seem to like it when I set the "Sybase_OCS:" to "C:\sybase\OCS-12_0". I don't know if this is related.
Another idea - on the install I chose "No" to updating the msvcrt.dll (the MS C Runtime) because I've seen that hose a system before. Is this file safe to overwrite and ca...ERROR [HY000] [MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on 'IP Address of the server'(10048) ERROR [HY000] [MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on 'IP of the server' (10
Hi, I am randomly getting the following error message in my application.
ERROR [HY000] [MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on 'IP Address of the server'(10048) ERROR [HY000] [MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on 'IP of the server' (10048)
I am using .Net 2.0 with VS2005 having ODBC 3.51.14 Driver.
Can any body point out the core reasons of the above error message?
I do have the same problem, help me out.
If the going seems easy, You are going DownHill...
When I was writing ...Display the error line number in case of an error
i was wandering if there is a way I can display the whole
stack trace of my pb app in case of an error.
For the time being I do it using the populate error function, but
this indicates that I should call the populateerrror() function
each time I expect an error to occur.
I have compined DB and System errors to a single user_object so each
time I get a DB error i have to have previously called the populateerror()
function, or else I don't get the proper line number
of the error.
I am considering any function or Win API call that could allow me
to print the stack trac...show the line number of the error in the error log file
Hi ,Is there any way to show the line number of the error in the error log file of asp.net?It gives the line number when it runs locally, but not when it runs from the server
<b>Error Caught in Page_Error event</b><hr><br><br><b>Error in: </b>http://LRDDEV-05/Testpage/SearchAgent.aspx<br><b>Error Message: </b>Object reference not set to an instance of an object.<br><b>Stack Trace:</b><br> at Testpage.SearchAgent.Page_Error(Object sender, EventArgs e) at System.Web.UI.TemplateCon...Line number, column number not displayed in error list
I'm using visual studio 2008 to migrate a projecty from asp.net 1.1 to 2.0. Things were working fine, I was slowly working through the errors. However now the error list has stopped showing line numbers and columns, meaning all I know about an error is the file containing it, making debugging pretty much impossible!Any idea what's causing this, or any suggestions on how to fix this?thanks for your help!
They might not be selected to show (right click on column headers, and check under Show Columns).Richard
right click in the error list--> show columns and make sure that...[connect error] Interbase Connect Error
In ODBC connect test is successfully..
but in PowerBuilder 6.5 Database Profiles is displayed error message..
Error Message is
SQLSTATE = 40001
[Easysoft][Interbase]Dynamic SQL Error, SQL error code = -91, feature is
What means this message?
Now I use PowerBuilder 6.5 & Interbase 5.6...
Just I choose
- Profile Name
- Data Source --> This is ODBC DNS..(user DNS)
- User ID
Does it need more?
...Add Error Line Number to Release Mode Error Exception?
Anyone know of a way to grab the line number that the error occured on in the Release version of the error exception? It shows up in Debug and not in Release (for speed reasons).
You should take a look at this.Nils GrusonMicrosoft .NET Consultant (MCPD)LogicaYou don't have to be sick to get better.Please remember to click “Mark as Answer” on the post that helped you keep your job.
That was very helpful - thanks!Richhttp://www.DevAndDesign.com/...error reporting
I have a global error handler deinfed in my, where Im using Server.GetLastError();Then printing the exception. Sometimes I get the page it happens on along with a line number, sometimes I dont. How can I always ensure that Im getting the line number and aspx file name that the error originated from ?
Will this example always get me the original aspx filename and line number where the error originated ?http://www.developer.com/net/asp/article.php/961301
you might put try-catch around areas that are particularily problem children..
in your catch block, you co...ODBC Connection error using IIS 5 and MS Access ODBC
Completely new at this so please forgive my ignorance!
I have an app running on IIS 5 and 6 that when connecting to a SQL Db (via ODBC) app runs fine; however when switching to a local MS Access Db, application fails, generating the following message:
"<?xml version="1.0" encoding="utf-8" ?>
FAIL - ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver] Disk or network error. ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver] Disk or network error.</string&...ODBC connection errors
We're using PB C4 components on EAServer 3.5 C4 on NT Server 4.0. Connection
caches connect to MS SQL Server 6.5 databases using ODBC. MDAC version is
Our DBA takes the DB down for routine maintenance a few nights in the week
by disconnecting all users. When the DB is brought back up, we find hanging
connection caches. The EAServer runtime monitoring of the caches indicate
negative numbers for "Active Connections". We then begin to encounter the
following error sporadically whenever client sessions attempt to access the
---------------------...Error line number ...
I hate to see ASP.Net errora, ( not because it is an error )
In classic asp i used to get the line number every time an error occured, but in asp.net many a times i get erros like 'Object reference not set to an instance of an object. ... Null Exceptions ' etc with no line number. the error is hard to find if code if 100's of lines
Is there a way i can get the exact line number ... i hope there is some web.config setting for this...
Whilst developing within Atlas UpdatePanels we've twice come across the following error following autopostback on standard WebControls. Actually the error seems to sneak up onus, meaning that the control will postback perfectly well - Atlas enabled - then breaks a little down the line.
#########################################Line: 11245Char: 17Error: Unknown runtime errorCode: 0Url: http:/localhost:1084/theWebPage/aspx#########################################
Line 11245 is not a line in the resulting HTML source, so we've no idea where this err...Connection Error in ODBC
I have the next error:
[SYBASE][ODBC Sybase driver][Sybase] ct_connect()> user api Layer: Client
Library error: error string not available.
The Sybase Client is 12.0 and the Server is 12.0.
The S.O. is Windows 2000 or XP .....
Can send me anything... for this problem..!!!!!!!
> I have the next error:
> [SYBASE][ODBC Sybase driver][Sybase] ct_connect()> user api Layer: Client
> Library error: error string not available.
> The Sybase Client is 12.0 and the Server is 12.0.
> The S.O. is Windows 2000 or X...odbc connection error
// Profile EAS Demo DB V110
SQLCA.DBMS = "ODBC"
SQLCA.AutoCommit = False
I wrote a db connection with the default connection
I test it in DB PROFILE,it's ok
but when i copy it to the program,then it can't connect the
please help me solving it,thx!!!
SQLCA.DBParm = "ConnectString='DSN=EAS Demo DB
IF SQLCA.SQLCode = -1 THEN
MessageBox("SQL error", SQLCA.SQLErrText)
Did you add
Connect using SQLCA;
before the IF....END IF statement?
<sweet> wrote in me...