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. C#
  4. Unique Problem, Connecting to web service using credentials fail for 1 user only, works for all.

Unique Problem, Connecting to web service using credentials fail for 1 user only, works for all.

Scheduled Pinned Locked Moved C#
helpsysadminsecurity
7 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.
  • R Offline
    R Offline
    Rizwan Bashir
    wrote on last edited by
    #1

    Hi I have a desktop application with a back-end as web service. Web service is hosted on server with Windows Authentication option. All users do settings in provided setting form using desktop application and hit test connection and it succeeds for all except one user. When this unique user click test button he gets 401: access denied message. if he copy that web service URL in web browser and enters same credentials as in setting forms it works. So only the application fails to connect with web service. Any help would be highly appreciated to resolve this issue. Best Regards Rizwan Bashir

    L 1 Reply Last reply
    0
    • R Rizwan Bashir

      Hi I have a desktop application with a back-end as web service. Web service is hosted on server with Windows Authentication option. All users do settings in provided setting form using desktop application and hit test connection and it succeeds for all except one user. When this unique user click test button he gets 401: access denied message. if he copy that web service URL in web browser and enters same credentials as in setting forms it works. So only the application fails to connect with web service. Any help would be highly appreciated to resolve this issue. Best Regards Rizwan Bashir

      L Offline
      L Offline
      leppie
      wrote on last edited by
      #2

      Check the text encoding. BTW why not hook up the debugger and see what happens?

      xacc.ide - now with TabsToSpaces support
      IronScheme - 1.0 alpha 4a out now (29 May 2008)

      R 1 Reply Last reply
      0
      • L leppie

        Check the text encoding. BTW why not hook up the debugger and see what happens?

        xacc.ide - now with TabsToSpaces support
        IronScheme - 1.0 alpha 4a out now (29 May 2008)

        R Offline
        R Offline
        Rizwan Bashir
        wrote on last edited by
        #3

        Hi Thanks for reply. its our client and we cannot force/request him to install .Net on his machine for us. So what ever we can do we have to use our development machine and then deploy on his machine. if Text Encoding would have any problem then it must be with all users. Best Regards Rizwan Bashir

        L 1 Reply Last reply
        0
        • R Rizwan Bashir

          Hi Thanks for reply. its our client and we cannot force/request him to install .Net on his machine for us. So what ever we can do we have to use our development machine and then deploy on his machine. if Text Encoding would have any problem then it must be with all users. Best Regards Rizwan Bashir

          L Offline
          L Offline
          leppie
          wrote on last edited by
          #4

          Rizwan Bashir wrote:

          if Text Encoding would have any problem then it must be with all users.

          That's a bad assumption! Your use could fail because it has a 'ê' in its name and the server translates it incorrectly.

          xacc.ide - now with TabsToSpaces support
          IronScheme - 1.0 alpha 4a out now (29 May 2008)

          R 2 Replies Last reply
          0
          • L leppie

            Rizwan Bashir wrote:

            if Text Encoding would have any problem then it must be with all users.

            That's a bad assumption! Your use could fail because it has a 'ê' in its name and the server translates it incorrectly.

            xacc.ide - now with TabsToSpaces support
            IronScheme - 1.0 alpha 4a out now (29 May 2008)

            R Offline
            R Offline
            Rizwan Bashir
            wrote on last edited by
            #5

            Hi Thanks for reply and sorry I never thought of special character in username and password, I have mailed client about this and as soon as he will reply I shall definately update you. Thanks again for a wonderful clue. Best Regards Rizwan Bashir

            1 Reply Last reply
            0
            • L leppie

              Rizwan Bashir wrote:

              if Text Encoding would have any problem then it must be with all users.

              That's a bad assumption! Your use could fail because it has a 'ê' in its name and the server translates it incorrectly.

              xacc.ide - now with TabsToSpaces support
              IronScheme - 1.0 alpha 4a out now (29 May 2008)

              R Offline
              R Offline
              Rizwan Bashir
              wrote on last edited by
              #6

              hi it is not the problem, user has confirmed that his username is alphaNumeric like usr7980 and password is totally numeric. So encoding is no more applicable. Any other idea's Best Regards Rizwan Bashir

              L 1 Reply Last reply
              0
              • R Rizwan Bashir

                hi it is not the problem, user has confirmed that his username is alphaNumeric like usr7980 and password is totally numeric. So encoding is no more applicable. Any other idea's Best Regards Rizwan Bashir

                L Offline
                L Offline
                leppie
                wrote on last edited by
                #7

                Rizwan Bashir wrote:

                Any other idea's

                Not off the top of my head, sorry :(

                xacc.ide - now with TabsToSpaces support
                IronScheme - 1.0 alpha 4a out now (29 May 2008)

                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