1
Answer

HttpContext.Current.Request throws exception

Rakesh

Rakesh

8y
370
1

Hi,

 

 
I am upgrading my application from vs2013 to vs2015. It builds successfully and running on the server without any issues. But when I try to run it on my local.. it is giving me the below exception,,
 
HttpContext.Current.Request thorws System.Web.HttpException 
 
 
Please let me know if you came across this issue. Thanks 
Answers (1)
0
Roei Bar

Roei Bar

NA 7.8k 0 15y

a few Questions?
is the client application code open for you to modify, if so i would recommend that on the Init of the WS Object you would put a try catch section and if you go to catch, write the Error Message to log.
about things you need to check, i would try first not to use DNS name but the computer IP, second thing is Firewall clients blocking access to the URL, maybe a proxy on the client...
if you provide some more information i might be able to help you some more