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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

object reference not set to an instance of an object Dynamics.AX..0.Netmodule

(1) ShareShare
ReportReport
Posted on by 217
Hi,
 
I attached w3wp.exe as debugging process in visual studio and started the debugging process. 
During its debugging process, system throws a null exception
 
w3wp.exe object reference not set to an instance of an object Dynamics.AX.<CustomModule>.0.Netmodule.
 
But I have the dll in my C:\AOSService\PackagesLocalDirectory\<CustomModule\bin\Dynamics.AX.<CustomModule>.0.Netmodule.xml
 
  • Verified answer
    Martin Dráb Profile Picture
    240,827 Most Valuable Professional on at
    .netmodule files is where your compiled code is stored. For example, you may have 50 classes, 10 of them in this one particular .netmodule file. But knowing that the exception was thrown by some code of one of the classes (or forms, data entities etc.) isn't sufficient; you need to look at where exactly it was thrown.
     
    For example, click the "Show Call Stack" link.

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 Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 495 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 432 Super User 2026 Season 2

#3
CU10121822-0 Profile Picture

CU10121822-0 366

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans