Loading
  • Community Manager (Flexera Software)

    Hi, Apologies for this issue. Seems an ID wasn't removed correctly causing a duplicate mapping.

     

    This has been updated and the SRS Sync in SUS should be working correctly again.

    Selected as Best
    • Not really ... except that the problem started yesterday and that it always seems to be the same duplicate key value (d852d2b9-c30a-4a15-acd5-c6e6c45bd292). The specific command that fails is:

       

      INSERT INTO dbo.tblServiceApplicationMap 

          ([ServiceID], [ApplicationID], [CreatedDate], [CreatedBy]) 

          SELECT

            [ServiceID], [ApplicationID], [CreatedDate], 'SRS'

          FROM #tblServiceApplicationMap t

          WHERE NOT EXISTS (SELECT 0/0 FROM dbo.tblServiceApplicationMap x WHERE x.ServiceID = t.ServiceID AND x.ApplicationID = t.ApplicationID)

       

      I'm not sure if everybody has the same problem...

      Expand Post
  • Same here:

     

    2022-01-13 20:16:53,907 [1] ERROR SnowSoftware.Srs.Common.DataFactoryBase [(null)] - Error when executing SQL command: Error when executing SQL command: Command: INSERT INTO dbo.tblServiceApplicationMap 

        ([ServiceID], [ApplicationID], [CreatedDate], [CreatedBy]) 

        SELECT

          [ServiceID], [ApplicationID], [CreatedDate], 'SRS'

        FROM #tblServiceApplicationMap t

        WHERE NOT EXISTS (SELECT 0/0 FROM dbo.tblServiceApplicationMap x WHERE x.ServiceID = t.ServiceID AND x.ApplicationID = t.ApplicationID).

    System.Data.SqlClient.SqlException (0x80131904): Violation of UNIQUE KEY constraint 'UQ_tblServiceApplicationMap_ApplicationID'. Cannot insert duplicate key in object 'dbo.tblServiceApplicationMap'. The duplicate key value is (d852d2b9-c30a-4a15-acd5-c6e6c45bd292).

    The statement has been terminated.

     

    So the issue is key value: d852d2b9-c30a-4a15-acd5-c6e6c45bd292

     

    Log from 2022-01-12 was fine - so the issue is in the SRS from Yesterday.

     

    Run a manual update right now, but same issue the duplicate key value error is still there.

     

    Regards,

     

    Daniel

     

     

    Expand Post
    • Thanks @Daniel Rehnitz​ ... it looks like a bigger problem then, not just us. The problem started yesterday. We can't do a manual SRS update either.

       

      It looks like it might be time to log support tickets...

  • Yep, seeing the same...

     

    srs log...looking up the ApplicationID in tblApplication, its for Google Slides (Cloud) and the service in tblService (for Google Workspace) received an update yesterday (13th Jan).

    Expand Post
    • Hey thanks @Colin Hardie​ for that additional information. Nice digging, I ran out of time yesterday so didn’t get to check the IDs…

  • I have opened a ticket and Snow Support have requested the logs from SUS for them to investigate. Hopefully this will get resolved soon. I mentioned this thread and made them aware that it's not just us. Hopefully it will be an easy fix.

     

    David

  • Just checked with us and we have the same issue so would appear Snow's SRS has gone belly up with a data corruption for the 2nd time in as many months.

  • +1 - Just checked in my LAB system and having the same error condition there. According to the logs it started to show evidence on 15.01.2022 (logs up to and including 14.01.2022 didn't fail with this error but show successful SRS-Updates)

    @David Hobbs​ : Could you please add this +1 to your ticket? Can you share your ticket number, so we can refer to in case we have to open up our own ticket then.?

    Expand Post
    • Hi @Thomas Hirsch​ of course ... my case number is 04537051. Feel free to mention that. Currently my case is still sitting as 'New', although first line have responded asking for our logs and checking that our server can connect to the internet.

10 of 31

Related  Product Forums


                     → Flexera One



                      → Snow Atlas



                      → FlexNet Manager



                      → Snow License Manager



                       → App Broker


       Need help finding an answer?


        Ask a Question →


Loading
Anybody else getting failed SRS updates?