View Full Version : End User can not update program
NewsArchive
10-05-2005, 12:46 AM
Hi
I have an end user with a laptop that conencts to the internet via a 3G
conenction.
They get the attached image error...
Any help appreciated....
Thanks
Ben
NewsArchive
10-05-2005, 12:46 AM
Ben,
This is a WinSock Error 10049. WSAEADDRNOTAVAIL (10049) Cannot assign
requested address.
--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
1.954.252.3910
"point. click. ship" - that's SetupBuilder 5
NewsArchive
10-07-2005, 02:51 AM
Hi
Do you have any checks in for a not blocked socket trying to be
created?....This sometimes brings back an error if the host machine can
not assign an address to the port being created...or it takes a while,
and then actually succeeeds, but the original return code is afailure...
Do you do another check on this to see if it actually did create a
conenction to the update server before reporting an error???
In other words... do you handle the different operations for blocking
and non-blocking ports being created?
Kind Regards
Ben
/Berkeley description/: Normally results from an attempt to create a
socket with an address not on this machine.
/WinSock description/: Partly the same as Berkeley. The "address" it
refers to is the remote socket name (protocol, port and address). This
error occurs when the sin_port value is zero in a sockaddr_in structure
NewsArchive
10-07-2005, 03:47 AM
Ben,
In this case (Web Update error 5030 - WinSock error 100049) the
"connect the socket" function fails:
nRet = connect(theSocket, (LPSOCKADDR)&saServer, sizeof(SOCKADDR_IN));
My best guess is that the address is either not valid for the local machine,
or that the address or port is not valid for the remote machine.
The TCP/IP stream socket created without any problem (otherwise you would
have received a 5020 error).
Is it only this customer with Error 5030? You'll receive the same error
code (5030100049) if you have http:// in your host addreess.
--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
1.954.252.3910
"point. click. ship" - that's SetupBuilder 5
> Hi
>
> Do you have any checks in for a not blocked socket trying to be
> created?....This sometimes brings back an error if the host machine can
> not assign an address to the port being created...or it takes a while, and
> then actually succeeeds, but the original return code is afailure...
>
> Do you do another check on this to see if it actually did create a
> conenction to the update server before reporting an error???
>
> In other words... do you handle the different operations for blocking and
> non-blocking ports being created?
>
> Kind Regards
>
> Ben
>
> /Berkeley description/: Normally results from an attempt to create a
> socket with an address not on this machine.
>
> /WinSock description/: Partly the same as Berkeley. The "address" it
> refers to is the remote socket name (protocol, port and address). This
> error occurs when the sin_port value is zero in a sockaddr_in structure
>
linder
10-10-2005, 05:12 AM
Only Client so far using a 3G card...How do I specify a http:// if the
docs tell me not to...will it actually work ?
May it be possible that there is a dns error via the 3g card ?? this
works on other computers as is....using dsl or isdn connections
Regards
Ben
linder
10-10-2005, 05:12 AM
Ben,
If it works fine on other computers then your settings are correct. Seems
to be machine specific (perhaps a firewall or proxy server problem?).
Web Update seems to work "rock solid" and I think it's not a SB5 bug (yeah,
of course). If you are interested, please send me your script and I'll
develop a test program for you so we can see where the problem is.
Friedrich
--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
1.954.252.3910
"point. click. ship" - that's SetupBuilder 5
linder
10-10-2005, 05:12 AM
Thanks for the help.
I already contacted the isp and they say that the problem may be on
their side......
if all else fails,...I can do the same as i did last time and contact
the isp's software suppliers myself and resolve the problem. (also
incorrect settings on their side...)
Kind regards
ben
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.