on 2013 Aug 16 7:24 PM
After doing some digging it appears that I should be able to call a network connection (Dialup) to run a sync. I am trying to get this done for the last few locations that still have to use dialup. These should be upgraded soon but I need to get it running before that happens.
I can run dbmlsync with the following arguments and I get an error and no connection is called.
dbmlsync -e "adr='network_name=dialup;host=MLServer'" -c dsn=DSNName
I have a dialup connection named "Dialup", MobiLink Server named MLServer and a ODBC entry named "DSNName".
I get an error that says: Failed dialing to dialup. The system-specific error is -100 (hex ffffffpc).
Then it fails to connect to the MobiLink Server because the network connection was not successful. Is there something that I am missing?
Mike
I can only seem to reproduce this issue if the dial actually fails. Are you connected to any other networks when this happens?
I also forgot to ask previously: which version of SQL Anywhere / dbmlsync are you running?
Here's how I tried to reproduce the issue: I setup a Dial-Up Networking connection named 'dialup'. I go down to my network indicator in my network tray, and ensure the status is 'Not connected.' I then have the dbmlsync command line:
dbmlsync -c "eng=remote;dbn=rem1;uid=dba;pwd=sql" -e "adr='network_name=dialup;host=MLServer'"
I then see the usual Dial-Up Networking screen when it fails to initially connect:
and since I'm just dialing '0' against my modem for testing purposes, it fails (as expected) and I get:
I. 2013-09-11 13:55:25. Connecting to MobiLink server at 'network_name=dialup;host=MLServer' using 'TCPIP' E. 2013-09-11 14:00:38. Failed dialing to dialup. The system-specific error code is -100 (hex ffffff9c).
(I'm also not sure you how you would get a 'hex ffffffpc' though, since 'p' isn't a hexadecimal number. I'll assume the -100 is the correct code. 😉
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I do apologize, I was getting a 9 and not a p on the error. The same error as you.
I am running SA12 with the latest EBF to be on the safe side. So it is 12.0.1.3942 and I am doing this on a laptop with the wired connection unplugged and the wireless adapter turned off.
I cannot get the dialup window to even pop up at all. It immediately pops up the synchronization failed error. I am even an admin on this machine to make sure that was not something that would get into the way.
I cannot get the dialup window to even pop up at all. It immediately pops up the synchronization failed error.
That's very strange - mine comes up with no issue.
Speaking of permissions, what are the permissions set on the 'dialup' command? Is it available for all users, or only Administrators?
I made mine available for 'everyone', and I'm running dbmlsync as a user in the 'Administrators' group, but not with "Run as Administrator" privileges.
User | Count |
---|---|
68 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.