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 :
Finance | Project Operations, Human Resources, ...
Answered

Getting error while clicking on form control Object reference not set to an instance of an object Error in D365fo

(0) ShareShare
ReportReport
Posted on by 60

Hi,

while clicking on form control am getting these error Object reference not set to an instance of an object Error.

Thanks,

Anusha.

I have the same question (0)
  • Verified answer
    Blue Wang Profile Picture
    on at
    RE: Getting error while clicking on form control Object reference not set to an instance of an object Error in D365fo

    Hi Anusha,

    Please follow the suggestions in this thread:

    community.dynamics.com/.../object-reference-is-not-set-to-an-instance-of-an-object-getting-while-clicked-on-button-clicked-method-view-code

  • Anusha Redy Profile Picture
    60 on at
    RE: Getting error while clicking on form control Object reference not set to an instance of an object Error in D365fo

    Hi  Blue Wang,

    Thanks for you reply,

    i tried iis restart,i did full build and sync .but still am getting same type of error.

    Thanks,

    Anusha.

  • Blue Wang Profile Picture
    on at
    RE: Getting error while clicking on form control Object reference not set to an instance of an object Error in D365fo

    Can you elaborate on what you did?

    Whether it appears after adding any customization or other actions

  • Anusha Redy Profile Picture
    60 on at
    RE: Getting error while clicking on form control Object reference not set to an instance of an object Error in D365fo

    I am created one custom form in that form i added Number sequence tab page . while clicking on that tab page am getting the error Object reference not set to an instance of an object Error.

    best regards,

    Anusha.

  • Verified answer
    Mea_ Profile Picture
    60,284 on at
    RE: Getting error while clicking on form control Object reference not set to an instance of an object Error in D365fo

    This error means that you forgot to create an instance of an object before using it. You can easily find exact line of code using debugger, however, we cannot help you because you did not share your code with us. 

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,771

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 806 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 542 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans