Jan 24, 2011

Wcf application working fine in Xp but not working in windows7


Wcf application working fine in Xp but not working in windows7
In xp you not need to register your url [end point address] but in windows7 you need to register the url for someone to access the endpoint and its service.
To register the url you need to follow the steps mentioned below.
Step1: Run the command prompt as a administrator
Step2: Add ur url using the netsh tool
Example
In command prompt type this
Run command prompt as an administrator--> type this,
netsh http add urlacl url=http://Sandeep:8000/WcfService user=username

here the http://Sandeep:8000/WcfService is my end point address and username should be given the username of the system or the computer name if the username of the system does not work.

Hope that it helped U
CHEERS!!!!!

No comments: