dbTalk Databases Forums  

Re: Querying Pervasive Data Remotely from Web Server ASP Page

comp.databases.btrieve comp.databases.btrieve


Discuss Re: Querying Pervasive Data Remotely from Web Server ASP Page in the comp.databases.btrieve forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Bill Bach
 
Posts: n/a

Default Re: Querying Pervasive Data Remotely from Web Server ASP Page - 08-29-2003 , 11:48 PM






Why is ODBC not working? Are you getting an error message back?

Remember that the remote web server is running under the IIS username, so
you'll need to make sure that A) you have FULL access from the web server
to your database box over the wire and B) the IIS user that is being used
on the web server has proper access to the database server.

Try providing your current connection info as well.

BTW, how's thing in IA?
Goldstar Software Inc.
Building on Btrieve(R) for the Future(SM)
Bill Bach
BillBach (AT) goldstarsoftware (DOT) com
http://www.goldstarsoftware.com
*** Pervasive.SQL Service & Support Classes ***
Chicago: September 16-18: See our web site for details!


Cynthia Merritt wrote:

Quote:
I'm trying to query a pervasive database from a remote web server. I
want to use a DSN-less connection. I can't seem to find the right
provider to do so. Can anyone point me in the right direction as to
how to do this? I can't seem to do it with ODBC or OLEDB, so what is
left???? I've read something about 'RDS' but don't know what that is
or how to use it.

Our system is set up with:
Web Server: Windows 2000 Server, IIS version 5

Database Server: Windows 2000 Server, Pervasive SQL 2000i service pack
4

Any help would be GREATLY appreciated, thanks!


Reply With Quote
  #2  
Old   
Cynthia Merritt
 
Posts: n/a

Default Re: Querying Pervasive Data Remotely from Web Server ASP Page - 09-02-2003 , 09:30 AM






Iowa is DRY!!! Sure could use some rain, but at least it's no longer
100 degrees outside.

As to my ODBC Connection:

Connection String: "Provider=MSDASQL.1;driver={Pervasive ODBC Client
Interface};ServerName=NameOfOurServer;ServerDSN=Na meOfOurDatabase"

Error:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Driver Manager] Data source name not found and no
default driver specified

The iis user does have full access to where the database resides.
We're trying to do this without putting the DSN on the client (web
server), and my understanding is that perhaps there is trouble with
doing that?

Anyway, any help you can give me, Bill, is ALWAYS appeciated.

Thanks!

--Cynthia Merritt


Bill Bach <bbach (AT) cncdsl (DOT) com> wrote

Quote:
Why is ODBC not working? Are you getting an error message back?

Remember that the remote web server is running under the IIS username, so
you'll need to make sure that A) you have FULL access from the web server
to your database box over the wire and B) the IIS user that is being used
on the web server has proper access to the database server.

Try providing your current connection info as well.

BTW, how's thing in IA?
Goldstar Software Inc.
Building on Btrieve(R) for the Future(SM)
Bill Bach
BillBach (AT) goldstarsoftware (DOT) com
http://www.goldstarsoftware.com
*** Pervasive.SQL Service & Support Classes ***
Chicago: September 16-18: See our web site for details!


Cynthia Merritt wrote:

I'm trying to query a pervasive database from a remote web server. I
want to use a DSN-less connection. I can't seem to find the right
provider to do so. Can anyone point me in the right direction as to
how to do this? I can't seem to do it with ODBC or OLEDB, so what is
left???? I've read something about 'RDS' but don't know what that is
or how to use it.

Our system is set up with:
Web Server: Windows 2000 Server, IIS version 5

Database Server: Windows 2000 Server, Pervasive SQL 2000i service pack
4

Any help would be GREATLY appreciated, thanks!

Reply With Quote
  #3  
Old   
Bill Bach
 
Posts: n/a

Default Re: Querying Pervasive Data Remotely from Web Server ASP Page - 09-03-2003 , 11:24 AM



Try something more like this for a DSN-less connection:
"DRIVER={Pervasive ODBC Client Interface};DBQ=" + DDF_Location
I think this will work...
BB

Cynthia Merritt wrote:

Quote:
Iowa is DRY!!! Sure could use some rain, but at least it's no longer
100 degrees outside.

As to my ODBC Connection:

Connection String: "Provider=MSDASQL.1;driver={Pervasive ODBC Client
Interface};ServerName=NameOfOurServer;ServerDSN=Na meOfOurDatabase"

Error:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Driver Manager] Data source name not found and no
default driver specified

The iis user does have full access to where the database resides.
We're trying to do this without putting the DSN on the client (web
server), and my understanding is that perhaps there is trouble with
doing that?

Anyway, any help you can give me, Bill, is ALWAYS appeciated.

Thanks!

--Cynthia Merritt

Bill Bach <bbach (AT) cncdsl (DOT) com> wrote

Why is ODBC not working? Are you getting an error message back?

Remember that the remote web server is running under the IIS username, so
you'll need to make sure that A) you have FULL access from the web server
to your database box over the wire and B) the IIS user that is being used
on the web server has proper access to the database server.

Try providing your current connection info as well.

BTW, how's thing in IA?
Goldstar Software Inc.
Building on Btrieve(R) for the Future(SM)
Bill Bach
BillBach (AT) goldstarsoftware (DOT) com
http://www.goldstarsoftware.com
*** Pervasive.SQL Service & Support Classes ***
Chicago: September 16-18: See our web site for details!


Cynthia Merritt wrote:

I'm trying to query a pervasive database from a remote web server. I
want to use a DSN-less connection. I can't seem to find the right
provider to do so. Can anyone point me in the right direction as to
how to do this? I can't seem to do it with ODBC or OLEDB, so what is
left???? I've read something about 'RDS' but don't know what that is
or how to use it.

Our system is set up with:
Web Server: Windows 2000 Server, IIS version 5

Database Server: Windows 2000 Server, Pervasive SQL 2000i service pack
4

Any help would be GREATLY appreciated, thanks!


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.