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. Web.Config FIle

Web.Config FIle

Scheduled Pinned Locked Moved ASP.NET
database
5 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.
  • R Offline
    R Offline
    Ravi_21
    wrote on last edited by
    #1

    Hi i Have a application in which i have to sync two database from two other site Can i use two web.config file in one website

    J A 2 Replies Last reply
    0
    • R Ravi_21

      Hi i Have a application in which i have to sync two database from two other site Can i use two web.config file in one website

      J Offline
      J Offline
      Jain Vijay
      wrote on last edited by
      #2

      You can use more then 1 connection string with different key in single web.config file

      R 1 Reply Last reply
      0
      • J Jain Vijay

        You can use more then 1 connection string with different key in single web.config file

        R Offline
        R Offline
        Ravi_21
        wrote on last edited by
        #3

        But i have to change the Membership and role in both database

        1 Reply Last reply
        0
        • R Ravi_21

          Hi i Have a application in which i have to sync two database from two other site Can i use two web.config file in one website

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

          Ravi_21 wrote:

          i Have a application in which i have to sync two database from two other site Can i use two web.config file in one website

          Yes. you can use multiple web.config file in your application. But, in this scenario, you don't need to use multiple web.config. You can create multiple connection string for different database.

          cheers, Abhijit CodeProject MVP

          R 1 Reply Last reply
          0
          • A Abhijit Jana

            Ravi_21 wrote:

            i Have a application in which i have to sync two database from two other site Can i use two web.config file in one website

            Yes. you can use multiple web.config file in your application. But, in this scenario, you don't need to use multiple web.config. You can create multiple connection string for different database.

            cheers, Abhijit CodeProject MVP

            R Offline
            R Offline
            Ravi_21
            wrote on last edited by
            #5

            HI my requirement is different i have two website both have registration form i now i have to sync the data of both website i have one another website which have the admin section through which i approve the Users that are register in both the two website i m using asp.net membership and role here is the problem

            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