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 CRM (Archived)

Error CS8103 Combined length of user strings used by the program exceeds allowed limit. Try to decrease use of string literals.

(0) ShareShare
ReportReport
Posted on by 12

We are retrieving the  WarehouseInventoryStatusesOnHand entity data from Operations using the Console Application(C#)  by using the below url   https://abcdefg****.sandbox.operations.dynamics.com/data/$metadata   

The purpose of this integration is to get the live inventory stocks from AX into CRM.

We have added the required OdataClient.tt files  then  OdataClient.cs get generated.

Also we have added the ClientConiguration.cs and OAuthHelper.cs classes  as suggested in the blogs  and GITHUB.

github.com/.../ServiceSamples

https://community.dynamics.com/365/financeandoperations/b/365operationswithsukrut/archive/2017/12/03/integration-with-dynamics-365-for-operations-using-odata-proxy-generator

But while building the solution below error is coming.

Error CS8103 Combined length of user strings used by the program exceeds allowed limit. Try to decrease use of string literals.

 

I'm using the Visual Studio 2015 and .Net Framework 4.6.1

Can anyone suggest how to handle this issue or give solution/approach on the same.

*This post is locked for comments

I have the same question (0)

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 CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans