Copied to clipboard

Flag this post as spam?

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


  • Tom Maton 387 posts 660 karma points
    Feb 25, 2010 @ 11:32
    Tom Maton
    0

    Error on installing Contour

    Hi All,

    I have recently purchased Contour for a client and went to install it via the install local package in the developer section got past all the questions to say I accept the the T&C's got to the install and got hte following error;

     

    Cannot insert the value NULL into column 'id', table 'XXX.dbo.cmsMacro'; column does not allow nulls. INSERT fails.
    The statement has been terminated

    Any help would be much appreciated

    Thanks

    Tom

  • Peter Dijksterhuis 1442 posts 1722 karma points
    Feb 25, 2010 @ 11:37
    Peter Dijksterhuis
    0

    Hi Tom,

    looks like your database is missing something. By default, the column id in the table cmsMacro has Identity set to true. This means, when you insert a record, it gets a new number automatically. 

    How did you install the database? Did you use the umbraco-install procedure or did you restore a backup or something?

    HTH,

    Peter

  • Tom Maton 387 posts 660 karma points
    Feb 25, 2010 @ 11:47
    Tom Maton
    0

    Hi Peter,

    It was a DTS from the Live to a dev database box.

    Tom

  • Peter Dijksterhuis 1442 posts 1722 karma points
    Feb 25, 2010 @ 12:01
    Peter Dijksterhuis
    100

    That probably is the cause. You must have more problems on the dev-box then as well, like creating a new textpage.

    You can better create a backup from the DB on the live-server and then restore that on the dev-box. That way the DB stays intact like it should.

    HTH,

    Peter

  • Tom Maton 387 posts 660 karma points
    Feb 25, 2010 @ 12:02
    Tom Maton
    0

    Your right, the DTS has stripped all the Primary Keys out on hte dev box.

    so errors galore!!

    Thanks

    Pete

Please Sign in or register to post replies

Write your reply to:

Draft