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

Announcements

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Hamza H Profile Picture

Hamza H 140 Super User 2026 Season 1

#2
Nagaraju_Matta Profile Picture

Nagaraju_Matta 128

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 70 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans