Last post Dec 24, 2013 12:45 AM by mshoaiblibra
Dec 22, 2013 11:24 PM|mshoaiblibra|LINK
I have create one WCF and publish on my local machine in IIS 7.
For testing purpose I’m calling in simple web application. But when I add reference from localhost then it’s working fine.
But when add reference from URL
http://shoaib.pk/CheckAuthentication.svc then it’s asking username and password.
When I set <transport clientCredentialType="none" /> in web.config then it's not asking username and password but data is not getting. :(
Kindly, guide me which username and password I have to give.
Dec 23, 2013 08:41 AM|k.panchal|LINK
You have to do something with the web config, please refer below link which is quite simmiler to your post.
Dec 24, 2013 12:45 AM|mshoaiblibra|LINK
Thanks k.panchal for your kind reply but I aleardy search out from this link.
I got answer my self. Actually,It was working fine. Problem is, our database working in intranet network in 5 counties and this service public on internet that's why it was not getting data. :(
Because of this getting data successfully when I publish on IIS local machine. :)