Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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
Posted 12-Oct-12 12:45pm
Comments
Sergey Alexandrovich Kryukov at 12-Oct-12 18:43pm
   
Not enough information for comprehensive resolution; I just explained main ideas where you can start from.
--SA

1 solution

Rate this: bad
good
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:
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
  Permalink  
v2

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

  Print Answers RSS
0 DamithSL 335
1 OriginalGriff 209
2 BillWoodruff 170
3 Zoltán Zörgő 165
4 Maciej Los 123
0 OriginalGriff 7,854
1 DamithSL 5,949
2 Sergey Alexandrovich Kryukov 5,449
3 Maciej Los 5,084
4 Kornfeld Eliyahu Peter 4,539


Advertise | Privacy | Mobile
Web04 | 2.8.141223.1 | Last Updated 12 Oct 2012
Copyright © CodeProject, 1999-2014
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