Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Issue with the console exe and the custom code connection string XML file

(0) ShareShare
ReportReport
Posted on by 104
I have written c# code to connect ms dynamics crm online using console application also we have a separate XML file which will store the CRM connection details. However when we built the code  and deployed to UAT it was working . When we deployed it to PROD the exe was still pointing to UAT CRM instead of PROD. we have verified there is no hardcoding involved in the code and reading the data from connection Config file (XML File).
 
Is there anyway to find that the built exe is corrupted or not built properly? If yes, how can we find the root cause of the issue?

Note - When we cleaned the solution and rebuilt the exe again the issue is resolved automatically.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,304 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans