Last post Aug 05, 2013 05:08 PM by sukumarraju
Aug 04, 2013 05:15 AM|udbk2000|LINK
We have developed a WCF service and hosted in IIS in one machine, and we are consuming this WCF
service in a web application which is hosted in another machine, both WCF and web application
If I run the web application using localhost or domain name or IP address ex.
http://mysystemname/mywebapp or http://192.186.222.01/mywebapp I am
able to invoke the the WCF service without any problem. But when I run the web application using
FQDN(Fully Qualified Domain Name) i.e.
http://mysystemname.cp.sub.com/mywebapp Iam not able to
invoke the WCF service, Iam getting 'Access denied' error.
I did below things to resolve the issue but no luck.
1. Entered the IP address and FQDN(Fully Qualified Domain Name) in host file where web
2. Given full permissions to IIS_IUSRS where WCF service exists.
Could you please suggest me what else I need to do to resolve this issue.
Aug 05, 2013 03:19 AM|atulthummar|LINK
Refer the below link as a reference.
Aug 05, 2013 03:26 AM|mr.rahulmaurya|LINK
How can you host two application on two machines with save domain on web.
Second thing that you can not use wcf in ajax on cross domain.
Aug 05, 2013 05:08 PM|sukumarraju|LINK
Enable Tracing for the service, which requires adding configuration to Web.config as explained at http://forums.asp.net/t/1888153.aspx/1
Investigate the trace file using WCF Trace viewer,.
When the issue is related to CORS refer
Implementing CORS in WCF
Let us know further queries.