473,385 Members | 1,740 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,385 software developers and data experts.

DSN-less sonnection - question for bob barrows

Hi Bob - had the advice below from you recently:-

hugh welford wrote:
Hi - using XP pro with IIS to develop offline asp data access site.

Suddenly, my DSNs and odbc drivers have disappeared - the only thing
I can think of is that an XP auto update has done this in some way.

Can anyone tell me how to get hold of and re-instal odbc drivers to
allow me to connect with ACCESS data bases.

Thanks Hugh

:-)
Seems like the perfect time to break the odbc crutch ...
http://www.aspfaq.com/show.asp?id=2126

However, if you're bound and determined,
You need to go to microsoft.com and search for the Jet components download.

Bob Barrows

I have implemented this which works fine EXCEPT in one case where I try to
access a table field called "read" which gives me an unspecified error. This
error is not present if i use a DSN connection, and also goes away if I
rename the field "read1" with the OLEDB driver.

I have the solution - i.e. rename the field, but I would like to know why
this problem arises - is "read" a reserved word ???

Thanks Hugh
Mar 1 '06 #1
3 1248

Hugh Welford wrote:
Hi Bob - had the advice below from you recently:-

hugh welford wrote:
Hi - using XP pro with IIS to develop offline asp data access site.

Suddenly, my DSNs and odbc drivers have disappeared - the only thing
I can think of is that an XP auto update has done this in some way.

Can anyone tell me how to get hold of and re-instal odbc drivers to
allow me to connect with ACCESS data bases.

Thanks Hugh

:-)
Seems like the perfect time to break the odbc crutch ...
http://www.aspfaq.com/show.asp?id=2126

However, if you're bound and determined,
You need to go to microsoft.com and search for the Jet components download.

Bob Barrows

I have implemented this which works fine EXCEPT in one case where I try to
access a table field called "read" which gives me an unspecified error. This
error is not present if i use a DSN connection, and also goes away if I
rename the field "read1" with the OLEDB driver.

I have the solution - i.e. rename the field, but I would like to know why
this problem arises - is "read" a reserved word ???

Thanks Hugh


I'm not Bob, but READ is not a reserved word in Access. It is,
however, in SQL and Jet.

This is a handy reference: http://www.aspfaq.com/show.asp?id=2080

--
Mike Brind

Mar 1 '06 #2
Mike Brind wrote:
Hugh Welford wrote:
Hi Bob - had the advice below from you recently:-

hugh welford wrote:
Hi - using XP pro with IIS to develop offline asp data access site.

Suddenly, my DSNs and odbc drivers have disappeared - the only thing
I can think of is that an XP auto update has done this in some way.

Can anyone tell me how to get hold of and re-instal odbc drivers to
allow me to connect with ACCESS data bases.

Thanks Hugh

:-)
Seems like the perfect time to break the odbc crutch ...
http://www.aspfaq.com/show.asp?id=2126

However, if you're bound and determined,
You need to go to microsoft.com and search for the Jet components
download.

Bob Barrows

I have implemented this which works fine EXCEPT in one case where I
try to access a table field called "read" which gives me an
unspecified error. This error is not present if i use a DSN
connection, and also goes away if I rename the field "read1" with
the OLEDB driver.

I have the solution - i.e. rename the field, but I would like to
know why this problem arises - is "read" a reserved word ???

Thanks Hugh


I'm not Bob, but READ is not a reserved word in Access. It is,
however, in SQL and Jet.

.... and in ODBC. The thing is: OLE DB enforces these a little more strongly
than the older ODBC drivers.

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Mar 1 '06 #3
Thank you Mike and Bob - what would we all do without you????

Hugh
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:uJ**************@TK2MSFTNGP12.phx.gbl...
Mike Brind wrote:
Hugh Welford wrote:
Hi Bob - had the advice below from you recently:-

hugh welford wrote:
Hi - using XP pro with IIS to develop offline asp data access site.

Suddenly, my DSNs and odbc drivers have disappeared - the only thing
I can think of is that an XP auto update has done this in some way.

Can anyone tell me how to get hold of and re-instal odbc drivers to
allow me to connect with ACCESS data bases.

Thanks Hugh
:-)
Seems like the perfect time to break the odbc crutch ...
http://www.aspfaq.com/show.asp?id=2126

However, if you're bound and determined,
You need to go to microsoft.com and search for the Jet components
download.

Bob Barrows

I have implemented this which works fine EXCEPT in one case where I
try to access a table field called "read" which gives me an
unspecified error. This error is not present if i use a DSN
connection, and also goes away if I rename the field "read1" with
the OLEDB driver.

I have the solution - i.e. rename the field, but I would like to
know why this problem arises - is "read" a reserved word ???

Thanks Hugh


I'm not Bob, but READ is not a reserved word in Access. It is,
however, in SQL and Jet.

... and in ODBC. The thing is: OLE DB enforces these a little more
strongly
than the older ODBC drivers.

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

Mar 2 '06 #4

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

Similar topics

0
by: Leader | last post by:
HI All, I created a SQL Server DSN using Windows ODBC Data Source Administrator. While creating the DSN, it asked me about authentication process in reply to which I selected "With SQL Server...
1
by: Dan | last post by:
Hi I have recently converted an Access 97 database to 2003. Most of the change went fine with no problems but every now and then my DSN connections to my back-end SQL-database fail and it does not...
2
by: Tina Robichaux | last post by:
I have found info on this problem at MS, but they say this problem does not occur with SQL 2K and MDAC 2.6 SP2, yet I am still experiencing it: I have a SQL user specifically created to SELECT...
4
by: Steve Sweales | last post by:
I'm trying to find some code on how to create a DSN using C# and SQLConfigDataSource. Can anybody help me please, before I tear my hair out!! *** Sent via Devdex http://www.devdex.com ***...
3
by: Niks | last post by:
Hi, I need to connect to SQL server Database using a System DSN. Can anyone tell me how to connect to SQL Server using DSN in ASP.NET (VB.Net). Using a Try Catch block. Does anyone know how to...
9
by: Mike | last post by:
In my code i'm pointing to a SQL server name and SQL database name on the server, etc. Instead of that how can i point to a DSN connection on the web server that points to the SQL Server and DB?
0
by: Neo | last post by:
Hello All, ODBCAD32.exe launches DSN Setup. But then I have to select DSN and click configure to configure DSN. Is there any way, I could invoke configuration dialog box for particular DSN...
0
by: bazzer | last post by:
hey, im trying to access a microsoft access database from an ASP.NET web application in visual basic 2003.NET. i get the following error when i try running it: Server Error in...
7
by: Alan.Squires | last post by:
Hi, I need to create a DB2 system DSN programmatically. I need to set the currentschema parameter to be equal to the appropriate database name. I am able to create the DSN ok, but am unable to...
0
by: senthildb2 | last post by:
Hi there, I want to create DSN for DB2 database through my VB application. I have installed DB2 v8.2 with FixPack6.0 ESE. (The actual version shown in Control Center is DB2 V8.1.13.193) The...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.