T
|
Tim 9/27/2019 |
We create a new project, set up our main data connection to a test DB, and then publish it to a test web server. Then when we're ready to move to production, on the "Output" page of ASPR we create new data connections that point to the production DB. When then create a new FTP location to publish to the production web server and we select the secondary data connections (which you do as you FTP). ASPR remembers the FTP/data connection relationship. This allows us to use the same project and publish to 2 locations that point to 2 different DBs. We can easily switch back and forth from test and production within the same project. |
I
|
i.NoLim author 9/27/2019 |
We create a new project, set up our main data connection to a test DB, and then publish it to a test web server. Then when we're ready to move to production, on the "Output" page of ASPR we create new data connections that point to the production DB. When then create a new FTP location to publish to the production web server and we select the secondary data connections (which you do as you FTP). ASPR remembers the FTP/data connection relationship. This allows us to use the same project and publish to 2 locations that point to 2 different DBs. We can easily switch back and forth from test and production within the same project. Hope this makes sense and maybe helps. Redoing the entire project can be time consuming (I have done that as well) and it seems like things can be missed. Tim
|
T
|
Tim 9/27/2019 |
I'm not sure I follow. I do not have to do all of that. Maybe the difference for me is that I have 2 instances of SQL server and my test DB is on the it's own instance. |
I
|
i.NoLim author 9/27/2019 |
Oh! I think I understand now. Yeah, let me try that. Thank you! |
![]() |
jadachDevClub member 9/27/2019 |
If your test db is identical to your prod db, simply change the connection when testing. Once it is good to go, reconnect to prod and upload your files. |
I
|
i.NoLim author 9/27/2019 |
Thank you so much for your prompt response. |