.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Home >> Forum >> Windows Application >> Post New QuestionBookmark and Share Subscribe to Forum

while accessing method from proxy giving an unauthorized access

Posted By: Raju     Posted Date: October 28, 2014    Points:5   Category :Windows Application

Hi All

I received a WSDL file from my colleague. Using that WSDL I created a proxy class in VS2.0. I generated a URL of that service and try to pass the values then I am getting below error

system.net.webexception the request failed with http status 401 unauthorized.

I did below changes in app.config file

1. Impersionation is True
2. enable port is true.

But still I am getting the error. Can some help me out to fix this issue.

I can post if you need more details.

Note: It is not hosted in IIS becuase it is windows application which can create MSI file


No response found. Be the first to respond this post
Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend