dbTalk Databases Forums  

SA10 Windows7 (final) shared memory connection fails

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


Discuss SA10 Windows7 (final) shared memory connection fails in the sybase.public.sqlanywhere.general forum.



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

Default SA10 Windows7 (final) shared memory connection fails - 09-07-2009 , 08:58 AM






Hello

We are currently upgrading to Windows 7 (final version, not
Beta or RTM).
We are using ODBC System DSN to connect to SA Server; Here's
the command line: C:\Programme\Sybase\SQL Anywhere
10\win32\dbeng10.exe -m -c 16M

This worked fine with previous OS Versions (XP, Server
2003). We got this to work on Windows 7 RTM.

I've added the parameters -n test -z and then i get the
following
Fehler 10057 beim Erstellen von SO_UPDATE_ACCEPT_CONTEXT
which may translated as
Error 10057 creating SO_UPDATE_ACCEPT_CONTEXT
dbeng10 hangs with 100% CPU usage



What can I do - are there any special permissions i can set?
btw, execution "As Administrator" does not help

Reply With Quote
  #2  
Old   
Jeff Albion [Sybase iAnywhere]
 
Posts: n/a

Default Re: SA10 Windows7 (final) shared memory connection fails - 09-08-2009 , 10:38 AM






Michael,

Michael Thomas wrote:
Quote:
Fehler 10057 beim Erstellen von SO_UPDATE_ACCEPT_CONTEXT
which may translated as
Error 10057 creating SO_UPDATE_ACCEPT_CONTEXT
dbeng10 hangs with 100% CPU usage
10057 is a Winsock error - WSAENOTCONN -
http://msdn.microsoft.com/en-us/libr...68(VS.85).aspx

We haven't officially released support for Windows 7 (
http://www.sybase.com/detail?id=1002288 ), so it's difficult to say what
may be wrong. 10057 tends to sound like we can't create a socket, and
the OS is sending back the 10057 error.

Quote:
What can I do - are there any special permissions i can set?
btw, execution "As Administrator" does not help
Hard to say - does disabling TCP/IP help at all? (dbeng10 -x shmem -n
test -z -ot console.txt) Turning off the UAC?

Regards,

--
Jeff Albion, Sybase iAnywhere

iAnywhere Developer Community :
http://www.sybase.com/developer/libr...ere-techcorner
iAnywhere Documentation : http://www.ianywhere.com/developer/product_manuals
SQL Anywhere Patches and EBFs :
http://downloads.sybase.com/swd/summ...&timeframe =0
Report a Bug/Open a Case : http://case-express.sybase.com/cx/

Reply With Quote
  #3  
Old   
Nick Elson [Sybase iAnywhere]
 
Posts: n/a

Default Re: SA10 Windows7 (final) shared memory connection fails - 09-08-2009 , 10:51 AM



Also, in addition to what Jeff said, there was a similar
report with Vista and that was associated with IPV6
and using

-x tcpip(IPv6=NO)

got around that problem for the specific customer.
If you are not explicitly managing IPv6 on your
systems, and if the above works for you, that
may be an acceptable workaround.

Also, socket options are a TCP/IP thing. If
you have no networking you may want to
be explicit about using shared memory in
your cmdline with

-x none

"Jeff Albion [Sybase iAnywhere]" <firstname.lastname (AT) ianywhere (DOT) com> wrote in
message news:4aa67a71$1 (AT) forums-1-dub (DOT) ..
Quote:
Michael,

Michael Thomas wrote:
Fehler 10057 beim Erstellen von SO_UPDATE_ACCEPT_CONTEXT
which may translated as
Error 10057 creating SO_UPDATE_ACCEPT_CONTEXT
dbeng10 hangs with 100% CPU usage

10057 is a Winsock error - WSAENOTCONN -
http://msdn.microsoft.com/en-us/libr...68(VS.85).aspx

We haven't officially released support for Windows 7 (
http://www.sybase.com/detail?id=1002288 ), so it's difficult to say what
may be wrong. 10057 tends to sound like we can't create a socket, and the
OS is sending back the 10057 error.

What can I do - are there any special permissions i can set?
btw, execution "As Administrator" does not help

Hard to say - does disabling TCP/IP help at all? (dbeng10 -x shmem -n
test -z -ot console.txt) Turning off the UAC?

Regards,

--
Jeff Albion, Sybase iAnywhere

iAnywhere Developer Community :
http://www.sybase.com/developer/libr...ere-techcorner
iAnywhere Documentation :
http://www.ianywhere.com/developer/product_manuals
SQL Anywhere Patches and EBFs :
http://downloads.sybase.com/swd/summ...&timeframe =0
Report a Bug/Open a Case : http://case-express.sybase.com/cx/

Reply With Quote
  #4  
Old   
Michael Thomas
 
Posts: n/a

Default Solved: SA10 Windows7 (final) shared memory connection fails - 09-09-2009 , 05:21 AM



Thank you!

I've appended " -x tcpip(IPv6=NO)" to the start command in
the system-DSN for my database. It works now.


Cheers
Michael

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.