Copied to clipboard

Flag this post as spam?

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


  • Rob Smith 34 posts 165 karma points
    May 28, 2013 @ 13:53
    Rob Smith
    0

    Is this tested and working with MySQL and Umbraco 6.0.3

    Just wondering if you could confirm it has been tested and working with MySQL on 6.0.3?

  • Markus Johansson 1914 posts 5761 karma points MVP c-trib
    May 28, 2013 @ 14:25
    Markus Johansson
    0

    Hi!

    It should work but not the advanced analytics where you can se details about each click, open and so on. 

    // m 

  • Rob Smith 34 posts 165 karma points
    May 28, 2013 @ 18:21
    Rob Smith
    0

    The MySQL connector in Umbraco 6.0.3 is now MySQL connector version 6.6.4.0.

    Do I still need to change the mysql.data.dll and mysql.data.entity.dll files?

  • Rob Smith 34 posts 165 karma points
    May 29, 2013 @ 10:29
    Rob Smith
    0

    OK - so I added the mysql.data.entity.dll to the bin folder

    Didn't add the mysql.data.dll as it was an older version

    Added the followinf to web.config (updating the verison number to 6.6.4.0)

    <dependentAssembly> <assemblyIdentity name="MySql.Data" publicKeyToken="c5687fc88969c44d" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-6.5.4.0" newVersion="6.6.4.0" /> </dependentAssembly> 

    Didn't add the following as it was already there in Umbraco 6.0.3

    <system.data>
    <DbProviderFactories>
    <add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.5.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
    </DbProviderFactories>
    </system.data> 

    Went to install and it couldn't find SQL Server even though I'm using MySQL.

    Server Error in '/' Application.
    
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
    
    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.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
    
    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: 
    
    
    [SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)]
       System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +1065
       System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +108
       System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +126
       System.Data.SqlClient.SqlConnection.Open() +125
       System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) +52
    
    [EntityException: The underlying provider failed on Open.]
       System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) +161
       System.Data.EntityClient.EntityConnection.Open() +98
       System.Data.Objects.ObjectContext.EnsureConnection() +81
       System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) +46
       System.Data.Objects.ObjectQuery`1.GetIListSourceListInternal() +13
       System.Data.Objects.ObjectQuery.System.ComponentModel.IListSource.GetList() +10
       System.Web.UI.DataSourceHelper.GetResolvedDataSource(Object dataSource, String dataMember) +54
       System.Web.UI.WebControls.ReadOnlyDataSource.System.Web.UI.IDataSource.GetView(String viewName) +41
       System.Web.UI.WebControls.DataBoundControl.ConnectToDataSourceView() +266
       System.Web.UI.WebControls.DataBoundControl.GetData() +4
       System.Web.UI.WebControls.DataBoundControl.PerformSelect() +59
       System.Web.UI.WebControls.ListView.PerformSelect() +113
       System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +74
       NewsletterStudio.Usercontrols.Dashboard.Page_Load(Object sender, EventArgs e) +431
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
       System.Web.UI.Control.OnLoad(EventArgs e) +91
       System.Web.UI.Control.LoadRecursive() +74
       System.Web.UI.Control.LoadRecursive() +146
       System.Web.UI.Control.LoadRecursive() +146
       System.Web.UI.Control.LoadRecursive() +146
       System.Web.UI.Control.LoadRecursive() +146
       System.Web.UI.Control.LoadRecursive() +146
       System.Web.UI.Control.LoadRecursive() +146
       System.Web.UI.Control.LoadRecursive() +146
       System.Web.UI.Control.LoadRecursive() +146
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207
    
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
    
  • Markus Johansson 1914 posts 5761 karma points MVP c-trib
    May 31, 2013 @ 08:49
    Markus Johansson
    0

    Hi!

    Hmm, it looks like Newsletter Studio can't figure out that your connection is pointed to Mysql-server. Newsletter Studio looks for the string "datalayer" inside the connection-string to know if its mysql or not (as mysql should have the datalayer-stuff). This code is about a year old so thing may have changed? I have not tried with all the latest versions of mysql.

     

    / m

Please Sign in or register to post replies

Write your reply to:

Draft