Results 1 to 3 of 3

Thread: WCF System.ServiceModel.AddressAccessDeniedException

  1. #1

    Thread Starter
    New Member dipankarroy.mail's Avatar
    Join Date
    May 2010
    Location
    mumbai
    Posts
    2

    WCF System.ServiceModel.AddressAccessDeniedException

    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 http://msdn.microsoft.com/library/de...nd_routing.asp 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=...

  2. #2

    Thread Starter
    New Member dipankarroy.mail's Avatar
    Join Date
    May 2010
    Location
    mumbai
    Posts
    2

    Lightbulb Re: WCF System.ServiceModel.AddressAccessDeniedException

    finally i got a solution it was a security issue for vista as well as 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”.

    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: http://urlreservation.codeplex.com/
    Attached Images Attached Images   
    Last edited by si_the_geek; May 5th, 2010 at 03:04 PM. Reason: removed attachment (executable files) for the safety of our members

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: WCF System.ServiceModel.AddressAccessDeniedException

    Not sure how you're doing the original URL assignment, but when you use netsh to reserve the URL on a machine, you can also specify /user so that permissions are applied properly (which is what that ACL app is doing anyways).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width