Showing posts with label WCF Issues. Show all posts
Showing posts with label WCF Issues. Show all posts

Friday, April 29, 2016

HTTP could not register URL http Your process does not have access rights to this namespace

While self-hosting the wcf service in console application, you may face the following issue:

HTTP could not register URL http://+:54663/MyService/. Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details).

Simply restart the Visual Studio using the Administrator permissions and you are done.

Saturday, August 15, 2015

WCF .svc file getting downloaded when browsed though IIS

Recently i was trying to host the WCF service in IIS. The service got created fine and was able to run it in the localhost. However, when I hosted the service in IIS and tried browsing it, the service file i.e. the .svc file started to get download instead of getting opened up. 


Tried many things on internet but it didn't worked. Finally decided to check the windows features turned on or off. I found the following settings to be un-checked and decided to enable these features.




Check these features and then click 'OK'. This will enable these features and then re-start the IIS using iisreset command on the command prompt, to apply the changes. Check again and it should work fine now. Hope this helps others also.