I reckoned that the error may lie in the fact that mojoportal was not installed in a folder name "mojoportal", but "public_html", so I changed the web.config accordingly:
And yet again it seems to refuse connection the the database:
Server Error in '/' Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
MySql.Data.Common.DBConnectionString.ParseKeyValuePairs(String src) +30
MySql.Data.Common.DBConnectionString.Parse(String newConnectString) +31
MySql.Data.MySqlClient.MySqlConnection.set_ConnectionString(String value) +25
MySql.Data.MySqlClient.MySqlConnection..ctor(String connectionString) +70
MySql.Data.MySqlClient.MySqlHelper.ExecuteReader(String connectionString, String commandText, MySqlParameter[] commandParameters) +38
mojoPortal.Data.dbPortal.FriendlyUrl_GetByUrl(String HostName, String FriendlyUrl) +228
mojoPortal.Business.FriendlyUrl.GetFriendlyUrl(String hostName, String friendlyUrl) +15
mojoPortal.Business.FriendlyUrl..ctor(String hostName, String friendlyUrl) +9
mojoPortal.Web.SiteUtils.RewriteUrl(HttpApplication app) +174
mojoPortal.Web.UrlRewriter.UrlRewriter_BeginRequest(Object sender, EventArgs e) +130
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42