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. Web Development
  3. ASP.NET
  4. How to run an application with windowAuthentication connectionString from IIS?

How to run an application with windowAuthentication connectionString from IIS?

Scheduled Pinned Locked Moved ASP.NET
securitysysadminwindows-admintutorialquestion
6 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.
  • K Offline
    K Offline
    Kuricheti
    wrote on last edited by
    #1

    Hi, I am trying to create a dynamic connectionString with windows authentication. I prepared like this "Integrated Security=SSPI;Initial Catalog=northwind;Data Source=server-Name" It is running good from my application. I configured this application in IIS and ran like this 'http:/localhost/ApplicationName' but it is failed to login. How to run an application with windowAuthentication connectionString from IIS? Thanks Hari

    M 1 Reply Last reply
    0
    • K Kuricheti

      Hi, I am trying to create a dynamic connectionString with windows authentication. I prepared like this "Integrated Security=SSPI;Initial Catalog=northwind;Data Source=server-Name" It is running good from my application. I configured this application in IIS and ran like this 'http:/localhost/ApplicationName' but it is failed to login. How to run an application with windowAuthentication connectionString from IIS? Thanks Hari

      M Offline
      M Offline
      Michael Sync
      wrote on last edited by
      #2

      Go to the properties dialog of your web application in IIS. Check whether integrated windows-authentication is enabled or not. and check whether anonymous is disabled or not...

      Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you. :)

      K 1 Reply Last reply
      0
      • M Michael Sync

        Go to the properties dialog of your web application in IIS. Check whether integrated windows-authentication is enabled or not. and check whether anonymous is disabled or not...

        Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you. :)

        K Offline
        K Offline
        Kuricheti
        wrote on last edited by
        #3

        Hi Michael, Thanks for your reply, and I did the same thing which you suggested but it failed to do the trick. Is there any other solutions. Please forward me. Thanks Hari -- modified at 2:06 Monday 3rd September, 2007

        M 1 Reply Last reply
        0
        • K Kuricheti

          Hi Michael, Thanks for your reply, and I did the same thing which you suggested but it failed to do the trick. Is there any other solutions. Please forward me. Thanks Hari -- modified at 2:06 Monday 3rd September, 2007

          M Offline
          M Offline
          Michael Sync
          wrote on last edited by
          #4

          maybe. you may try to impersanate... Put this in web.config. You have the administrator right in that machine... right?

          Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you. :)

          K 1 Reply Last reply
          0
          • M Michael Sync

            maybe. you may try to impersanate... Put this in web.config. You have the administrator right in that machine... right?

            Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you. :)

            K Offline
            K Offline
            Kuricheti
            wrote on last edited by
            #5

            Hi Michael, Thanks for your quick reply. Yse. I have administrator rights in my system. I added impersonate in web.config file.. ............ ............ Again no use....any other Michael? Thanks in advance Hari

            M 1 Reply Last reply
            0
            • K Kuricheti

              Hi Michael, Thanks for your quick reply. Yse. I have administrator rights in my system. I added impersonate in web.config file.. ............ ............ Again no use....any other Michael? Thanks in advance Hari

              M Offline
              M Offline
              Michael Sync
              wrote on last edited by
              #6

              When are you getting this error? What error are you getting?? Are you getting this error while you are trying to log-in from browser? OR while you are trying to open the connection?

              Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you. :)

              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