Hi Guys,
This is just a combined troubleshooting list of "There was an error while loading module" error.
When logged into DNP Portal you see "There was an error while loading module" red error message above every DNP module. Possible causes of this error and appropriate solutions:
1. The URL to Enterprise Server application is wrong. Solution is to login under "host" or "admin" account, open "Configuration -> Enterprise Server" page, specify correct ES URL and save changes. Then login under "serveradmin" to manage your hosting resources.
2. You have changed "serveradmin" password on "Admin -> UserAccounts" page. Now you have unsynchronized "serveradmin" account on both Portal and ES (they have different passwords and thus can't be matched). Solution is to login to the portal under "host" or "admin", go to "Admin -> UserAccounts" page, locate "serveradmin" account, open its properties page and change password back to the original "serveradmin" (case is important!). Then login under "serveradmin/serveradmin" and change "serveradmin" password clicking on its link on the left pane "User" module.
3. When opening Enterprise Server or Server applications in the browser you get "This application was precompiled with personalization turned off, but it appears to have been turned on after the precompilation, which is not supported" error. The source of this problem is that you have "EnterpriseServer" or "Server" virtual directories (or both) created on the web site where DNN (or some other ASP.NET application) is installed in the root. Solution is to move both "EnterpriseServer" and "Server" virtual directories under the new, empty web site (without any application in the root).
When logged into DNP Portal you see "Module is disconnected from Enterprise Server" warning message above every DNP module. Possible causes of this error and appropriate solutions:
1. You are logged under "host" or "admin" account. That's OK when you see this warning being logged under "host" or "admin" as they don't have any rights (or matching accounts) on Enterprise Server. Those both accounts are just DNN reserved accounts and should be used for managing DNN portals only. Solution is to login under "serveradmin" to manage your hosting resources
If somebody has other use-cases for such messages you are welcome to post them here. Then we'll add these instructions to DNP installation guide.