To connect UAT Database to any dev box to debug(Readonly) Script run (Write access) for update. so here are two scenarios are mentioned can follow to fulfill our requirement.
Step: 1 Login to LCS
Once Request Access done we will get Server/Database credentials as below
Step :2.1
In Dev(Cloud hosted environment) where we want to access database with frontEnd(FnO).
use google to search ip address (search: what is my IP)
Step : 2.2 Go to LCS, White List above dev box IP address using Enable Access option in Maintain.
Place the the Above devbox IP in Source Address Prefix
Scenario 1 : Connect Direct to SSMS (for SQL)
Open MS Sql in Dev box(RUN --> SSMS ).
Note: if you get any error like below image
Scenario 2 : Configure to web.config file and access FrontEnd, Visual studio all with UAT Db.
Go to K: Drive where AosService > WebRoot > web.config and backup and copy file to somewhere and Edit the file as below images.
Replace the below
<add key="DataAccess.Database" value="<part of the Database name>" />
<add key="DataAccess.DbServer" value="<db 2 part db_server.database.windows.net>" />
<add key="DataAccess.SqlPwd" value="<password from LCS>" />
<add key="DataAccess.SqlUser" value="password from LCS" />
<add key="DataAccess.AxAdminSqlPwd" value="<axdbadmin_password_from_LCS>" />
<add key="DataAccess.AxAdminSqlUser" value="axdbadmin" />Stop the IIS Services before replace the WebConfig file after replace to Original path(K:AosService > WebRoot ) open the Visual Studio then Restart the IIS Express.
Now Front end in Dev comes with UAT(Sandbox) database.
can Debug or Dev box code with UAT Sample database.













