top of page
diacathetesa

Troubleshooting Microsoft XMLHTTP msxml3 dll error 800c0005 on Your PC



Set objxmlhttp = server. Createobject ("Microsoft. XMLHTTP") 'is generally used in versions earlier than msxml2.6.'Set objxmlhttp = server. Createobject ("msxml2.xmlhttp") 'is supported by msxml3.dll +




microsoft xmlhttp msxml3 dll error 800c0005




(7) the other party's resources are invalid. For example, if the other party's information is not found during the collection, the program may be terminated incorrectly. This error occurs when the open method of the XMLHTTP component is called and then the send method is used. When the URL parameters of the open method cannot be accessed, the error 8000005 is returned. Once such an error occurs, the application will be terminated and the operation cannot be continued. Most of the programs are written as follows:Function functionname (pararm ...)Dim HTTPSet HTTP = server. Createobject ("msxml2.xmlhttp. 4.0 ")With HTTP. Open "get", httpurl, false. SendEndIf HTTP. readystate 4 thenSet HTTP = nothing......Exit FunctionEnd ifEnd FunctionMost programs use the readystate attribute of XMLHTTP to determine the returned status from the server. In fact, this may not be suitable. In many cases, errors in the program flow cannot be detected by using the readystate attribute. When an error occurs, the program will still be terminated. In fact, by modifying the code above, you can skip the errors encountered during program execution and continue running the program. The modification code is as follows:Function functionname (pararm ...)Dim HTTPSet HTTP = server. Createobject ("msxml2.xmlhttp. 4.0 ")With HTTP. Open "get", httpurl, false. SendEndOn Error resume nextIf HTTP. Status 200 thenSet HTTP = nothing......Exit FunctionEnd ifEnd FunctionWhen the send method produces an error, the value of readystate may be 4, but the return value of status must not be 200. Haha, I have tracked readystate and status many times and it is worth the previous results. There may be errors. I have not found them yet.Hope the above program solution can help you !! If you have a better solution, please let me know.I use msxml2.xmlhttp. 4.0 as an example to describe the program and it is also suitable for XMLHTTP components of other versions. To check which versions of XMLHTTP components have been installed in your system, go to hkey_classes_root in the registry. 2ff7e9595c


0 views0 comments

Recent Posts

See All

Baixe o 888starz apk

888starz Download APK: Como apostar e jogar jogos de cassino com moeda virtual Se você está procurando uma maneira nova e excitante de...

Comments


bottom of page