MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

DB config redirects to 1st install step  (Mono Support )

Viewed 6927 time(s), 6 post(s) 9/3/2014 7:30:19 PMby vwaic
vwaic

vwaic

9/3/2014 7:30:19 PM

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.

This content has not been rated yet. 
33 Reputation 3 Total posts
kpeulic

kpeulic

9/4/2014 9:26:32 AM
We'll make additional tests in the environment like yours and get back to you with the feedback.
This content has not been rated yet. 
1849 Reputation 181 Total posts
mzilic

mzilic

9/8/2014 12:02:44 PM
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
Rated 5.00, 1 vote(s). 
2218 Reputation 300 Total posts
vwaic

vwaic

9/15/2014 10:19:07 AM

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>
This content has not been rated yet. 
33 Reputation 3 Total posts
imarusic

imarusic

9/15/2014 11:22:01 AM
Hi,

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

Regards,
This content has not been rated yet. 
3016 Reputation 428 Total posts
vwaic

vwaic

9/15/2014 12:56:41 PM

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 :-)

This content has not been rated yet. 
33 Reputation 3 Total posts