Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Re: reading and displaying a .dbf file


Message #1 by Nancy Flores <ndtiuflores@y...> on Sun, 30 Jun 2002 19:55:47 -0700 (PDT)
Hi Paul!

I am trying to read and display the contents of a .dbf
file. here is the connection string I used: 
"Driver={Microsoft dBASE Driver
(*.dbf)};DriverID=533;Dbq=c:\inetpub\wwwroot\tupperwarenet\01w25080\POD08025.DBF;"


Here is the error I got: 
[Microsoft][ODBC dBase Driver] '(unknown)' is not a
valid path. Make sure that the path name is spelled
correctly and that you are connected to the server on
which the file resides.

I swear that the path is correct. What could be wrong?


--- Paul R Stearns <pauls@c...> wrote:
> The easiest way is to use a Microsoft odbc driver,
> which has always been on all of
> the servers that I have used.
> 
> Paul
> 
> Nancy Flores wrote:
> 
> > How can I connect to a .dbf file, read its
> contents
> > and display all its contents over the web?
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! - Official partner of 2002 FIFA World Cup
> > http://fifaworldcup.yahoo.com
> >
> > ---
> >
> > Improve your web design skills with these new
> books from Glasshaus.
> >
> > Usable Web Menus
> >
>
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
> > r-20
> > Constructing Accessible Web Sites
> >
>
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
> > r-20
> > Practical JavaScript for the Usable Web
> >
>
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
> > r-20
> 
> 
> 
> ---
> 
> Improve your web design skills with these new books
> from Glasshaus.
> 
> Usable Web Menus
>
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
> r-20
> Constructing Accessible Web Sites
>
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
> r-20
> Practical JavaScript for the Usable Web
>
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
> r-20


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
Message #2 by kyle.b.willman@u... on Mon, 1 Jul 2002 07:01:26 -0500
Should there be quotes around the path in your connection string?

Kyle B. Willman
PricewaterhouseCoopers LLP
Office:  xxx.xxx.xxxx
Cell:   xxx.xxx.xxxx


                                                                                                                                    
                      Nancy Flores                                                                                                  
                      <ndtiuflores@y...       To: "ASP Web HowTo" <asp_web_howto@p...>                            
                      .com>                    cc:                                                                               
                      06/30/2002 09:55         Subject:  [asp_web_howto] Re: reading and displaying a .dbf file                     
                      PM                                                                                                            
                                                                                                                                    
                      Please respond to                                                                                             
                      "ASP Web HowTo"                                                                                               
                                                                                                                                    
                                                                                                                                    




Hi Paul!

I am trying to read and display the contents of a .dbf
file. here is the connection string I used:
"Driver={Microsoft dBASE Driver
(*.dbf)};DriverID=533;Dbq=c:
\inetpub\wwwroot\tupperwarenet\01w25080\POD08025.DBF;"


Here is the error I got:
[Microsoft][ODBC dBase Driver] '(unknown)' is not a
valid path. Make sure that the path name is spelled
correctly and that you are connected to the server on
which the file resides.

I swear that the path is correct. What could be wrong?


--- Paul R Stearns <pauls@c...> wrote:
> The easiest way is to use a Microsoft odbc driver,
> which has always been on all of
> the servers that I have used.
>
> Paul
>
> Nancy Flores wrote:
>
> > How can I connect to a .dbf file, read its
> contents
> > and display all its contents over the web?
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! - Official partner of 2002 FIFA World Cup
> > http://fifaworldcup.yahoo.com
> >
> > ---
> >
> > Improve your web design skills with these new
> books from Glasshaus.
> >
> > Usable Web Menus
> >
>
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
> > r-20
> > Constructing Accessible Web Sites
> >
>
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
> > r-20
> > Practical JavaScript for the Usable Web
> >
>
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
> > r-20
>
>
>
> ---
>
> Improve your web design skills with these new books
> from Glasshaus.
>
> Usable Web Menus
>
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
> r-20
> Constructing Accessible Web Sites
>
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
> r-20
> Practical JavaScript for the Usable Web
>
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
> r-20


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com


---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20




_________________________________________________________________
         The information transmitted is intended only for the person or
         entity to which it is addressed and may contain confidential
         and/or privileged material.  Any review, retransmission,
         dissemination or other use of, or taking of any action in reliance
         upon, this information by persons or entities other than the
         intended recipient is prohibited.   If you received this in error,
         please contact the sender and delete the material from any
         computer.

Message #3 by "John Eix" <jeix@s...> on Mon, 1 Jul 2002 09:13:19 -0400
Hi Nancy

Here is the connection string I use check the case:

<%
strConnect = "Driver={Microsoft Access Driver
(*.mdb)};DBQ=I:\Inetpub\wwwroot\ParNite2002\parnite.mdb"
%>

There are two possible places the case could be wrong "DBQ" and the name
of the file.

-----Original Message-----
From: Nancy Flores [mailto:ndtiuflores@y...] 
Sent: June 30, 2002 22:56
To: ASP Web HowTo
Subject: [asp_web_howto] Re: reading and displaying a .dbf file


Hi Paul!

I am trying to read and display the contents of a .dbf
file. here is the connection string I used: 
"Driver={Microsoft dBASE Driver
(*.dbf)};DriverID=533;Dbq=c:\inetpub\wwwroot\tupperwarenet\01w25080\POD0
8025.DBF;"


Here is the error I got: 
[Microsoft][ODBC dBase Driver] '(unknown)' is not a
valid path. Make sure that the path name is spelled
correctly and that you are connected to the server on
which the file resides.

I swear that the path is correct. What could be wrong?


--- Paul R Stearns <pauls@c...> wrote:
> The easiest way is to use a Microsoft odbc driver,
> which has always been on all of
> the servers that I have used.
> 
> Paul
> 
> Nancy Flores wrote:
> 
> > How can I connect to a .dbf file, read its
> contents
> > and display all its contents over the web?
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! - Official partner of 2002 FIFA World Cup 
> > http://fifaworldcup.yahoo.com
> >
> > ---
> >
> > Improve your web design skills with these new
> books from Glasshaus.
> >
> > Usable Web Menus
> >
>
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
> > r-20
> > Constructing Accessible Web Sites
> >
>
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
> > r-20
> > Practical JavaScript for the Usable Web
> >
>
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
> > r-20
> 
> 
> 
> ---
> 
> Improve your web design skills with these new books
> from Glasshaus.
> 
> Usable Web Menus
>
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
> r-20
> Constructing Accessible Web Sites
>
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
> r-20
> Practical JavaScript for the Usable Web
>
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
> r-20


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com


---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20

Message #4 by "TomMallard" <mallard@s...> on Mon, 1 Jul 2002 06:29:11 -0700
Open ODBC and try to create a DSN for this file. If that works, you can copy
the connection string from the DSN file. If it doesn't work, it's likely the
driver that's not working...

tom mallard
seattle
-----Original Message-----
From: Nancy Flores [mailto:ndtiuflores@y...]
Sent: Sunday, June 30, 2002 7:56 PM
To: ASP Web HowTo
Subject: [asp_web_howto] Re: reading and displaying a .dbf file


Hi Paul!

I am trying to read and display the contents of a .dbf
file. here is the connection string I used:
"Driver={Microsoft dBASE Driver
(*.dbf)};DriverID=533;Dbq=c:\inetpub\wwwroot\tupperwarenet\01w25080\POD08025
.DBF;"


Here is the error I got:
[Microsoft][ODBC dBase Driver] '(unknown)' is not a
valid path. Make sure that the path name is spelled
correctly and that you are connected to the server on
which the file resides.

I swear that the path is correct. What could be wrong?


--- Paul R Stearns <pauls@c...> wrote:
> The easiest way is to use a Microsoft odbc driver,
> which has always been on all of
> the servers that I have used.
>
> Paul
>
> Nancy Flores wrote:
>
> > How can I connect to a .dbf file, read its
> contents
> > and display all its contents over the web?
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! - Official partner of 2002 FIFA World Cup
> > http://fifaworldcup.yahoo.com
> >
> > ---
> >
> > Improve your web design skills with these new
> books from Glasshaus.
> >
> > Usable Web Menus
> >
>
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
> > r-20
> > Constructing Accessible Web Sites
> >
>
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
> > r-20
> > Practical JavaScript for the Usable Web
> >
>
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
> > r-20
>
>
>
> ---
>
> Improve your web design skills with these new books
> from Glasshaus.
>
> Usable Web Menus
>
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
> r-20
> Constructing Accessible Web Sites
>
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
> r-20
> Practical JavaScript for the Usable Web
>
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
> r-20


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com


---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20


  Return to Index