49
Views
5
Comments
Solved
[Discovery] Discovery Error Executing Query
discovery
Web icon
Forge component by Francisco Menezes
Application Type
Traditional Web
Platform Version
11.18.1 (Build 38276)

Discovery stopped working in our environment. It used to show all our apps and modules but it is now no longer doing so. After some digging, I've noticed that the time SnapShot_Create is generating an error executing query. 

This error is also causing AI mentor to not add new modules.

Attached is a sample error log.


Discovery version is V6.0.3




Discovery-error.txt
AI-Mentor-Discovery-Warning.png
Solution

Hi Abdulaziz,

Can you please try to open the DiscoveryProbe module in Service Studio and change the below aggregate with a long timeout? Please publish and try to create a snapshot again

Aggregate name (as mentioned in the error) is CreateModuleDefinitionsForExtensions2


Hi Hammoudeh,

This solved my issue, thank you.

Regards,

Abdulaziz

hi @Abdulaziz Attas ,

Please try to delete the application and re-install the same from forge.

Hi Abdulaziz,


Please enter in the Modules Layers screen and see if you have any layer configured:


From the error your posted is failing inserting a record due to the constraint on the {ModuleDef}.[ParentId] column that has a constraint for the {ModuleLayer} entity due to the "Protect" Delete Rule.

The Layer that is being sent to the query is the lowest configured ModuleLayer.


Just make sure you have the layers configured and hopefully that problem will be fixed.


Regards,

Cláudio Oliveira


Hello, 

First of all apologies for you having this error.

Can you please validate if it's all okay with your Discovery Module Layer configurations? Or did you change/update/customize any of these Layers/Colours etc...?


Best regards,

ROM


Solution

Hi Abdulaziz,

Can you please try to open the DiscoveryProbe module in Service Studio and change the below aggregate with a long timeout? Please publish and try to create a snapshot again

Aggregate name (as mentioned in the error) is CreateModuleDefinitionsForExtensions2


Hi Hammoudeh,

This solved my issue, thank you.

Regards,

Abdulaziz

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.