Uploaded image for project: 'WORKTERRA'
  1. WORKTERRA
  2. WT-9681

Floyd, Clarke, Barrow - Server Error when pulling report of custom form questions

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: BenAdmin
    • Labels:
      None
    • Environment:
      Production
    • Bug Type:
      Functional
    • Bug Severity:
      Medium
    • Module:
      BenAdmin - Report
    • Reported by:
      Client
    • Item State:
      Production Complete - Closed
    • Reported by Customer:
      Clear Concepts
    • Sprint:
      WT Sprint 30 -Bugs

      Description

      We are trying to pull a report of the questions on the tobacco custom form for the groups above and I am getting a server error. I am not able to save the report but I have included a screenshot of the report criteria.


        Attachments

        1. 9681_error log.txt
          0.5 kB
        2. 9681_sever error.png
          9681_sever error.png
          199 kB
        3. image-2017-06-01-08-42-55-241.png
          image-2017-06-01-08-42-55-241.png
          80 kB
        4. image-2017-06-01-08-43-03-102.png
          image-2017-06-01-08-43-03-102.png
          88 kB
        5. wt-9681_1.png
          wt-9681_1.png
          171 kB
        6. wt-9681_2.png
          wt-9681_2.png
          176 kB
        7. wt-9681_3.png
          wt-9681_3.png
          173 kB
        8. wt-9681.png
          wt-9681.png
          155 kB
        9. WT-9681.png
          WT-9681.png
          183 kB

          Issue Links

            Activity

            Hide
            rakeshr Rakesh Roy (Inactive) added a comment - - edited

            App error log-
            ErrorID : 0
            ErrorSource : ControllerAppTier.Save->BenAdminControllerAppTier.Save->ReportDetails.Save->ReportDetails.GetQuery
            ErrorMessage: SELECT failed because the following SET options have incorrect settings: 'QUOTED_IDENTIFIER'. Verify that SET options are correct for use with indexed views and/or indexes on computed columns and/or filtered indexes and/or query notifications and/or XML data type methods and/or spatial index operations.
            StackTrace: at WORKTERRA.BenAdmin.BenAdminControllerAppTier.Save(BenAdminControllerWebTierEntity objBenAdminControllerWebTierEntity)

            Web error log-
            Exception : SELECT failed because the following SET options have incorrect settings: `QUOTED_IDENTIFIER`. Verify that SET options are correct for use with indexed views and/or indexes on computed columns and/or filtered indexes and/or query notifications and/or XML data type methods and/or spatial index operations.
            App Error Log : ControllerAppTier.Save->BenAdminControllerAppTier.Save->ReportDetails.Save->ReportDetails.GetQuery
            Employee ID : 0
            Action Name : SavePreviewReport
            Model : System.Web.Mvc.HandleErrorInfo
            Controller : Report
            Web Error Log : at WORKTERRA.BenAdmin.BenAdminControllerWebTier.Save(ObjectType I_objectType, Object objInputObject, Object I_context, Boolean I_mode)
            at WORKTERRA.BenAdmin.Areas.Report.Controllers.ReportController.PreviewReport(StandardReportsModel objStandardReportsModel)
            at WORKTERRA.BenAdmin.Areas.Report.Controllers.ReportController.SavePreviewReport(StandardReportsModel objStandardReportsModel, String SubmitType)
            at lambda_method(Closure , ControllerBase , Object[] )

            Show
            rakeshr Rakesh Roy (Inactive) added a comment - - edited App error log- ErrorID : 0 ErrorSource : ControllerAppTier.Save->BenAdminControllerAppTier.Save->ReportDetails.Save->ReportDetails.GetQuery ErrorMessage: SELECT failed because the following SET options have incorrect settings: 'QUOTED_IDENTIFIER'. Verify that SET options are correct for use with indexed views and/or indexes on computed columns and/or filtered indexes and/or query notifications and/or XML data type methods and/or spatial index operations. StackTrace: at WORKTERRA.BenAdmin.BenAdminControllerAppTier.Save(BenAdminControllerWebTierEntity objBenAdminControllerWebTierEntity) Web error log- Exception : SELECT failed because the following SET options have incorrect settings: `QUOTED_IDENTIFIER`. Verify that SET options are correct for use with indexed views and/or indexes on computed columns and/or filtered indexes and/or query notifications and/or XML data type methods and/or spatial index operations. App Error Log : ControllerAppTier.Save->BenAdminControllerAppTier.Save->ReportDetails.Save->ReportDetails.GetQuery Employee ID : 0 Action Name : SavePreviewReport Model : System.Web.Mvc.HandleErrorInfo Controller : Report Web Error Log : at WORKTERRA.BenAdmin.BenAdminControllerWebTier.Save(ObjectType I_objectType, Object objInputObject, Object I_context, Boolean I_mode) at WORKTERRA.BenAdmin.Areas.Report.Controllers.ReportController.PreviewReport(StandardReportsModel objStandardReportsModel) at WORKTERRA.BenAdmin.Areas.Report.Controllers.ReportController.SavePreviewReport(StandardReportsModel objStandardReportsModel, String SubmitType) at lambda_method(Closure , ControllerBase , Object[] )
            Hide
            jaideep.vinchurkar Jaideep Vinchurkar (Inactive) added a comment -
            Show
            jaideep.vinchurkar Jaideep Vinchurkar (Inactive) added a comment - CC: Prasanna Karlekar
            Hide
            jyoti.agrawal Jyoti Agrawal (Inactive) added a comment -

            Hi Debbie Kulling,

            We are working on it. Will update you by Monday(06/05/17).

            Thanks,
            Jyoti Agrawal

            CC: Prasanna Karlekar

            Show
            jyoti.agrawal Jyoti Agrawal (Inactive) added a comment - Hi Debbie Kulling , We are working on it. Will update you by Monday(06/05/17). Thanks, Jyoti Agrawal CC: Prasanna Karlekar
            Hide
            dkulling Debbie Kulling added a comment -

            Please note we are having this issue pulling any custom form fields. It is not just the Tobacco questions. Please test all custom forms on the report.

            Show
            dkulling Debbie Kulling added a comment - Please note we are having this issue pulling any custom form fields. It is not just the Tobacco questions. Please test all custom forms on the report.
            Hide
            jyoti.agrawal Jyoti Agrawal (Inactive) added a comment - - edited

            Hi Debbie Kulling,

            Below are 3C's :-
            Concern:- Server Error when pulling report of custom form questions.

            Cause :- On selection of custom form fields we were creating a physical temporary table at runtime. This table also needs to be dropped once used.
            A trigger 'TR_ProtectTables' at database level was restricting the drop of table. This was causing server error.

            Correction :- We observed this issue on Floyd and Barrow.Hence, for now we have disabled the trigger on Floyd and Barrow. We have verified by selecting all custom fields.
            Also, we are checking with our DBA for permanent fix.

            CC:Prasanna Karlekar,Indraprakash Tiwari,Satya

            Thanks,
            Jyoti Agrawal

            Show
            jyoti.agrawal Jyoti Agrawal (Inactive) added a comment - - edited Hi Debbie Kulling , Below are 3C's :- Concern :- Server Error when pulling report of custom form questions. Cause :- On selection of custom form fields we were creating a physical temporary table at runtime. This table also needs to be dropped once used. A trigger 'TR_ProtectTables' at database level was restricting the drop of table. This was causing server error. Correction :- We observed this issue on Floyd and Barrow.Hence, for now we have disabled the trigger on Floyd and Barrow. We have verified by selecting all custom fields. Also, we are checking with our DBA for permanent fix. CC: Prasanna Karlekar , Indraprakash Tiwari , Satya Thanks, Jyoti Agrawal
            Hide
            dkulling Debbie Kulling added a comment -

            Thank you. I confirmed I was able to run the reports. Please advise when a permanent fix is complete

            Show
            dkulling Debbie Kulling added a comment - Thank you. I confirmed I was able to run the reports. Please advise when a permanent fix is complete
            Hide
            jyoti.agrawal Jyoti Agrawal (Inactive) added a comment -

            Hi Debbie Kulling,

            Permanent fix for this will be deployed on our environment by tomorrow(06/07/17). Further details for deployment on Stage and Production environment will be shared by QA.

            CC: Sachin Hingole,Satya,Prasanna Karlekar,Indraprakash Tiwari

            Thanks,
            Jyoti Agrawal

            Show
            jyoti.agrawal Jyoti Agrawal (Inactive) added a comment - Hi Debbie Kulling , Permanent fix for this will be deployed on our environment by tomorrow(06/07/17). Further details for deployment on Stage and Production environment will be shared by QA. CC: Sachin Hingole , Satya , Prasanna Karlekar , Indraprakash Tiwari Thanks, Jyoti Agrawal
            Hide
            jyoti.agrawal Jyoti Agrawal (Inactive) added a comment -

            Following permanent fix was done :-
            After discussion with DBA, we have dropped the trigger 'TR_ProtectTables' from all databases as this was no more in use.

            CC: Satya,Indraprakash Tiwari,Prasanna Karlekar

            Thanks,
            Jyoti Agrawal

            Show
            jyoti.agrawal Jyoti Agrawal (Inactive) added a comment - Following permanent fix was done :- After discussion with DBA, we have dropped the trigger 'TR_ProtectTables' from all databases as this was no more in use. CC: Satya , Indraprakash Tiwari , Prasanna Karlekar Thanks, Jyoti Agrawal
            Hide
            rakeshr Rakesh Roy (Inactive) added a comment -

            Sanjana Jadhav Please check this issue.

            [~meghana joshi]Sachin HingoleHrishikesh Deshpande

            Show
            rakeshr Rakesh Roy (Inactive) added a comment - Sanjana Jadhav Please check this issue. [~meghana joshi] Sachin Hingole Hrishikesh Deshpande
            Hide
            sanjana.jadhav Sanjana Jadhav (Inactive) added a comment -

            Verified on LB.
            Report saved succesfully.
            Ready for stage.
            PFA,

            Thanks,
            Sanjana Jadhav

            CC: Rakesh Roy Hrishikesh Deshpande Sachin Hingole

            Show
            sanjana.jadhav Sanjana Jadhav (Inactive) added a comment - Verified on LB. Report saved succesfully. Ready for stage. PFA, Thanks, Sanjana Jadhav CC: Rakesh Roy Hrishikesh Deshpande Sachin Hingole
            Hide
            sanjana.jadhav Sanjana Jadhav (Inactive) added a comment -

            Hi Prasanna Karlekar
            Verified on stage
            Getting server error and not able to save report.
            PFA and error log
            9681_error log.txt

            Thanks,
            Sanjana Jadhav

            CC: Rakesh Roy Hrishikesh Deshpande

            Show
            sanjana.jadhav Sanjana Jadhav (Inactive) added a comment - Hi Prasanna Karlekar Verified on stage Getting server error and not able to save report. PFA and error log 9681_error log.txt Thanks, Sanjana Jadhav CC: Rakesh Roy Hrishikesh Deshpande
            Hide
            prasanna Prasanna Karlekar (Inactive) added a comment -

            Hi Sanjana Jadhav,

            Please create new JIRA for this issue.
            Fix done was related to TR_ProtectTables trigger. Issue mentioned in 9681_error log.txt is due to improper configuration of additional fields.

            cc: Jyoti Agrawal, Hrishikesh Deshpande

            Show
            prasanna Prasanna Karlekar (Inactive) added a comment - Hi Sanjana Jadhav , Please create new JIRA for this issue. Fix done was related to TR_ProtectTables trigger. Issue mentioned in 9681_error log.txt is due to improper configuration of additional fields. cc: Jyoti Agrawal , Hrishikesh Deshpande
            Hide
            sanjana.jadhav Sanjana Jadhav (Inactive) added a comment -

            Verified on stage.
            Able to save report.
            Ready for production.
            PFA,


            Thanks,
            Sanjana Jadhav.

            CC: Rakesh Roy Hrishikesh Deshpande

            Show
            sanjana.jadhav Sanjana Jadhav (Inactive) added a comment - Verified on stage. Able to save report. Ready for production. PFA, Thanks, Sanjana Jadhav. CC: Rakesh Roy Hrishikesh Deshpande
            Hide
            sanjana.jadhav Sanjana Jadhav (Inactive) added a comment -

            Verified on production.
            Report saved succesfully.
            PFA,

            Thanks,
            Sanjana Jadhav

            CC: Rakesh Roy Hrishikesh Deshpande Sachin Hingole

            Show
            sanjana.jadhav Sanjana Jadhav (Inactive) added a comment - Verified on production. Report saved succesfully. PFA, Thanks, Sanjana Jadhav CC: Rakesh Roy Hrishikesh Deshpande Sachin Hingole

              People

              Assignee:
              sanjana.jadhav Sanjana Jadhav (Inactive)
              Reporter:
              dkulling Debbie Kulling
              Account Executive:
              Debbie Kulling
              Developer:
              Jyoti Agrawal (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Code Review Date:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0h
                  0h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 13.7h
                  13.7h