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. ASP.NET configuration

ASP.NET configuration

Scheduled Pinned Locked Moved ASP.NET
asp-netdatabasecsharpsql-serversysadmin
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.
  • A Offline
    A Offline
    ayeleteric
    wrote on last edited by
    #1

    Hello, I am working with ASP.net 2008. I am using Users, Membership, roles through Website->ASP.NET configuration menu. I would like to use it while is pointing to an external database not the local one. How do I tell him to use external SQL server database. I have already add the database through aspnet_regsql.exe. Thank you

    Eric H.

    A 1 Reply Last reply
    0
    • A ayeleteric

      Hello, I am working with ASP.net 2008. I am using Users, Membership, roles through Website->ASP.NET configuration menu. I would like to use it while is pointing to an external database not the local one. How do I tell him to use external SQL server database. I have already add the database through aspnet_regsql.exe. Thank you

      Eric H.

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      By Default ASP.NET stored membership information in local database. If you want to store it in remote database you have to add the database using aspnet_regsql.exe command.As You have already add the database, you are now one step ahead. Just do the following entry in web.config. In the ConnectionStrings section of the web.config add the new ConnectionString for the new Database

      In the Membership section of the web.config, give the same connection string the you have added for new database

      Hope this will help you.

      cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net

      A 1 Reply Last reply
      0
      • A Abhijit Jana

        By Default ASP.NET stored membership information in local database. If you want to store it in remote database you have to add the database using aspnet_regsql.exe command.As You have already add the database, you are now one step ahead. Just do the following entry in web.config. In the ConnectionStrings section of the web.config add the new ConnectionString for the new Database

        In the Membership section of the web.config, give the same connection string the you have added for new database

        Hope this will help you.

        cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net

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

        Thank you for your precious help, it works

        Eric H.

        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