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 :
Customer experience | Sales, Customer Insights,...
Unanswered

Connection with CRM not created

(0) ShareShare
ReportReport
Posted on by

Hi Everyone,

I am facing a very weird issue. We have a window service which integrates MS CRM 2013 and oracle. I am able to run the service on dev machine without any issue with same configurations on Prod whereas when i deploy service on Production it does not create connection with crm.

5008.error.PNG

There is no exception. I get the logs till inside try  after that there is no log. I am unable to get this issue. Please highlight if I am missing something. Why Nothing is printed in log file after inside try. 

I have the same question (0)
  • rthompson Profile Picture
    1,532 on at

    Have you tried using the developer debugging tool?

  • mobeenmohsin Profile Picture
    on at

    Hi Usman,

    Please help to verify if you can connect with production using sample code using below:

    https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/org-service/quick-start-org-service-console-app

    You can also debug the program to see the issue if any. Thank you.

    Best Regards,

    Mobeen Mohsin

  • Community Member Profile Picture
    on at

    Hi,

    When i try to debug on my dev machine giving credentials of prod, it works fine.

    But in production when i run it as a service it does not give any log after "inside try" as mentioned in the screen shot above.

  • Community Member Profile Picture
    on at

    Hi Mobeen,

    Even when i try to pass hardcoded connection string, still it is not able to log anything. Nor i see any error in the event viewer.

    Any idea ?

    I will also try the above once i get access actually there are some limitations on server for creating new console app.

  • mobeenmohsin Profile Picture
    on at

    Hi Usman,

    It seems that there might be network issue or database problem, can you please check network or server if it is working fine? Thank you.

    Best Regards,

    Mobeen Mohsin

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 > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 81 Super User 2026 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#3
11manish Profile Picture

11manish 62

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans