Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WCF and WF
  4. WCF accessDeniedException

WCF accessDeniedException

Scheduled Pinned Locked Moved WCF and WF
csharpwcfcomhelpquestion
3 Posts 3 Posters 8 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    TwilightEva
    wrote on last edited by
    #1

    Good afternoon to all. Here's my problem: I've created a WCF service and now I'm trying to install it with Installer project on target machine as administrator. host = new ServiceHost(serviceType, serviceUri); host.Open(); And here's exception: HTTP could not register URL http://+:8282/. Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details) When I start serviceCore as console application - it works fine. What I'd tried: - netsh; - manifest with highestAvailable; - turn off UAC; ServiceInstaller is NetworkService, target machine OS is R2, domain user has adm rights.

    S P 2 Replies Last reply
    0
    • T TwilightEva

      Good afternoon to all. Here's my problem: I've created a WCF service and now I'm trying to install it with Installer project on target machine as administrator. host = new ServiceHost(serviceType, serviceUri); host.Open(); And here's exception: HTTP could not register URL http://+:8282/. Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details) When I start serviceCore as console application - it works fine. What I'd tried: - netsh; - manifest with highestAvailable; - turn off UAC; ServiceInstaller is NetworkService, target machine OS is R2, domain user has adm rights.

      S Offline
      S Offline
      Sperneder Patrick
      wrote on last edited by
      #2

      weird indeed. i guess you have problems with your installer, does it run under privileged rights? which framework are u using etc... ?

      1 Reply Last reply
      0
      • T TwilightEva

        Good afternoon to all. Here's my problem: I've created a WCF service and now I'm trying to install it with Installer project on target machine as administrator. host = new ServiceHost(serviceType, serviceUri); host.Open(); And here's exception: HTTP could not register URL http://+:8282/. Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details) When I start serviceCore as console application - it works fine. What I'd tried: - netsh; - manifest with highestAvailable; - turn off UAC; ServiceInstaller is NetworkService, target machine OS is R2, domain user has adm rights.

        P Offline
        P Offline
        Paul Conrad
        wrote on last edited by
        #3

        Please do not repost... http://www.codeproject.com/Messages/4268498/WCF-service-as-Windows-Service.aspx[^]

        ""Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups