WCF

Wednesday, April 22, 2015

An unhandled exception of type 'System.ServiceModel.AddressAccessDeniedException' occurred in System.ServiceModel.dll


Hello Visitor,

Recently i had upgraded OS of my system to WIN8 Since, then i started getting the below error . This post  is to come over the below and make the WCF host run smoothly.

An unhandled exception of type 'System.ServiceModel.AddressAccessDeniedException' occurred in System.ServiceModel.dll

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

This exception is thrown because the address url which has been used as base address in wcf can be resolved by net shell command as below.
netsh http urlacl url=http:/+:4500/user=[Domain\systemName]


Below is MSDN path for  more details:
https://msdn.microsoft.com/en-us/library/windows/desktop/cc307223(v=vs.85).aspx


Regards,
Swathi Muthiyam


No comments:

Post a Comment