473,387 Members | 1,486 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Establish ODBC connection

Anyone know how to establish an ODBC connection
using .asp? Looking for ideas!

Thanks

Windows 2000, IIS Version 6
Jul 19 '05 #1
3 1256
you should be using the newer OLE DB to connect to you db.

example

dim objConn : set objConn = server.createobject("ADODB.connection")
objConn.open "provider=microsoft.jet.OLEDB.4.0; " & "data source=" &
server.mappath("yourdb.mdb") & ";"
"Steve" <an*******@discussions.microsoft.com> wrote in message
news:22*****************************@phx.gbl...
Anyone know how to establish an ODBC connection
using .asp? Looking for ideas!

Thanks

Windows 2000, IIS Version 6

Jul 19 '05 #2
I'd rather not use OLE DB. My current workspace is setup
on ODBC, and I'd rather not change right now.

If anyone knows using ODBC, please fill me in.
-----Original Message-----
you should be using the newer OLE DB to connect to you db.

example

dim objConn : set objConn = server.createobject ("ADODB.connection")objConn.open "provider=microsoft.jet.OLEDB.4.0; " & "data source=" &server.mappath("yourdb.mdb") & ";"
"Steve" <an*******@discussions.microsoft.com> wrote in messagenews:22*****************************@phx.gbl...
Anyone know how to establish an ODBC connection
using .asp? Looking for ideas!

Thanks

Windows 2000, IIS Version 6

.

Jul 19 '05 #3
> I'd rather not use OLE DB.

Why?
My current workspace is setup
on ODBC, and I'd rather not change right now.


This doesn't make any sense. There is no "workspace" to "setup" in order to
use a DSN-less connection string. ODBC has been deprecated for a reason!
Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Sean Anderson | last post by:
ODBC under System DSN Setup Access Driver give it the DSN (Data Source Name) MSA Click on Select and point to the myfile.mdb (your database file)
5
by: SerGioGio | last post by:
Hello, I am going nuts. I am trying to connect to my local ORACLE instance using ODBC. It used to work few weeks ago, but it fails now. Connection with: - SQL*plus: connection works! -...
0
by: bmoos1 | last post by:
I have MS Office 2000 and upgraded Access Only to 2003. The problem is I want to use my Access queries for a mail/merge, but I get the error message: "Word could not re-establish DDE...
9
by: mcbill20 | last post by:
Hello all. I just installed Oracle 10g developer tools on a machine running XP Pro and Office XP. Before this I had just the Oracle 9 client installed. I the previous configuration, I was able to...
3
by: Bill | last post by:
I'm running a C#.Net application that is using the HttpWebRequest to upload an xml file to a https site with FIPS complicancy turned on. On the "GetRequestStream()" method I get: "The underlying...
1
by: Mark Richards | last post by:
Hi, I am interfacing with another company using web services (they are a java shop). We've been doing this for over 2 years, but a couple months age we started getting this error randomly. It...
8
by: Greg Strong | last post by:
Hello All, The short questions are 1 Do you know how to make DSN connection close in Access to Oracle 10g Express Edition? &/or 2 Do you know how to make a DSN-less pass-through query...
1
by: wmarkwat | last post by:
Just installed Access 2003 and want to export a table to Oracle DB version 9.2 using ODBC driver. When I right click on Table for export I, can enter the table name, but after that nothing happens....
2
by: devas | last post by:
Hai, Issue: I am using OEM 10g grid control. I want to establish the connection from oracle to sql server=>I can’t able to connect it. Please help me I have created the system dsn below steps....
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.