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. SQL 2008 (Web Developer Membership System) - Could not find stored procedure.

SQL 2008 (Web Developer Membership System) - Could not find stored procedure.

Scheduled Pinned Locked Moved ASP.NET
databasehelpasp-netsysadmindata-structures
12 Posts 2 Posters 1 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.
  • S saini arun

    Just to confim, have you tried aspnet_regsql.exe from visual studio command line?

    B Offline
    B Offline
    Baeltazor
    wrote on last edited by
    #3

    I have used it before but not in this case as I'm not sure of what to do with regards to this particular problem. The membership login/registration works perfectly on my local machine but it only fails with the above error when it's uploaded to the server. Would doing something in aspnet_regsql.exe fix this issue?

    S 1 Reply Last reply
    0
    • B Baeltazor

      I have used it before but not in this case as I'm not sure of what to do with regards to this particular problem. The membership login/registration works perfectly on my local machine but it only fails with the above error when it's uploaded to the server. Would doing something in aspnet_regsql.exe fix this issue?

      S Offline
      S Offline
      saini arun
      wrote on last edited by
      #4

      As it seems that your database does not have all items required to support membership related functionality, you can run aspnet_regsql from visual studio command prompt to fix all aspnet membership related items in database. This will also include any missing stored procedure in the database.

      B 1 Reply Last reply
      0
      • S saini arun

        As it seems that your database does not have all items required to support membership related functionality, you can run aspnet_regsql from visual studio command prompt to fix all aspnet membership related items in database. This will also include any missing stored procedure in the database.

        B Offline
        B Offline
        Baeltazor
        wrote on last edited by
        #5

        In Visual Web Developer Express 08, in the Solution Explorer pane, if I expand the ASPNETDB and click Procedures, it contains a stored procedure that the above error claims it cannot find. ... Could you kindly suggest which commands I'd need to use in aspnet_regsql.exe?

        S 2 Replies Last reply
        0
        • B Baeltazor

          In Visual Web Developer Express 08, in the Solution Explorer pane, if I expand the ASPNETDB and click Procedures, it contains a stored procedure that the above error claims it cannot find. ... Could you kindly suggest which commands I'd need to use in aspnet_regsql.exe?

          S Offline
          S Offline
          saini arun
          wrote on last edited by
          #6

          In case only this particular stored procedure is missing then you can use this one... CREATE PROCEDURE [dbo].[aspnet_CheckSchemaVersion] @Feature nvarchar(128), @CompatibleSchemaVersion nvarchar(128) AS BEGIN IF (EXISTS( SELECT * FROM dbo.aspnet_SchemaVersions WHERE Feature = LOWER( @Feature ) AND CompatibleSchemaVersion = @CompatibleSchemaVersion )) RETURN 0 RETURN 1 END

          1 Reply Last reply
          0
          • B Baeltazor

            In Visual Web Developer Express 08, in the Solution Explorer pane, if I expand the ASPNETDB and click Procedures, it contains a stored procedure that the above error claims it cannot find. ... Could you kindly suggest which commands I'd need to use in aspnet_regsql.exe?

            S Offline
            S Offline
            saini arun
            wrote on last edited by
            #7

            If you want to do this using apnet_regsql.exe, use the following steps: 1. Open visual studio command prompt 2. type aspnet_regsql and press enter 3. Click next on the window just appeared 4. select "configure sql server for application services", click on next 5. enter server name, username & password 6. choose databse from drop down 7. click on NEXT & NEXT This will repair your database.

            B 1 Reply Last reply
            0
            • S saini arun

              If you want to do this using apnet_regsql.exe, use the following steps: 1. Open visual studio command prompt 2. type aspnet_regsql and press enter 3. Click next on the window just appeared 4. select "configure sql server for application services", click on next 5. enter server name, username & password 6. choose databse from drop down 7. click on NEXT & NEXT This will repair your database.

              B Offline
              B Offline
              Baeltazor
              wrote on last edited by
              #8

              Thank you for your help and the code. It appears that there is no Command Prompt in Visual Web Developer Express 08. Can I just use the MS-DOS Command Prompt?

              S 1 Reply Last reply
              0
              • B Baeltazor

                Thank you for your help and the code. It appears that there is no Command Prompt in Visual Web Developer Express 08. Can I just use the MS-DOS Command Prompt?

                S Offline
                S Offline
                saini arun
                wrote on last edited by
                #9

                Try this one http://forums.asp.net/p/1196481/3303966.aspx#3303966[^]

                1 Reply Last reply
                0
                • S saini arun

                  Just to confim, have you tried aspnet_regsql.exe from visual studio command line?

                  B Offline
                  B Offline
                  Baeltazor
                  wrote on last edited by
                  #10

                  Thank you for your help arun$aini :)

                  S 1 Reply Last reply
                  0
                  • B Baeltazor

                    Thank you for your help arun$aini :)

                    S Offline
                    S Offline
                    saini arun
                    wrote on last edited by
                    #11

                    My Pleasure :) Hope you have solved the issue.

                    B 1 Reply Last reply
                    0
                    • S saini arun

                      My Pleasure :) Hope you have solved the issue.

                      B Offline
                      B Offline
                      Baeltazor
                      wrote on last edited by
                      #12

                      Yeah, with your help i managed to sort it out. If it weren't for you, i would've had to pay to get it fixed by somebody. You saved my butt! :D

                      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