web
You’re offline. This is a read only version of the page.
close
Skip to main content
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)
  • mobeenmohsin Profile Picture
    on at
    RE: Connection with CRM not created

    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

  • Community Member Profile Picture
    on at
    RE: Connection with CRM not created

    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.

  • Community Member Profile Picture
    on at
    RE: Connection with CRM not created

    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.

  • mobeenmohsin Profile Picture
    on at
    RE: Connection with CRM not created

    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

  • rthompson Profile Picture
    1,532 on at
    RE: Connection with CRM not created

    Have you tried using the developer debugging tool?

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
DAnny3211 Profile Picture

DAnny3211 134

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 106

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 70 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans