Error 12007 From Winhttpsendrequest
Contents |
(עברית)المملكة العربية السعودية (العربية)ไทย (ไทย)대한민국 (한국어)中华人民共和国 (中文)台灣 (中文)日本 (日本語) Home2012Previous VersionsLibraryForumsGallery Ask a question Quick access Forums home Browse forums users FAQ Search related threads Remove From My Forums Answered by: SCCM Agent Error
Winhttp Error 12029
at Win Http send Request : 12007 System Center Configuration
Winhttpsendrequest Failed
Manager > Configuration Manager 2007 General Question 0 Sign in to vote I have SCCM SP2 R2 wininet error codes on OS Windows 2008 SP2 after install finished I tried to install SCCM agent. when I check the sccm log on client I got the below https://kb.vmware.com/kb/2005690 Error thare are file in under System32 in client site for SCCM client and logs but I see it's not complete for the below Error it seem IIS problem but I don't know what to do ,, I need someone to support me. Failed send http request ( Error at Win Http send https://social.technet.microsoft.com/Forums/systemcenter/en-US/07cc5277-22fe-446f-8192-daa45f8761e5/sccm-agent-error-at-win-http-send-request-12007?forum=configmgrgeneral Request : 12007) DownloadFileBy WinHttp encountered unrecoverable error Regds Amr Tuesday, May 04, 2010 4:10 PM Reply | Quote Answers 2 Sign in to vote Wow , Thank you all ,, It solved the problem was in MP .. the server was join the Root Domain and someone disjoin\join the child domain, from ex: SCCM.R2.local to SCCM.SP2.R2.local All roles MP and all look for SCCM.R2.local and it’s not right the right SCCM.SP2.R2.local Thanks all… Proposed as answer by Bechir GharbiModerator Saturday, May 15, 2010 6:16 PM Marked as answer by Robinson Zhang Monday, May 17, 2010 2:22 AM Wednesday, May 05, 2010 8:10 AM Reply | Quote All replies 0 Sign in to vote As far as I know the 12007 error means that the server name or address could not be resolved. On the client machine, from IE can you try to connect to http:// Forum Visual C++ & C++ Programming Network Programming WinHttpSendRequest returns 12007 error and sometimes true. If this is your first visit, be http://forums.codeguru.com/showthread.php?455756-WinHttpSendRequest-returns-12007-error-and-sometimes-true sure to check out the FAQ by clicking the link above. You may have to register or Login before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. Results 1 to 3 of 3 Thread: WinHttpSendRequest returns 12007 error and sometimes true. Tweet Thread http error Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode June 23rd, 2008,01:41 AM #1 preeti.sharma View Profile View Forum Posts Junior Member Join Date Jan 2008 Posts 11 WinHttpSendRequest returns 12007 error and sometimes true. i am using WinHttp functions to connect to http server.but WinHttpSendRequest sometimes reurn true winhttpsendrequest code 12007 and somtimes it return false and the error type is ERROR_WINHTTP_NAME_NOT_RESOLVED (The server name cannot be resolved).The url opens successfully on browser.The code is here - CString newhostname = L"wioclite.webdunia.com"; CString szUrlPath = "testV2.2/suggestionservlet?data=puj&rownum=0&num=6&lang=HI"; hSession = WinHttpOpen( L"WinHTTP Example/1.0", WINHTTP_ACCESS_TYPE_DEFAULT_PROXY, WINHTTP_NO_PROXY_NAME, WINHTTP_NO_PROXY_BYPASS, 0); if (hSession) hConnect = WinHttpConnect( hSession,T2W(newhostname),INTERNET_DEFAULT_HTTP_PORT, 0); // Create an HTTP request handle. if (hConnect) hRequest = WinHttpOpenRequest( hConnect, L"GET", T2W(szUrlPath), NULL, WINHTTP_NO_REFERER, WINHTTP_DEFAULT_ACCEPT_TYPES, WINHTTP_FLAG_REFRESH); // Send a request. if (hRequest) bResults = WinHttpSendRequest( hRequest, WINHTTP_NO_ADDITIONAL_HEADERS, 0, WINHTTP_NO_REQUEST_DATA, 0,0, 0); if(!bResults) { DWORD error= 0; error = GetLastError(); //here the value of error comes 12007 } i dont understand whts the problem..plz tell me. Reply With Quote June 24th, 2008,09:31 AM #2 henky@nok.co.id View Profile View Forum Posts Visit Homepage Member Join Date May 2006 Location Indonesia & Japan Posts 399 Re: WinHttpSendRequest returns 12007 error and sometimes true. Code: hConnect = WinHttpConnect( hSession,T2W(newhostname),INTERNET_DEFAULT_HTTP_PORT, 0); I think you don't need to convert "newhostname" string since you defined the host name as: CString newhostname = L"wioclite.webdunia.com"; Also, if the error is ERROR_WINHTTP_NAME_NOT_RESOLVE, it should be occured not in WinHttpOpenRequest() but in WinHttpConnec()