User-460007017 posted
Hi lir,
Have you deployed the MySQL on the new server? It seems that the MySQL only allow the local connection, if you need to enable the remote connection for the IIS site, you may need to take actions to change the MySQL configuration. At least ensure the login connection string works
fine in console. Then you may need to check the connection string in .net application works fine. Finally, ensure the authenticated user and application pool identity(IIS Apppool\<apppool name>) has the permission to display the result.
In addition, please check whether the static content and ASP.net feature has been enabled in turn windows features on or off/add role and feature.
Best Regards,
Yuk Ding