Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Thorsten Hoffmann 48 posts 119 karma points
    Dec 05, 2014 @ 09:11
    Thorsten Hoffmann
    0

    Umbraco 7.20 - Error on 'Save and Publish'

    Hi Umbracians,

    I have installed Umbraco 7.20 with the Fanoe Starter Kit.

    When I modify content and try to 'Save and Publish' I get the following error:

    Server error: Contact administrator, see log for full details.
    Could not load file or assembly 'MySql.Web.v20, Version=6.9.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. Das System kann die angegebene Datei nicht finden. 

    Saving  without Publish works.

    Any Ideas?

    Thorsten

  • Dennis Aaen 4499 posts 18254 karma points admin hq c-trib
    Dec 05, 2014 @ 09:24
    Dennis Aaen
    0

    Hi Thorsten,

    If I understand your error message correct you are using MySQL database for the new Umbraco 7.2. If you see the system requirements http://our.umbraco.org/documentation/installation/system-requirements it says, SQL CE, SQL Server 2008 and higher for the database choice. And I think that the MySQL database has not received much attention since it has been possible to use SQLCE database with Umbraco

    So if you are trying test the new Umbraco 7.2 on a local machine think I think that you should be good using the SQLCE database, if you have any plans on deploy your site to a live environment then you should consider using a Microsoft SQL server.

    Hope this helps,

    /Dennis

  • Thorsten Hoffmann 48 posts 119 karma points
    Dec 05, 2014 @ 09:27
    Thorsten Hoffmann
    0

    Hi Dennis,

    I am not using MySQL - I did a standard install using using the embedded database (SQL Server Embedded?)

    But I have MySQL Workbench installed on my machine.

    Thorsten 

  • Dennis Aaen 4499 posts 18254 karma points admin hq c-trib
    Dec 05, 2014 @ 09:31
    Dennis Aaen
    0

    Hi Thorsten,

    Okay, maybe you could try go to the /App_Data/Logs, in your file system of your Umbraco installation to see if the log file can reveal more information about what is going wrong.

    Hope this can help you find the issue.

    /Dennis

  • Thorsten Hoffmann 48 posts 119 karma points
    Dec 05, 2014 @ 09:40
    Thorsten Hoffmann
    0

    I the log I found this entry about MySQL:

    2014-12-05 08:54:02,829 [13] ERROR Umbraco.Core.PluginManager - [Thread 1] Error creating type umbraco.presentation.nodeFactory.UmbracoSiteMapProviderAccessUpdate

    System.Reflection.TargetInvocationException: Ein Aufrufziel hat einen Ausnahmefehler verursacht. ---> System.Configuration.ConfigurationErrorsException: Die Datei oder Assembly "MySql.Web.v20, Version=6.9.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden. (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config line 285) ---> System.IO.FileNotFoundException: Die Datei oder Assembly "MySql.Web.v20, Version=6.9.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden.

       bei System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)

       bei System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)

       bei System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)

       bei System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)

       bei System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase)

       --- Ende der internen Ausnahmestapelüberwachung ---

       bei System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase)

       bei System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType)

       bei System.Web.Configuration.ProvidersHelper.InstantiateProviders(ProviderSettingsCollection configProviders, ProviderCollection providers, Type providerType)

       bei System.Web.Configuration.SiteMapSection.get_ProvidersInternal()

       bei System.Web.SiteMap.Initialize()

       bei umbraco.presentation.nodeFactory.UmbracoSiteMapProviderAccessUpdate..ctor()

       --- Ende der internen Ausnahmestapelüberwachung ---

       bei System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)

       bei System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)

       bei System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)

       bei System.Activator.CreateInstance(Type type, Boolean nonPublic)

       bei System.Activator.CreateInstance(Type type)

       bei Umbraco.Core.PluginManager.CreateInstances[T](IEnumerable`1 types, Boolean throwException) 

     

    Hmmm.....

  • Thorsten Hoffmann 48 posts 119 karma points
    Jan 21, 2015 @ 12:00
    Thorsten Hoffmann
    100

    Hi,

    I found the solution for my problem here:

    http://stackoverflow.com/questions/26189699/asp-net-mvc4-configuration-error-after-installing-mysql-connector-net

    It was not an Umbraco problem - I just had to uninstall the MySQL Connector.NET.

    After uninstalling of this connector everything works fine :-)


    Thorsten
     

Please Sign in or register to post replies

Write your reply to:

Draft