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

Announcements

No record found.

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans