Simplifying the Connection of Your Dev VM to Tier 2 Environment in D365D

 Hi All,

Welcome to my latest blog post where I'll be discussing common challenges developers face when connecting their Dev VM to the Tier 2 Environment in D365. Typically, manually replacing specific tags in the web.config file can be a tedious and error-prone process. However, I have created a utility that automates this task, simplifying the process of connecting your Dev VM to the Tier 2 Environment.

To get started, simply download the utility from the link provided in your Dev VM and follow the steps below.

Click here to download the file

Step-by-Step Instructions:

Step 1: Generate database credentials from LCS, please don't hesitate to contact me through comments if you feel any difficulty to generate Database credentials. I'll be happy to address your concerns and may even create a separate blog post on the topic. It should be like the one below.

Step 2: Download the utility executable file to your Development VM and double-click it to execute.

Step 3: On the command prompt, enter the details requested:

  • Enter the Config file Path: Provide the full path of your original config file.
  • Enter the destination folder path where the copy of the config needs to be created: Specify the path where you want the copy of the original config file to be created.
  • Enter the Server Name from LCS: Provide the server name from your LCS.
  • Enter the Database Name from LCS: Provide the database name from your LCS.
  • Enter the User Name from LCS: Provide the username generated on the LCS page.
  • Enter the Password from LCS: Provide the Password generated on the LCS page.


The utility will then create a copy of your original web.config file, with the necessary tag values replaced, easing the pain of connecting your Dev VM to the Tier 2 Environment.



Next, it's important to create a backup of your original "Web.Config" file before replacing it with the new one generated by the utility. Once you have created the backup and replaced it with the file generated through this utility in your Web root folder, reset your IIS by executing the "IISRESET" command in your command prompt with Admin mode. Ensure that you have closed Visual Studio before proceeding.


Once these steps are completed, you are now ready to connect to your Tier 2 DB. Open your web browser and navigate to your dev URL. You should now be able to view the data from your Tier 2 machine.

Thank you for reading and happy developing!



Comments

Popular posts from this blog

SSRS Report error "The parameter panel layout for this report contains more parameters than total cells available D365" Finance and Operation

Increase Your Storage in Azure Dev VM to fix disk size issue while D365 F&O DB restore.