web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Query values are not getting resolved into actual one

(0) ShareShare
ReportReport
Posted on by 6

Hello All Experts,

I am trying to login to CRM but there is coming a SQL Generic Error.

I have collected the trace and there is one query that is getting generated but i am not sure which values needs to inside the query in place of C# generic class.

Below is little small chunk query after WHERE clause.

"userquery0".UserQueryId in (select POA.ObjectId from PrincipalObjectAccess POA
where POA.PrincipalId in ('000000-1344-eb11-8127-000000000',(SELECT id from System.Collections.Generic.List`1[Microsoft.SqlServer.Server.SqlDataRecord])) 

But  i am not sure how this highlighted part will have actual values . from where can we get these values.   

any help will be really appreciable.

I have the same question (0)
  • Nya Profile Picture
    29,060 on at

    Hi,

    Is there any Error Description/ Error Detail/ Error Number about it?

    It would be appreciated if you could provide more details such as the above ones, the log or the screenshot.

     

    Best Regards,

    Nya

  • Verified answer
    EmployeeOcta Profile Picture
    6 on at

    Hello All Experts,

    I am able to generate the actual values by using sql server profiler.

    also the issue which i was facing is that due to some reason there were some access teams which were added to user. and it was giving a sql generic error.

    I have removed the access teams records associated with the user and now the issue is resolved.

    Hope this will be helpfull for other people as well.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 80

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans