Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. 1.1.4 database upgrade error

1.1.4 database upgrade error

Scheduled Pinned Locked Moved Support
13 Posts 3 Posters 32.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V
    V
    Victor Kirhenshtein
    wrote on last edited by
    #2

    Please execute manually the following query:

    ALTER TABLE business_services DROP CONSTRAINT DF__business___paren__4B0D20AB;

    and then run upgrade again.

    Best regards,
    Victor

    1 Reply Last reply
    0
    • D
      D
      DanG
      wrote on last edited by
      #3

      running the alter tabel returns the following error:
      Msg 4902, Level 16, State 1, Line 2
      Cannot find the object "business_services" because it does not exist or you do not have permissions.

      It souldn't be premission as I'm logged in as sa.

      Tried deleting using the SQL Server Management Studio, however I get the same:
      The Defualt "DF_business..." does not exist.

      Any Idea?

      Dan

      1 Reply Last reply
      0
      • V
        V
        Victor Kirhenshtein
        wrote on last edited by
        #4

        Try to login with same user as NetXMS server or use fully qualified name, most likely something like dbo.DF__business___paren__4B0D20AB or netxms.DF__business___paren__4B0D20AB. You should see fully qualified table names in management studio under <database>/tables.

        Best regards,
        Victor

        1 Reply Last reply
        0
        • D
          D
          DanG
          wrote on last edited by
          #5

          I used fully qualified name, but that didn't work. Loging under the NetXMS user did it.

          Upgrading the database then gave following error:
          Upgrading database...
          Upgrading from version 236 to 237
          SQL query failed ([Microsoft][SQL Server Native Client 10.0][SQL Server]The obje
          ct 'DF__business___statu__4C0144E4' is dependent on column 'status'.):
          ALTER TABLE business_services DROP COLUMN status
          Rolling back last stage due to upgrade errors...

          Which i removed with :
          ALTER TABLE business_services DROP CONSTRAINT DF__business___statu__4C0144E4;

          After that database upgrade when on to success:

          Upgrading database...
          Upgrading from version 236 to 237
          Upgrading from version 237 to 238
          Upgrading from version 238 to 239
          Upgrading from version 239 to 240
          Database upgrade succeeded

          I can now start the core service.

          Thanks Victor.

          I guess this sould be corrected in the install  procedure?

          Dan

          1 Reply Last reply
          0
          • V
            V
            Victor Kirhenshtein
            wrote on last edited by
            #6

            Yes, of course it will be corrected. Looks like 1.1.4 is one of the worst releases for the project history 😞 I'll do a 1.1.5 release this week with the fixes.
            Btw, in 1.1.4 we have replaced old mssql.ddr with new one, which uses SQL Server Native Client, so it should work on modern Windows versions with SQL Server 2005 and up.

            Best regards,
            Victor

            1 Reply Last reply
            0
            • D
              D
              DanG
              wrote on last edited by
              #7

              This makes upgrading such a fun I guess  ;D
              Once 1.1.5 is out I'll try using the native sql driver.

              Thanks again.

              Dan

              1 Reply Last reply
              0
              • D
                D
                DanG
                wrote on last edited by
                #8

                Victor,

                Maybe another minor upgrade issue: the NetXMs Management Console shows 1.1.3 in the help/about dialog.

                Dan

                1 Reply Last reply
                0
                • J
                  J
                  Marco Incalcaterra
                  wrote on last edited by
                  #9

                  I had to add also:

                  ALTER TABLE netxms.business_services DROP CONSTRAINT DF__business___paren__09746778;

                  Now it works fine.

                  Thanks to all.

                  Marco.

                  PS BTW where can I find the mobile client for Android?

                  1 Reply Last reply
                  0
                  • V
                    V
                    Victor Kirhenshtein
                    wrote on last edited by
                    #10

                    Hi!

                    Sorry for delay. I have published apk file for Android client on web site.

                    Best regards,
                    Victor

                    1 Reply Last reply
                    0
                    • J
                      J
                      Marco Incalcaterra
                      wrote on last edited by
                      #11

                      @victor said in 1.1.4 database upgrade error:

                      Sorry for delay. I have published apk file for Android client on web site.

                      Thanks a lot for your efforts! I'm currently on 1.1.3, I guess I have to upgrade to 1.1.4 before using it.

                      1 Reply Last reply
                      0
                      • V
                        V
                        Victor Kirhenshtein
                        wrote on last edited by
                        #12

                        Yes, there was changes in communication protocol, so you need server 1.1.4. And I recommend to wait for 1.1.5 due to all recently discovered upgrade problems.

                        Best regards,
                        Victor

                        1 Reply Last reply
                        0
                        • J
                          J
                          Marco Incalcaterra
                          wrote on last edited by
                          #13

                          @victor said in 1.1.4 database upgrade error:

                          Yes, there was changes in communication protocol, so you need server 1.1.4. And I recommend to wait for 1.1.5 due to all recently discovered upgrade problems.

                          Ok, I'll wait, thank you very much.

                          Marco

                          1 Reply Last reply
                          0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          Powered by NodeBB Contributors
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Users
                          • Groups