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. Login fails with ASP.NET membership

Login fails with ASP.NET membership

Scheduled Pinned Locked Moved ASP.NET
databasecsharpasp-netsql-serversysadmin
8 Posts 3 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.
  • A Offline
    A Offline
    Albert83
    wrote on last edited by
    #1

    Hi, I am using asp.net built in membership mechanism for registration and login in. I recently transferred a website to a different hosting including the sql server database. After transferring the website all the previous user who registered now can't login with their user name and password. Password recovery says that the user name doesn't exist. However, new account registration works and there is no problem logging in with the new account. Does anyone know what the problem is? Thank you for the time.

    C 1 Reply Last reply
    0
    • A Albert83

      Hi, I am using asp.net built in membership mechanism for registration and login in. I recently transferred a website to a different hosting including the sql server database. After transferring the website all the previous user who registered now can't login with their user name and password. Password recovery says that the user name doesn't exist. However, new account registration works and there is no problem logging in with the new account. Does anyone know what the problem is? Thank you for the time.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Sounds obvious. Your SQL migration did not work, the data for old users was lost.

      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

      A 2 Replies Last reply
      0
      • C Christian Graus

        Sounds obvious. Your SQL migration did not work, the data for old users was lost.

        Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

        A Offline
        A Offline
        Albert83
        wrote on last edited by
        #3

        The username is in the database. That's the thing. I checked it. When I try to register same user it throws a duplicate record error for the username. That's a confirmation that it's in the db.

        A 1 Reply Last reply
        0
        • A Albert83

          The username is in the database. That's the thing. I checked it. When I try to register same user it throws a duplicate record error for the username. That's a confirmation that it's in the db.

          A Offline
          A Offline
          Albert83
          wrote on last edited by
          #4

          This was resolved. Thanks.

          N 1 Reply Last reply
          0
          • A Albert83

            This was resolved. Thanks.

            N Offline
            N Offline
            Not Active
            wrote on last edited by
            #5

            Well don't just leave us hanging man; How was it solved? Others may find it useful to know also.


            only two letters away from being an asset

            A 2 Replies Last reply
            0
            • N Not Active

              Well don't just leave us hanging man; How was it solved? Others may find it useful to know also.


              only two letters away from being an asset

              A Offline
              A Offline
              Albert83
              wrote on last edited by
              #6

              The initial response was correct the asp membership data was not transferred. It was another table that showed the error.

              1 Reply Last reply
              0
              • C Christian Graus

                Sounds obvious. Your SQL migration did not work, the data for old users was lost.

                Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                A Offline
                A Offline
                Albert83
                wrote on last edited by
                #7

                Thanks for the answer.

                1 Reply Last reply
                0
                • N Not Active

                  Well don't just leave us hanging man; How was it solved? Others may find it useful to know also.


                  only two letters away from being an asset

                  A Offline
                  A Offline
                  Albert83
                  wrote on last edited by
                  #8

                  Actually the data was in the tables. The application name in web.config should match the applicaion name in the asp_applications table.

                  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