Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.databases.ms-sqlserver    |    Notorious Rube Goldberg contraption    |    19,505 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 19,044 of 19,505    |
|    Erland Sommarskog to Bruno Campanini    |
|    Re: Unable to connect Client to SQL Serv    |
|    12 Mar 14 21:16:57    |
      From: esquel@sommarskog.se              Bruno Campanini (brunocam@libero.it) writes:       > New things, with:       >       > sqlcmd -S P900 -U sa -P brunocam -l 50       >       > I get       > 1> and after Enter       > 2> and so on       >       > I thing I get connected... and then?       > How can I pass the parameter -l 50 from inside Access?              Add "Connect Timeout=50" to the connection string.              It appears that your network configuration is having, well, problems.       I have experienced similar at home as well. I had some awful ping       times between my laptop and my desktop. The easy way out was to disable       IPv6, but I flatly refused, and spent some time fighting with my       router about it. It works now, I think.              The default connect timeout is 15 seconds, and that should be enough       in normal environments.              Great to hear that you were able to resolve the issue!                            --       Erland Sommarskog, Stockholm, esquel@sommarskog.se              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca