473,326 Members | 2,438 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,326 software developers and data experts.

Database Connection thru FileDSN

M P
I am new to ASP.NET . I am currently using file dsn to locate my ms access
database using ASP. Is this also possible for ASP.NET? If yes, can you help
me with the code?

Mark
Nov 18 '05 #1
5 1350
Well first some of theses newsgroup is for classic ASP none of that .net
stuff (microsoft.public.inetserver.asp.db &
microsoft.public.inetserver.asp.general). Second Microsoft has added
ODBC (aka DSN) to it's list of Deprecated Components for the MDAC. The
list of Deprecated Components for the MDAC can be found at the following
address.

http://msdn.microsoft.com/library/de...components.asp

This other link about classic ASP gives more info as to why you never
should even consider a DSN connection in the first place.

http://www.aspfaq.com/show.asp?id=2126

M P wrote:
I am new to ASP.NET . I am currently using file dsn to locate my ms access
database using ASP. Is this also possible for ASP.NET? If yes, can you help
me with the code?

Mark


Nov 18 '05 #2
"M P" <ma**@textguru.ph> wrote in message
news:%2***************@TK2MSFTNGP09.phx.gbl...
I am new to ASP.NET . I am currently using file dsn to locate my ms access
database using ASP. Is this also possible for ASP.NET? If yes, can you help me with the code?


I refer to this site quite a bit...
http://www.able-consulting.com/dotne..._Providers.htm
Nov 18 '05 #3
Sure it's possible. It is also possible to ride to work on a tricycle.
However, a car is much faster. And almost anything is faster at connecting
to a database than a file DSN.

Access is OLEDB-compliant. Why don't you use the System.Data.OleDb classes,
and skip the ODBC stuff?

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"M P" <ma**@textguru.ph> wrote in message
news:#V*************@TK2MSFTNGP09.phx.gbl...
I am new to ASP.NET . I am currently using file dsn to locate my ms access
database using ASP. Is this also possible for ASP.NET? If yes, can you help me with the code?

Mark

Nov 18 '05 #4
M P
can you help me with this System.Data.oleDb classes?

"Kevin Spencer" <ks******@takempis.com> wrote in message
news:e6*************@TK2MSFTNGP12.phx.gbl...
Sure it's possible. It is also possible to ride to work on a tricycle.
However, a car is much faster. And almost anything is faster at connecting
to a database than a file DSN.

Access is OLEDB-compliant. Why don't you use the System.Data.OleDb classes, and skip the ODBC stuff?

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"M P" <ma**@textguru.ph> wrote in message
news:#V*************@TK2MSFTNGP09.phx.gbl...
I am new to ASP.NET . I am currently using file dsn to locate my ms access database using ASP. Is this also possible for ASP.NET? If yes, can you

help
me with the code?

Mark


Nov 18 '05 #5
Sure. It's programming interface is almost exactly like System.Data.Odbc,
except for the NameSpace. That should help. :)

http://msdn.microsoft.com/library/de...emdataodbc.asp

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"M P" <ma**@textguru.ph> wrote in message
news:OM**************@tk2msftngp13.phx.gbl...
can you help me with this System.Data.oleDb classes?

"Kevin Spencer" <ks******@takempis.com> wrote in message
news:e6*************@TK2MSFTNGP12.phx.gbl...
Sure it's possible. It is also possible to ride to work on a tricycle.
However, a car is much faster. And almost anything is faster at connecting
to a database than a file DSN.

Access is OLEDB-compliant. Why don't you use the System.Data.OleDb

classes,
and skip the ODBC stuff?

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"M P" <ma**@textguru.ph> wrote in message
news:#V*************@TK2MSFTNGP09.phx.gbl...
I am new to ASP.NET . I am currently using file dsn to locate my ms

access database using ASP. Is this also possible for ASP.NET? If yes, can you

help
me with the code?

Mark



Nov 18 '05 #6

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

Similar topics

2
by: news.verizon.net | last post by:
I have a database in SQL2K and I want to write a small program in VB6. Once I create program in VB6, it should work from any client's computer. My SQL database is sitting on share drive X on...
3
by: Bob Murdoch | last post by:
I'm using IIS on W2k, using ODBC access to the database (which is on the same server as IIS). The system is designed to generate reports from users after they have walked thru a few pages,...
3
by: M P | last post by:
I am new to ASP.NET . I am currently using file dsn to locate my ms access database using ASP. Is this also possible for ASP.NET? If yes, can you help me with the code? Mark
3
by: Lars Netzel | last post by:
Hey! I have problems with timeout cause of problems obtaining a pool in the SQL server.. and I guess It's because I might have forgotten to Close some sqlConnection somewhere.. so I search thru...
1
by: NagaKiran | last post by:
Hi I need a help. I have a VB code In that I want to connect to a remote database thru VB code. Can we connect a Access database which is located in a web server thru VB? If so how can we...
3
by: Lal | last post by:
Dear All, I am seeking a valid suggestions from your side regarding the sql server performance. my connection object get initialized at the time of login. I remain connected throu out the...
16
by: fniles | last post by:
I am using VB.NET 2003, SQL 2000, and SqlDataAdapter. For every record in tblA where colB = 'abc', I want to update the value in colA. In VB6, using ADO I can loop thru the recordset,set the...
1
by: kapil29 | last post by:
hi everyone I am new asp. I have already have this .asp file, where it selects data from a MS Access database. Now I updated the database by adding a few more records. Everything else is the same,...
7
by: Bill Nguyen | last post by:
I have this connection string using ODBC DSN Dim FactorJaco As String = "dsn=jaco;catalog=factor;uid=user;pwd=passord" This requires an ODBC DSN (jaco) at every client PC. I need to use DSN-less...
1
by: BobTheBowler | last post by:
Hi I wrote a website about 8 years ago - http://www.ProBowkUK.co.uk It has an Access database of web links and a number of pages that show the different categories. ex: ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.