Skip to main content

Notifications

Announcements

No record found.

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. 

  • 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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 78 Super User 2025 Season 1

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 72

Overall leaderboard

Product updates

Dynamics 365 release plans