Welcome to the Cumulus Support forum.

Latest Cumulus MX release v3.3.0 build 3063 - 10 January 2020.
    Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014

    See the Wiki for downloading either version.

    getting Devart.Data.MySql errors

    Discussion of version 3 of Cumulus, which runs on Windows, Linux, and OS X. All Cumulus MX queries in here, please.

    Moderator: mcrossley

    Post Reply
    scoobs
    Posts: 82
    Joined: Mon 23 Mar 2009 2:50 pm
    Weather Station: WH3080
    Operating System: Windows server
    Location: Skegness

    getting Devart.Data.MySql errors

    Post by scoobs » Wed 31 Oct 2018 7:21 pm

    Im unable to get the software to run i shut it down and restarted and now its coming up with this error running on windows.


    Current culture: English (United Kingdom)
    Serial: x
    Cumulus MX v.3.0.0 build 3043

    Unhandled Exception: System.ArgumentException: Invalid value for key 'port'.
    at Devart.Data.MySql.ap..ctor(String A_0)
    at Devart.Data.MySql.an.a(String A_0, DbConnectionOptions A_1)
    at Devart.Common.DbConnectionFactory.a(String A_0, DbConnectionOptions& A_1)
    at Devart.Common.DbConnectionBase.set_ConnectionString(String value)
    at Devart.Data.MySql.MySqlConnection.set_ConnectionString(String value)
    at Devart.Data.MySql.MySqlConnection.a(String A_0, Object A_1)
    at Devart.Data.MySql.MySqlConnection.set_Port(Int32 value)
    at CumulusMX.Cumulus..ctor(Int32 HTTPport, Int32 WSport) in C:\Users\steve\Do
    cuments\Visual Studio 2015\Projects\CumulusMX\CumulusMX\Cumulus.cs:line 1146
    at CumulusMX.Program.Main(String[] args) in C:\Users\steve\Documents\Visual S
    tudio 2015\Projects\CumulusMX\CumulusMX\Program.cs:line 101

    User avatar
    mcrossley
    Posts: 5914
    Joined: Thu 07 Jan 2010 9:44 pm
    Weather Station: Davis VP2
    Operating System: Stretch Lite rPi
    Location: Wilmslow, Cheshire, UK
    Contact:

    Re: getting Devart.Data.MySql errors

    Post by mcrossley » Thu 01 Nov 2018 12:09 am

    In your Cumulus.ini file, what is the MySQL port set to?

    eg..

    Code: Select all

    [MySQL]
    Host=127.0.0.1
    Port=3306
    

    User avatar
    steve
    Cumulus Author
    Posts: 26717
    Joined: Mon 02 Jun 2008 6:49 pm
    Weather Station: None
    Operating System: None
    Location: Vienne, France
    Contact:

    Re: getting Devart.Data.MySql errors

    Post by steve » Thu 01 Nov 2018 10:57 am

    I seem to remember this happening to someone else. If the port that Mark refers to gets cleared by whatever means, I think MX doesn't put the default back in again, and an error occurs even if you aren't using MySQL uploads.
    Steve

    scoobs
    Posts: 82
    Joined: Mon 23 Mar 2009 2:50 pm
    Weather Station: WH3080
    Operating System: Windows server
    Location: Skegness

    Re: getting Devart.Data.MySql errors

    Post by scoobs » Thu 01 Nov 2018 4:11 pm

    Thats sorted Cheers.

    Post Reply