WCF System.ServiceModel.AddressAccessDeniedException

dipankarroy.mail

New member
Joined
Sep 23, 2009
Messages
4
Programming Experience
3-5
I have created a WCF services library using visual studio 2008 @ windows XP OS it's working fine,

even i created a same type of service @ windows 7 OS that's also working fine.

but the issue is when i copy the whole project from XP to Win7,during compile compiled successfully but when i start that service then i got an error message like..

System.ServiceModel.AddressAccessDeniedException: HTTP could not register URL http://+:8080/<...>. Your process does not have access rights to this namespace (see Content not found for details). ---> System.Net.HttpListenerException: Access is denied

please help me how to solve the problem

even i tried with
netsh http add urlacl url=... user=...
 
URL Reservation Modifer

finally i got a solution it was a security issue for vista as well ass win7

attachment.php



attachment.php


need to allow your url to "NT AUTHORITY\INTERACTIVE" this user

for this need to download "UrlReservationModifier.zip"
Will not prompt for privilege elevation in Windows Vista. To add or remove reservations while UAC is running, right-click on the EXE and select “Run as administrator”.

Requirements

* Windows XP SP2, Windows Server 2003, Windows Vista, or Windows Server 2008
* .NET Framework 2.0
* Should work on both x86 and x64.
* Administrator permisions to add or remove reservations.

referrance: URL Reservation Modifer
 

Attachments

  • WCF.png
    WCF.png
    107.4 KB · Views: 29
  • wcf1.png
    wcf1.png
    132.3 KB · Views: 31
Back
Top