Web浏览器控件内部服务器错误 [英] web browser control Internal server error

查看:229
本文介绍了Web浏览器控件内部服务器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在IE浏览器中打开一个页面,但工作正常,但是当我使用Web浏览器控件打开同一页面时,出现内部服务器错误,我知道如何解决此问题?
谢谢

I am opening a page in IE browser and it works fine but when I open the same page using Web Browser control I get internal server error, any idea how can I solve this problem?
Thanks

推荐答案

这不是IE浏览器问题,它是内部服务器错误.显然与您的应用程序无关吗?您已发送了一些HTTP请求,并且服务器部分上的代码已选择使用HTTP响应进行回复,并且此状态码大概等于500:
http://www.checkupdown.com/status/E500.html [ http://en.wikipedia.org/wiki/HTTP_referer [
这只是猜测-可能还有其他事情.您没有提供任何信息或链接来进一步分析它.

—SA
It''s not IE browser problem, it''s internal server error. Isn''t that obvious that it has nothing to do with your application? You''ve sent some HTTP request, and the code at server part has chosen to reply with HTTP response with this status code presumably equal to 500:
http://www.checkupdown.com/status/E500.html[^].

If course, your HTTP request may be invalid, but if this is the same page without any parameters, there is not much you can do. One possibility is that this page can only be shown legitimately, because the server checks up HTTP referer:
http://en.wikipedia.org/wiki/HTTP_referer[^].

If this is the reason, you can try to send the same referer you would have with the Web browser. This is simply some page with the anchor: the user clicks on it, the request for new URI goes to the server part, and its code checks up the referer is it''s the same as the URI of your previous page or not, to prevent access "from outside". You can simply repeat all steps you had with available Web browser to reach that page.

This is just speculation — it can be something else. You did not provide any information or link to further analyze it.

—SA


这篇关于Web浏览器控件内部服务器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆