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
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”.
* 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