您好,提前致谢。在发帖之前,我在网上和这里搜索了很多。
我有一个网站,让用户加入他们的 Facebook 个人资料,因此在他们的许可(FB 应用程序)的情况下,网络将下载他们的主要照片。
我将此脚本服务器端与经典 ASP(我必须使用 ASP)一起使用来下载主照片,并在随机情况下通过错误来下载:msxml3.dll The parameter is incorrect.
''DownloadURL is the url pf the photo
''example "http://profile.ak.fbcdn.net/xxxxxxxxxxxxxx.....xxxxxx.jpg"
Dim objXML
Set objXML = Server.CreateObject("MSXML2.ServerXMLHTTP")
objXML.Open "GET", DownloadURL , true ' <-- this line get the error sometimes
objXML.Send
'.... code to handle the request
' and save photo using ADODB.Stream
但是,如果我在我的工作站上尝试使用相同的照片 url来重现错误,该死的工作正常,所以我无法检查问题是什么。
我使用 Windows 2008 服务器 SE SP2 和 IIS7
我的问题是:
- MSXML2.ServerXMLHTTP 过时了吗?
- 我还需要知道什么?
- 这与客户端浏览器(例如 IE)有关吗?
- 我可以从这里的大师那里得到任何建议或提示吗?
提前感谢您的帮助