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 :
Microsoft Dynamics CRM (Archived)

Dynamics CRM 4.0 Error when Creating Custom Entities

(0) ShareShare
ReportReport
Posted on by 40

I am attempting to add a new custom entity when deploying a customer form.

I simply enter the entity's short name and plural name and set it to Ownership=User and click save and get a message that it failed.

Links to http://go.microsoft.com/fwlink/?LinkId=98746, when when I click on "Microsoft Dynamic CRM Community"

note: I have the system administrator role.

Could you help me? 


*This post is locked for comments

I have the same question (0)
  • Verified answer
    Gus Gonzalez Profile Picture
    27,113 on at
    Re: Dynamics CRM 4.0 Error when Creating Custom Entities

    Did you run out of disk space in your SQL Server?

    I think I saw this once and that was the issue.

    Also, make sure that the Async Service is running on the CRM server.

    Good Luck!

  • Verified answer
    Shanmugaraja Muthalagu Profile Picture
    115 on at
    Re: Dynamics CRM 4.0 Error when Creating Custom Entities

    I am facing the the same issue : In CRM 4.0, Error when Creating Custom Entities

    Even  SQL Server has enough space and Async Service is running on CRM server successfully.

    Please help me out !

    Thank You !

    Regards ,

    Raja

  • Yong Long Profile Picture
    40 on at
    Re: Dynamics CRM 4.0 Error when Creating Custom Entities

    Hi guys,

    Thanks for your great supports!

  • Mohammad Atif Profile Picture
    on at
    Re: Dynamics CRM 4.0 Error when Creating Custom Entities

    Hi,

    Is this a CRM Online organization or CRM on premise?

    If this is CRM online can you please enable the tracing and dev. errors and send the stack of the error message.

    Thanks,

    Mohammad

  • Shanmugaraja Muthalagu Profile Picture
    115 on at
    Re: Dynamics CRM 4.0 Error when Creating Custom Entities

    This is a CRm on Premise. The following error  statement  is in  trace log:

    >MSCRM Error Report:

    --------------------------------------------------------------------------------------------------------

    Error: ExecuteNonQuery requires an open and available Connection. The connection's current state is closed.

    Error Message: ExecuteNonQuery requires an open and available Connection. The connection's current state is closed.

    Source File: Not available

    Line Number: Not available

    Request URL: ...../AppWebServices/SystemCustomization.asmx

    Stack Trace Info: [InvalidOperationException: ExecuteNonQuery requires an open and available Connection. The connection's current state is closed.]

      at System.Data.SqlClient.SqlConnection.GetOpenConnection(String method)

  • Mohammad Atif Profile Picture
    on at
    Re: Dynamics CRM 4.0 Error when Creating Custom Entities

    Hi Shanmugaraja,

    Could you please check the connectivity between CRM server, client machine and SQL server using ODBC or SSMS and let me know if there is no connectivity issue?

    Thanks,

    Mohammad

  • Shanmugaraja Muthalagu Profile Picture
    115 on at
    Re: Dynamics CRM 4.0 Error when Creating Custom Entities

    Hi Mohammad,

                           it is a SQLOLEDB Provider; Connection is working fine .. I can able to edit or add my existing Entity.Problem is only creating entity .

    Thank You ,

    Regards,

    Raja.

  • Mohammad Atif Profile Picture
    on at
    Re: Dynamics CRM 4.0 Error when Creating Custom Entities

    Hi Raja,

    Possible reasons for this issues are :

    1. An orphan view was found at org_mscrm

    2. Added OLEDBTimeout settings

    3. If you have multiple BU, then Probably it might be realted to the system settings or missing indexes

    You may try adding the OLEDB time out value follwing the KB article :support.microsoft.com/.../918609 but if that not resolving the issue, i would suggest you to open a support case with MS as it require more troubleshooing at CRM database.

    Thanks,

    Mohammad

  • Shanmugaraja Muthalagu Profile Picture
    115 on at
    Re: Dynamics CRM 4.0 Error when Creating Custom Entities

    Hi Mohammed Atif,

                                   it is working fine after added the OLEDBTimeout and the ExtendedTimeout registry subkeys to increase the time-out values.  

                                   thank you very much for your help !

    Thank You,

    Regards,

    Raja

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

#3
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans