Mono Support DB config redirects to 1st install step 

Viewed 15867 time(s), 6 post(s), 9/3/2014 7:30:19 PM - by vwaic
9/3/2014 7:30:19 PM
33 Reputation 3 Total posts

Hi, I'm running tests and trials for our planned large community site. Besides DNN and Umbraco I also decided to test MonoX, however MonoX is the only one I can't even install. I tried the last nightly 5.1.40.5022. When I fill DB info in the third step of installation and click Next, I got redirected to the beginning with no reason. I tried (local) and (local)\INSTANCENAME, I even tried switching user name ans password (SQL authentication) as they are unnaturaly reversed there, but everytime the same thing happened. Is there any fix or reason how to prevent this behavior?

IIS 8.5, SQL Server 2014 Standard, NET 4.5, IE 11

Thanks for any suggestions.

1
9/4/2014 9:26:32 AM
1849 Reputation 181 Total posts

We'll make additional tests in the environment like yours and get back to you with the feedback.

2
9/8/2014 12:02:44 PM
2218 Reputation 300 Total posts

Hello,

We tried reproducing the issue on a test environment and we couldn't reproduce the issue. Can you post your MonoX logs here please (you can find them at MonoX\ApplicationData\Logs).
Can you try to replace (local) with one of the following?

{NameOfYourComputer}\{SQLServerInstanceName}
.\{SQLServerInstanceName}

Regards,
Mario

3
9/15/2014 10:19:07 AM
33 Reputation 3 Total posts

Unfortunatelly that didn't work. Here's my log. It seems to not find MySql.Web assembly (although I used MS SQL). It may be fine to handle this exception (especially if MySQL is not beeing used) and not crash the installation :-)

<p>
2014-09-15 10:41:48,986 [30] ERROR MonoX [BaseHttpApplication] - Application Error
System.Configuration.ConfigurationErrorsException: Could not load file or assembly 'MySql.Web, Version=6.7.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified. (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config line 249) ---> System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Web, Version=6.7.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
   at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
   at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
   at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase)
   --- End of inner exception stack trace ---
   at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase)
   at System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType)
   at System.Web.Configuration.ProvidersHelper.InstantiateProviders(ProviderSettingsCollection configProviders, ProviderCollection providers, Type providerType)
   at System.Web.Security.Membership.InitializeSettings(Boolean initializeGeneralSettings, RuntimeConfig appConfig, MembershipSection settings)
   at System.Web.Security.Membership.Initialize()
   at System.Web.Security.Membership.get_MinRequiredPasswordLength()
   at MonoX_Installer_AccountInfo.OnInit(EventArgs e)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2014-09-15 10:44:14,111 [30] ERROR MonoX [BaseHttpApplication] - Application Error
System.Configuration.ConfigurationErrorsException: Could not load file or assembly 'MySql.Web, Version=6.7.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified. (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config line 249) ---> System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Web, Version=6.7.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
   at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
   at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
   at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase)
   --- End of inner exception stack trace ---
   at System.Web.Security.Membership.Initialize()
   at System.Web.Security.Membership.get_MinRequiredPasswordLength()
   at MonoX_Installer_AccountInfo.OnInit(EventArgs e)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2014-09-15 10:55:22,816 [21] ERROR MonoX [BaseHttpApplication] - Application Error
System.Configuration.ConfigurationErrorsException: Could not load file or assembly 'MySql.Web, Version=6.7.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified. (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config line 249) ---> System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Web, Version=6.7.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
   at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
   at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
   at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase)
   --- End of inner exception stack trace ---
   at System.Web.Security.Membership.Initialize()
   at System.Web.Security.Membership.get_MinRequiredPasswordLength()
   at MonoX_Installer_AccountInfo.OnInit(EventArgs e)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
</p>

4
9/15/2014 11:22:01 AM
3016 Reputation 428 Total posts

Hi,

it seems that here is similar issue. Please check on your side if that's the problem.

Regards,

5
9/15/2014 12:56:41 PM
33 Reputation 3 Total posts

As I am currently testing (on a production machine, shame on me) I know for sure, that DNN 6, DNN 7, Umbraco and MojoPortal run correctly on my server under .NET 4.0 + MS SQL 2014. I can not uninstall MySQL as suggested in the thread mentioned, because I am using it (Roundcube, Joomla, WP). Why does MonoX try to access MySQL assemblies?

Anyway I commented out MySQL references in my machine.config, hoping it would not break anything, as I am currently not running any .NET+MySQL app. And MonoX is now working. Thanks for the tip :-)

6
This is a demo site for MonoX. Please visit Mono Software for more info.