The web.config file will have connection string information for connecting to the Mi-Forms Server database. Depending upon your configuration, this may contain sensitive username / password security credentials.
Follow these instructions for encrypting the connection string information:
a. Click Start, run..., type "cmd" and <enter>
b. Type "cd\" and <enter>
c. Type "cd c:\Windows\Microsoft.Net\Framework\" and <enter>
d. Type "cd v2.0.50727" and <enter> ( or whatever v2.0.xxxxx folder you have there)
e. Type this to encrypt the connectionStrings section of the Configuration section of web.config:
aspnet_regiis.exe -pef "connectionStrings" "c:\inetpub\wwwroot\MFS" -prov "DataProtectionConfigurationProvider"
Please refer to this article for more information / options:
Note: this encryption is based on the machine key. If the Mi-Forms Server is moved to a new machine, type this to remove encryption:
aspnet_regiis.exe -pdf "connectionStrings" "c:\inetpub\wwwroot\MFS"
then move web.config file and other Mi-Forms Server data files to the target machine. Rerun steps a-e above to encrypt the connectionStrings section again based on the new machine key.
Posted in: Mi-Forms Server