Solved

Help !!! ASP and SQLAnywhere

Posted on 1998-07-22
11
448 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Time Syntax 4 302
detecting a database behind a website 3 368
SAP HANA use case satisfy OLAP applications only. How true? 7 261
Need help with SYBASE syntax 5 85
This article outlines the process to identify and resolve account lockout in an Active Directory environment.
Data breaches are on the rise, and companies are preparing by boosting their cybersecurity budgets. According to the Cybersecurity Market Report (http://www.cybersecurityventures.com/cybersecurity-market-report), worldwide spending on cybersecurity …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

832 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