Copied to clipboard

Flag this post as spam?

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


  • pronto 61 posts 172 karma points
    May 17, 2013 @ 11:33
    pronto
    0

    Issues with importing data: Error during load

    Hi Everyone,

    I'm playing around with CMSImport as it looks like a great solution for an Umbraco site I'm working on. However, I'm having major issues when importing data into my Umbraco site. On import I receive the error message within Umbraco:

    Error during load, check the logfile for details Umbraco Exception (DataLayer): SQL helper exception in ExecuteReader


    And in my Umbraco log file there is a lot of "you have an error in your SQL syntax..." messages when creating the CMSImport tables, usually something along the lines of:

    MySql.Data.MySqlClient.MySqlException (0x80004005): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ALTER TABLE DBO.CMSIMPORTSCHEDULEDTASK ADD      IMPORTASUSER INT NULL' at line 1


    I'm by no means an expert at SQL but this error looks like my MySQL version (5.1) is incompatible with CMSImport, does this sound like it's the cause of the issue to anyone? Does anyone know how I can fix these issues?

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    May 17, 2013 @ 11:40
    Richard Soeteman
    0

    Hi,

    CMSImport is indeed not compatible with MySql. It's written fro SQL Server (Express). What you can do is take the create sql from the package file and see if it can be modified to work with MySql. But I don't know if you will run into issues during import.

    Thanks,

    Richard

  • pronto 61 posts 172 karma points
    May 17, 2013 @ 11:46
    pronto
    0

    Hi Richard,

    Thanks for the heads-up; that's a shame as it looks like an awesome project! Thanks anyway! 

  • pronto 61 posts 172 karma points
    May 17, 2013 @ 17:02
    pronto
    0

    Sorry, quick bump. Does anyone know if this would run on MS SQL as well as SQL Server Express? Can it run on both versions?

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    May 18, 2013 @ 06:32
    Richard Soeteman
    0

    Hi,

    Yes both SQL Server as SQL Server express is supported.

    Cheers,

    Richard

  • Laura DiPiazza 13 posts 33 karma points
    Sep 26, 2013 @ 22:12
    Laura DiPiazza
    0

    Is sql server express 2012 supported?

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Sep 26, 2013 @ 22:27
    Richard Soeteman
    0

    Yes should work as expected.

Please Sign in or register to post replies

Write your reply to:

Draft