Solved

Help !!! ASP and SQLAnywhere

Posted on 1998-07-22
11
454 Views
Last Modified: 2008-02-01
why i cannot get my asp code working with sqlanywhere
and with sybase i do.
also IDC/HTX and ISAPI app. does not work
I think it something to do with system DSN

the error i get is

Database Errors Occured
SQL  
Error # -2147467259
desc. -> [Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle
on SQL_HANDLE_ENV failed

please help i am desperate
0
Comment
Question by:niv070698
  • 4
  • 2
  • 2
  • +3
11 Comments
 
LVL 2

Expert Comment

by:jbiswas
ID: 1098416
what drivers are you using with SQL Anywhere?
0
 

Author Comment

by:niv070698
ID: 1098417
Edited text of question
0
 
LVL 3

Expert Comment

by:dapperry
ID: 1098418
Does your ODBC connection work from other applications, eg MS Access?

:) D Perry
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

 
LVL 2

Expert Comment

by:martyn_bannister
ID: 1098419
NIV,

I would make sure that the SQL anywhere directory (c:\sqlany50\win32 for example) is in the PATH. If not, you can experience this error.

0
 

Author Comment

by:niv070698
ID: 1098420
i checked it and its in the path
by the way the prb. occurs only with sys dsn
0
 
LVL 2

Expert Comment

by:martyn_bannister
ID: 1098421
niv,

does this happen on a server connection? if so how is the connection logging in?
0
 

Expert Comment

by:powerwalker
ID: 1098422
i'm also running ASP with SQLAnywhere. but i get the following error:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

the connection works in VB, just refuse to work in ASP.
0
 

Author Comment

by:niv070698
ID: 1098423
power walker make sure it is asystem dsn.

and please please help me with my asp.
0
 

Expert Comment

by:powerwalker
ID: 1098424
niv,

it's a system dsn.








0
 

Accepted Solution

by:
GERSOFT earned 100 total points
ID: 1098425
you probe using ODBC drivers of SQLAnywhere and not ODBC drivers of Microsoft
0
 

Author Comment

by:niv070698
ID: 1098426
So How Can i change it to use MS Drivers
realy thanks in advance
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Suggested Solutions

Title # Comments Views Activity
SQL Syntax 6 400
How  could I import an Excel 2010 xlsx file into a Sybase table using DBArtisan 9.1.2 ? 3 1,027
Sybase environment variable 1 207
SQL Syntax Select Top in each group 2 194
Starting your own business is always a daunting process, and for most people it is brand new experience. Avoid the common pitfalls by following these tips to start on the road to success.
There's a lot of hype surrounding blockchain technology. Here's how it works and some of the novel ways it' s now being used - including for data protection.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

860 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