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. Visual Basic
  4. WCF Windows Service - won't "listen" when not start with system user

WCF Windows Service - won't "listen" when not start with system user

Scheduled Pinned Locked Moved Visual Basic
helpcsharpwcfsysadminsecurity
3 Posts 2 Posters 0 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.
  • N Offline
    N Offline
    nlarson11
    wrote on last edited by
    #1

    Hello, I realize this isn't directly related to VB but I hope someone can help. I created a WCF windows service that's listening on port 52799. When the service is started as a system user - it listens and other PC's can log into the service without issue. When I try to change the user from system to a domain user (admin to the server where the service is running) and start the service using their crudentials, the service no longer appears to be listening and other PC's timeout attempting connect. I have added the security permission.demand/assert logic to the service and no change. Can someone help me figure out what a non-system user doesn't work as expected? Thank you for your time. Nathan

    'Never argue with an idiot; they'll drag you down to their level and beat you with experience.' ~ anonymous 'Life's real failure is when you do not realize how close you were to success when you gave up.' ~ anonymous

    L 2 Replies Last reply
    0
    • N nlarson11

      Hello, I realize this isn't directly related to VB but I hope someone can help. I created a WCF windows service that's listening on port 52799. When the service is started as a system user - it listens and other PC's can log into the service without issue. When I try to change the user from system to a domain user (admin to the server where the service is running) and start the service using their crudentials, the service no longer appears to be listening and other PC's timeout attempting connect. I have added the security permission.demand/assert logic to the service and no change. Can someone help me figure out what a non-system user doesn't work as expected? Thank you for your time. Nathan

      'Never argue with an idiot; they'll drag you down to their level and beat you with experience.' ~ anonymous 'Life's real failure is when you do not realize how close you were to success when you gave up.' ~ anonymous

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      nlarson11 wrote:

      I realize this isn't directly related to VB

      So why post it in the VB forum rather than the WCF forum?

      It's time for a new signature.

      1 Reply Last reply
      0
      • N nlarson11

        Hello, I realize this isn't directly related to VB but I hope someone can help. I created a WCF windows service that's listening on port 52799. When the service is started as a system user - it listens and other PC's can log into the service without issue. When I try to change the user from system to a domain user (admin to the server where the service is running) and start the service using their crudentials, the service no longer appears to be listening and other PC's timeout attempting connect. I have added the security permission.demand/assert logic to the service and no change. Can someone help me figure out what a non-system user doesn't work as expected? Thank you for your time. Nathan

        'Never argue with an idiot; they'll drag you down to their level and beat you with experience.' ~ anonymous 'Life's real failure is when you do not realize how close you were to success when you gave up.' ~ anonymous

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        nlarson11 wrote:

        nlarson11 has posted a reply to your message at "Visual Basic": Hey Rich, I feel like such and ass inconveniencing you where you had to waste your time reading my misplaced question. May you be on the receiving end of your attitude when you need help. Thanks again.

        Yeah sorry, I see that you are a reasonably long-standing member of CP so you obviously don't need advice from the likes of me.

        It's time for a new signature.

        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