?
Solved

Help !!! ASP and SQLAnywhere

Posted on 1998-07-22
11
Medium Priority
?
466 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

 
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 200 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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

We are witnesses that everyone is saying that our children shouldn't "play" with a technology because it is dangerous. This article is going to prove that they are wrong.
Hey fellow admins! This time, I have a little fairy tale for you. As many tales do, it starts boring and then gets pretty gory. I hope you like it. TL;DR: It is about an important security matter, you should read it if you run or administer Windows …
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month9 days, 17 hours left to enroll

762 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