dbTalk Databases Forums  

dbeng7 with no tcpip

sybase.public.sqlanywhere.general sybase.public.sqlanywhere.general


Discuss dbeng7 with no tcpip in the sybase.public.sqlanywhere.general forum.



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

Default dbeng7 with no tcpip - 12-16-2003 , 06:56 PM






I have a simple PB app that connects to a dbeng7.exe engine database. I
install it on clients PC as a standalone application and up to now (4
clients) they have all worked okay since they are using TCPIP. A recent
demo is not working since the client does not have a network card and I
cannot get IP to run. It is running on XP and I think a shared memory
client should work. I can't remember what I need to do to get the
client to see the engine using shared memory or ? else without IP?

Anyone remember how to get a client to connect to a dbeng7 database
without using IP or any network protocol.

TIA
Joe


Reply With Quote
  #2  
Old   
Bruce Hay
 
Posts: n/a

Default Re: dbeng7 with no tcpip - 12-17-2003 , 08:03 AM






Try adding
-x none
to the server command line. This should start shared memory but not TCPIP.

Whitepapers, TechDocs, bug fixes are all available through the iAnywhere
Developer Community at http://www.ianywhere.com/developer

"Joe Coady" <jcoady (AT) langui (DOT) com> wrote

Quote:
I have a simple PB app that connects to a dbeng7.exe engine database. I
install it on clients PC as a standalone application and up to now (4
clients) they have all worked okay since they are using TCPIP. A recent
demo is not working since the client does not have a network card and I
cannot get IP to run. It is running on XP and I think a shared memory
client should work. I can't remember what I need to do to get the
client to see the engine using shared memory or ? else without IP?

Anyone remember how to get a client to connect to a dbeng7 database
without using IP or any network protocol.

TIA
Joe




Reply With Quote
  #3  
Old   
Stephen Rice
 
Posts: n/a

Default Re: dbeng7 with no tcpip - 12-17-2003 , 08:13 AM



Joe Coady <jcoady (AT) langui (DOT) com> wrote in news:3fdfa9d1$1@forums-1-dub:

Quote:
I have a simple PB app that connects to a dbeng7.exe engine database.
I
install it on clients PC as a standalone application and up to now
(4
clients) they have all worked okay since they are using TCPIP. A
recent demo is not working since the client does not have a network
card and I cannot get IP to run. It is running on XP and I think a
shared memory client should work. I can't remember what I need to do
to get the client to see the engine using shared memory or ? else
without IP?

Anyone remember how to get a client to connect to a dbeng7 database
without using IP or any network protocol.

TIA
Joe

Shared memory is what it should be using by default so I expect you are
specifying your connection parameters too "tightly".

What are your engine start line and client connection parameters?

Turing on the debug information on the client may get you the answer the
quickest.

/steve

--
Stephen Rice
Technical Services Manager
iAnywhere Solutions

- Please Post-
Whitepapers, TechDocs, and bug fixes are all available through the
iAnywhere Developer Community at www.ianywhere.com/developer



Reply With Quote
  #4  
Old   
Joe Coady
 
Posts: n/a

Default Re: dbeng7 with no tcpip - 12-17-2003 , 08:30 AM



My command line is "dbeng7.exe -n dbname c:\datadb\database.db".

I have an odbc profile that PB 9 uses that has a start / driver using
dbodbc7.dll. I do not specify any tcpip or any protocol for the client.

Thanks for the help. But I will try the -x none

Joe

Stephen Rice wrote:
Quote:
Joe Coady <jcoady (AT) langui (DOT) com> wrote in news:3fdfa9d1$1@forums-1-dub:


I have a simple PB app that connects to a dbeng7.exe engine database.
I
install it on clients PC as a standalone application and up to now
(4
clients) they have all worked okay since they are using TCPIP. A
recent demo is not working since the client does not have a network
card and I cannot get IP to run. It is running on XP and I think a
shared memory client should work. I can't remember what I need to do
to get the client to see the engine using shared memory or ? else
without IP?

Anyone remember how to get a client to connect to a dbeng7 database
without using IP or any network protocol.

TIA
Joe



Shared memory is what it should be using by default so I expect you are
specifying your connection parameters too "tightly".

What are your engine start line and client connection parameters?

Turing on the debug information on the client may get you the answer the
quickest.

/steve



Reply With Quote
  #5  
Old   
Graeme Perrow
 
Posts: n/a

Default Re: dbeng7 with no tcpip - 12-17-2003 , 12:15 PM




If you're not specifying any protocol on the client side, then you are
already using shared memory, which means that adding -x none should
allow the server to start, and the clients won't notice any difference.


Joe Coady wrote:
Quote:
My command line is "dbeng7.exe -n dbname c:\datadb\database.db".

I have an odbc profile that PB 9 uses that has a start / driver using
dbodbc7.dll. I do not specify any tcpip or any protocol for the client.

Thanks for the help. But I will try the -x none

--
Graeme Perrow
Senior Software Developer
gperrow (AT) ianywhere (DOT) com
iAnywhere Solutions Inc.
A Sybase company

Whitepapers, TechDocs, bug fixes are all available through the iAnywhere
Developer Community at http://www.ianywhere.com/developer/



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.