The process is to decrypt the connection strings present in web.config of the hosted application.
Open Cmd in Administrator mode.
Open the following path:
Now to decrypt the connection strings, give the following command:
aspnet_regiis -pdf "connectionStrings" "C:\Program Files\INTERGRAPH\ SPMat API"
In this command, pef is keyword to decrypt the connection string.
The second argument connectionStrings indicates that the name of the configuration section needs to be encrypted.
The third argument is the physical path of the folder where the web.config file is located.
Now after decrypting we can see the original web.config with plain passwords as below.