Click here to Skip to main content
13,259,194 members (50,122 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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?
Posted 12-Oct-12 12:45pm
Sergey Alexandrovich Kryukov 12-Oct-12 18:43pm
Not enough information for comprehensive resolution; I just explained main ideas where you can start from.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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:[^].

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:[^].

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.


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.171114.1 | Last Updated 12 Oct 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100