dbTalk Databases Forums  

Pervasive error in IIS 6.0

comp.databases.btrieve comp.databases.btrieve


Discuss Pervasive error in IIS 6.0 in the comp.databases.btrieve forum.



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

Default Pervasive error in IIS 6.0 - 08-29-2006 , 03:28 AM






I receive the following error when trying to connect to a Pervasive
database through ODBC:

ERROR [08S01] [Pervasive][Pervasive ODBC Client Interface][Pervasive
ODBC Client Interface][Pervasive ODBC Client Interface LNA]No available



transport protocol for the Pervasive Network Services Layer.
ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's
SQLSetConnectAttr failed
ERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn't
support the version of ODBC behavior that the application requested
(see SQLSetEnvAttr).


The application is working fine on my development machine (windows XP
with IIS 5.0 and .NET framework 2) and doesn't work on my web server
(windows server 2003 web edition with IIS 6.0 and .NET framework 2)


Any ideas?


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

Default Re: Pervasive error in IIS 6.0 - 08-29-2006 , 10:32 AM






This error indicates that the Pervasive client is trying to connect to
the database server, and it can't seem to find it, or communications
doesn't work. Verify that you can PING the database server by name
from the web server -- if this fails, then you won't have connectivity
at all.
Goldstar Software Inc.
Pervasive-based Products, Training & Services
Bill Bach
BillBach (AT) goldstarsoftware (DOT) com
http://www.goldstarsoftware.com
*** Chicago: Pervasive Service & Support Class - 10/2006 ***

jan82 wrote:

Quote:
I receive the following error when trying to connect to a Pervasive
database through ODBC:

ERROR [08S01] [Pervasive][Pervasive ODBC Client Interface][Pervasive
ODBC Client Interface][Pervasive ODBC Client Interface LNA]No
available



transport protocol for the Pervasive Network Services Layer.
ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's
SQLSetConnectAttr failed
ERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn't
support the version of ODBC behavior that the application requested
(see SQLSetEnvAttr).


The application is working fine on my development machine (windows XP
with IIS 5.0 and .NET framework 2) and doesn't work on my web server
(windows server 2003 web edition with IIS 6.0 and .NET framework 2)


Any ideas?


Reply With Quote
  #3  
Old   
jan82
 
Posts: n/a

Default Re: Pervasive error in IIS 6.0 - 08-30-2006 , 01:22 AM



Hi Bill

I can perfectly ping the database server from the client (webserver in
this case). The weird thing is that I can execute SQL queries on the
datasource on the webserver. The connection seems to work. Only my
web applications return this error, while they DO work on my
development machine. My development machine runs win XP and connects
to the database seemlessly. When I run the PSA, all tests succeed,
except for the "relational" database test. This returns the same
error.

Greetz!

Jan

Bill Bach schreef:

Quote:
This error indicates that the Pervasive client is trying to connect to
the database server, and it can't seem to find it, or communications
doesn't work. Verify that you can PING the database server by name
from the web server -- if this fails, then you won't have connectivity
at all.
Goldstar Software Inc.
Pervasive-based Products, Training & Services
Bill Bach
BillBach (AT) goldstarsoftware (DOT) com
http://www.goldstarsoftware.com
*** Chicago: Pervasive Service & Support Class - 10/2006 ***

jan82 wrote:

I receive the following error when trying to connect to a Pervasive
database through ODBC:

ERROR [08S01] [Pervasive][Pervasive ODBC Client Interface][Pervasive
ODBC Client Interface][Pervasive ODBC Client Interface LNA]No
available



transport protocol for the Pervasive Network Services Layer.
ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's
SQLSetConnectAttr failed
ERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn't
support the version of ODBC behavior that the application requested
(see SQLSetEnvAttr).


The application is working fine on my development machine (windows XP
with IIS 5.0 and .NET framework 2) and doesn't work on my web server
(windows server 2003 web edition with IIS 6.0 and .NET framework 2)


Any ideas?


Reply With Quote
  #4  
Old   
Wayne
 
Posts: n/a

Default Re: Pervasive error in IIS 6.0 - 08-30-2006 , 12:57 PM



Hi Jan,

This is a wild guess: Could this be a firewall issue on the webserver?
The default TCP/IP port for the Pervasive Relational Engine is 1583.
Check your configuration to see what it's currently set at, then check
to see that it's open through your webserver firewall. Or,
alternatively, set the PSQL TCP/IP port to one that is open.

Wayne
Analytica Business Systems, Inc.
www.analyticabiz.com
waynef at theabovedomain dot com
Subscribe to our Pervasive News Feed at:
http://www.analyticabiz.com/rss20.php


jan82 ha scritto:

Quote:
Hi Bill

I can perfectly ping the database server from the client (webserver in
this case). The weird thing is that I can execute SQL queries on the
datasource on the webserver. The connection seems to work. Only my
web applications return this error, while they DO work on my
development machine. My development machine runs win XP and connects
to the database seemlessly. When I run the PSA, all tests succeed,
except for the "relational" database test. This returns the same
error.

Greetz!

Jan

Bill Bach schreef:

This error indicates that the Pervasive client is trying to connect to
the database server, and it can't seem to find it, or communications
doesn't work. Verify that you can PING the database server by name
from the web server -- if this fails, then you won't have connectivity
at all.
Goldstar Software Inc.
Pervasive-based Products, Training & Services
Bill Bach
BillBach (AT) goldstarsoftware (DOT) com
http://www.goldstarsoftware.com
*** Chicago: Pervasive Service & Support Class - 10/2006 ***

jan82 wrote:

I receive the following error when trying to connect to a Pervasive
database through ODBC:

ERROR [08S01] [Pervasive][Pervasive ODBC Client Interface][Pervasive
ODBC Client Interface][Pervasive ODBC Client Interface LNA]No
available



transport protocol for the Pervasive Network Services Layer.
ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's
SQLSetConnectAttr failed
ERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn't
support the version of ODBC behavior that the application requested
(see SQLSetEnvAttr).


The application is working fine on my development machine (windows XP
with IIS 5.0 and .NET framework 2) and doesn't work on my web server
(windows server 2003 web edition with IIS 6.0 and .NET framework 2)


Any ideas?


Reply With Quote
  #5  
Old   
jan82
 
Posts: n/a

Default Re: Pervasive error in IIS 6.0 - 08-31-2006 , 01:54 AM



Hi Wayne

When I change the port number, I get a timeout. So I guess the port is
open on the webserver, and the communication succeeds. But still the
same error...

Wayne schreef:

Quote:
Hi Jan,

This is a wild guess: Could this be a firewall issue on the webserver?
The default TCP/IP port for the Pervasive Relational Engine is 1583.
Check your configuration to see what it's currently set at, then check
to see that it's open through your webserver firewall. Or,
alternatively, set the PSQL TCP/IP port to one that is open.

Wayne
Analytica Business Systems, Inc.
www.analyticabiz.com
waynef at theabovedomain dot com
Subscribe to our Pervasive News Feed at:
http://www.analyticabiz.com/rss20.php


jan82 ha scritto:

Hi Bill

I can perfectly ping the database server from the client (webserver in
this case). The weird thing is that I can execute SQL queries on the
datasource on the webserver. The connection seems to work. Only my
web applications return this error, while they DO work on my
development machine. My development machine runs win XP and connects
to the database seemlessly. When I run the PSA, all tests succeed,
except for the "relational" database test. This returns the same
error.

Greetz!

Jan

Bill Bach schreef:

This error indicates that the Pervasive client is trying to connect to
the database server, and it can't seem to find it, or communications
doesn't work. Verify that you can PING the database server by name
from the web server -- if this fails, then you won't have connectivity
at all.
Goldstar Software Inc.
Pervasive-based Products, Training & Services
Bill Bach
BillBach (AT) goldstarsoftware (DOT) com
http://www.goldstarsoftware.com
*** Chicago: Pervasive Service & Support Class - 10/2006 ***

jan82 wrote:

I receive the following error when trying to connect to a Pervasive
database through ODBC:

ERROR [08S01] [Pervasive][Pervasive ODBC Client Interface][Pervasive
ODBC Client Interface][Pervasive ODBC Client Interface LNA]No
available



transport protocol for the Pervasive Network Services Layer.
ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's
SQLSetConnectAttr failed
ERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn't
support the version of ODBC behavior that the application requested
(see SQLSetEnvAttr).


The application is working fine on my development machine (windows XP
with IIS 5.0 and .NET framework 2) and doesn't work on my web server
(windows server 2003 web edition with IIS 6.0 and .NET framework 2)


Any ideas?


Reply With Quote
  #6  
Old   
Wayne
 
Posts: n/a

Default Re: Pervasive error in IIS 6.0 - 08-31-2006 , 11:22 AM



How about trying to bypass ODBC? Use ADO instead, since the app is
running under IIS. Use a connection string like this:

Provider=PervasiveOLEDB;Server=<server>;Data Source=<Server DSN>;User
ID=<youruserid>;Password=<password>

jan82 ha scritto:

Quote:
Hi Wayne

When I change the port number, I get a timeout. So I guess the port is
open on the webserver, and the communication succeeds. But still the
same error...

Wayne schreef:

Hi Jan,

This is a wild guess: Could this be a firewall issue on the webserver?
The default TCP/IP port for the Pervasive Relational Engine is 1583.
Check your configuration to see what it's currently set at, then check
to see that it's open through your webserver firewall. Or,
alternatively, set the PSQL TCP/IP port to one that is open.

Wayne
Analytica Business Systems, Inc.
www.analyticabiz.com
waynef at theabovedomain dot com
Subscribe to our Pervasive News Feed at:
http://www.analyticabiz.com/rss20.php


jan82 ha scritto:

Hi Bill

I can perfectly ping the database server from the client (webserver in
this case). The weird thing is that I can execute SQL queries on the
datasource on the webserver. The connection seems to work. Only my
web applications return this error, while they DO work on my
development machine. My development machine runs win XP and connects
to the database seemlessly. When I run the PSA, all tests succeed,
except for the "relational" database test. This returns the same
error.

Greetz!

Jan

Bill Bach schreef:

This error indicates that the Pervasive client is trying to connect to
the database server, and it can't seem to find it, or communications
doesn't work. Verify that you can PING the database server by name
from the web server -- if this fails, then you won't have connectivity
at all.
Goldstar Software Inc.
Pervasive-based Products, Training & Services
Bill Bach
BillBach (AT) goldstarsoftware (DOT) com
http://www.goldstarsoftware.com
*** Chicago: Pervasive Service & Support Class - 10/2006 ***

jan82 wrote:

I receive the following error when trying to connect to a Pervasive
database through ODBC:

ERROR [08S01] [Pervasive][Pervasive ODBC Client Interface][Pervasive
ODBC Client Interface][Pervasive ODBC Client Interface LNA]No
available



transport protocol for the Pervasive Network Services Layer.
ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's
SQLSetConnectAttr failed
ERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn't
support the version of ODBC behavior that the application requested
(see SQLSetEnvAttr).


The application is working fine on my development machine (windows XP
with IIS 5.0 and .NET framework 2) and doesn't work on my web server
(windows server 2003 web edition with IIS 6.0 and .NET framework 2)


Any ideas?


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.