Symptoms
Assume that you have a Windows Embedded Compact 2013-based device that is connected to a network. You have an application that sends packets over a network adapter by using http Windows Internet (WinINet) calls. When you disable and re-enable the network adapter, on each successive http request, a new socket connection is created and a limit of 6 is reached. After that, the application no longer sends packets and instead reports the ERROR_INTERNET_TIMEOUT (12002) error.
More Information
Software update information
Download information
Windows Embedded Compact 2013 Monthly Update (May 2014) is now available from Microsoft. To download this Windows Embedded Compact 2013 monthly update, go to Microsoft OEM Online or MyOEM.
Prerequisites
This update is supported only if all previously issued updates for this product have also been installed.
Restart requirement
After you apply this update, you must perform a clean build of the whole platform. To do this, use one of the following methods:
-
On the Build menu, click Clean Solution, and then click Build Solution.
-
On the Build menu, click Rebuild Solution.
You do not have to restart the computer after you apply this software update.
Update replacement information
This update does not replace any other updates.
The English version of this software update package has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Files that are included in this hotfix package
File name |
File size |
Date |
Time |
Path |
---|---|---|---|---|
Wininet.lib |
43,272 |
14-May-2014 |
12:01 |
PublicHtmlSdkLibArmv7Retail |
Wininet.exp |
25,574 |
14-May-2014 |
12:01 |
PublicHtmlSdkLibArmv7Retail |
Wininet.lib |
43,458 |
14-May-2014 |
12:00 |
PublicHtmlSdkLibArmv7Debug |
Wininet.exp |
25,686 |
14-May-2014 |
12:00 |
PublicHtmlSdkLibArmv7Debug |
Wininet.lib |
43,458 |
14-May-2014 |
12:02 |
PublicHtmlSdkLibArmv7Checked |
Wininet.exp |
25,692 |
14-May-2014 |
12:02 |
PublicHtmlSdkLibArmv7Checked |
Wininet.lib |
44,154 |
14-May-2014 |
12:00 |
PublicHtmlSdkLibX86Retail |
Wininet.exp |
25,923 |
14-May-2014 |
12:00 |
PublicHtmlSdkLibX86Retail |
Wininet.lib |
44,344 |
14-May-2014 |
11:59 |
PublicHtmlSdkLibX86Debug |
Wininet.exp |
26,036 |
14-May-2014 |
11:59 |
PublicHtmlSdkLibX86Debug |
Wininet.lib |
44,344 |
14-May-2014 |
12:01 |
PublicHtmlSdkLibX86Checked |
Wininet.exp |
26,042 |
14-May-2014 |
12:01 |
PublicHtmlSdkLibX86Checked |
Wininet.dll |
532,480 |
14-May-2014 |
12:01 |
PublicHtmlOakTargetArmv7Retail |
Wininet.map |
956,223 |
14-May-2014 |
12:01 |
PublicHtmlOakTargetArmv7Retail |
Wininet.rel |
95,545 |
14-May-2014 |
12:01 |
PublicHtmlOakTargetArmv7Retail |
Wininet.dll |
1,327,104 |
14-May-2014 |
12:00 |
PublicHtmlOakTargetArmv7Debug |
Wininet.map |
4,193,756 |
14-May-2014 |
12:00 |
PublicHtmlOakTargetArmv7Debug |
Wininet.rel |
365,970 |
14-May-2014 |
12:00 |
PublicHtmlOakTargetArmv7Debug |
Wininet.dll |
1,011,712 |
14-May-2014 |
12:02 |
PublicHtmlOakTargetArmv7Checked |
Wininet.map |
3,313,827 |
14-May-2014 |
12:02 |
PublicHtmlOakTargetArmv7Checked |
Wininet.rel |
379,571 |
14-May-2014 |
12:02 |
PublicHtmlOakTargetArmv7Checked |
Wininet.dll |
581,632 |
14-May-2014 |
12:00 |
PublicHtmlOakTargetX86Retail |
Wininet.map |
512,901 |
14-May-2014 |
12:00 |
PublicHtmlOakTargetX86Retail |
Wininet.rel |
179,877 |
14-May-2014 |
12:00 |
PublicHtmlOakTargetX86Retail |
Wininet.dll |
1,417,216 |
14-May-2014 |
11:59 |
PublicHtmlOakTargetX86Debug |
Wininet.map |
1,501,241 |
14-May-2014 |
11:59 |
PublicHtmlOakTargetX86Debug |
Wininet.rel |
672,529 |
14-May-2014 |
11:59 |
PublicHtmlOakTargetX86Debug |
Wininet.dll |
1,064,960 |
14-May-2014 |
12:01 |
PublicHtmlOakTargetX86Checked |
Wininet.map |
1,476,084 |
14-May-2014 |
12:01 |
PublicHtmlOakTargetX86Checked |
Wininet.rel |
591,300 |
14-May-2014 |
12:01 |
PublicHtmlOakTargetX86Checked |
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the «Applies to» section.
References
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates
Need more help?
Want more options?
Explore subscription benefits, browse training courses, learn how to secure your device, and more.
Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.
THE INFORMATION IN THIS ARTICLE APPLIES TO:
- GlobalSCAPE product activation
SYMPTOM
Received Error #12002. The operation timed out
EXPLANATION/RESOLUTION
«Error 12002» is a Microsoft Win32 Internet (WinInet) API error code. WinInet provides stand-alone applications with easy access to standard Internet protocols such as Gopher, FTP, and HTTP. The error indicates that the request timed out. For example, if you receive this error when attempting to activate a GlobalSCAPE product, the error can indicate that communication with the activation server has not been established. This can be caused by a firewall or proxy configuration problem, or a temporary network failure.
If you receive this error, try the following:
- Attempt your connection again.
- Refer to the CuteFTP documentation for the procedure to adjust your connection configuration, if necessary.
-
Follow the onscreen instructions to perform a manual registration. For fastest resolution, submit the necessary information online at http://www.globalscape.com/register/. If online activation is unsuccessful, submit your activation request directly to our customer service team using the online submission form.
|
Согласно п. 4.5 Правил Сметного портала запрещено размещение материалов попадающих под действие Статьи 1259 и Статьи 1270 ГК РФ, на которые распространяются авторские права правообладателя, без согласования с ним. В случае обнаружения материалов нарушающих права правообладателя просим сообщить через форму обратной связи. | ||
Семушин А.А. | ||
|
Given the following code that should connect to a sftp
server and print the name of the first file in that server. It looks like it returns the error 12002 which means that the request timed out. I’ve tried to run it with 2 different servers. Is there something fundamentally wrong in my code?
#include "stdafx.h"
#include <Windows.h>
#include <Wininet.h>
#include <iostream>
using namespace std;
#pragma comment(lib, "wininet.lib")
int main()
{
HINTERNET hInternet = InternetOpen(NULL, INTERNET_OPEN_TYPE_PRECONFIG, NULL, NULL, 0);
if (hInternet == NULL)
{
_tprintf(_T("An error has occured while trying to open the internet connectionn"));
return 1;
}
HINTERNET hFTP = InternetConnect(
hInternet,
L"test.rebex.net", // this is a sftp server publicly available
22,
L"demo",
L"password",
INTERNET_SERVICE_FTP,
INTERNET_FLAG_PASSIVE,
0
);
if (hFTP == NULL)
{
cout << GetLastError() << endl;
_tprintf(_T("Couldn't connect to the ftp servern"));
return 1;
}
_tprintf(_T("%dn"), hFTP);
WIN32_FIND_DATA fd;
FtpFindFirstFile(hFTP, L".", &fd, INTERNET_FLAG_RELOAD, NULL);
_tprintf(_T("%s"), fd.cFileName);
InternetCloseHandle(hFTP);
InternetCloseHandle(hInternet);
return 0;
}