Skip to main content

Notifications

Community site session details

Community site session details

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

Getting ClrObject Static method error while generating service in AIF 2009

(0) ShareShare
ReportReport
Posted on by 5

HI ,

     When I am trying to generate AIF services in AX 2009, I am getting error message as "ClrObject static method invocation Error, Error in generation".

I followed the below points to troubleshoot it.

  1. Checked event log to identify the issue. but there was no log recorded during encounter of this error.
  2. For a new webservice or new method in the webservice , I have restarted the AOS.
  3. In the AIF parameters, we are using an IIS website for AIF, so ensured that the AIF Server is correct.
  4. Verified whether the folders weren't created for the AifWebServices or not. but it was created .
  5. Also tried with server Admin rights.
  6. Checked whether there is a full access rights to the specified path or not.(It has full access)

but no luck.

In the AifWebServices folder all the services(.SVC, .XDS, web.config file) were getting generated.

when I checked the table "AifServices", the info message was

"The file 'C:\Program Files\Microsoft Dynamics AX\50\AifWebServices\\\Backup\web.config.2021-05-19 5-30-1 AM' already exists.”

so I deleted "web.config.2021-05-19 5-30-1 AM" folder and regenerated but got the same error.

I am not sure what else to do to troubleshoot it.

Any help would be appreciated.

Thanks in Advance.

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 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…

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

#1
Martin Dráb Profile Picture

Martin Dráb 510 Most Valuable Professional

#2
Saalim Ansari Profile Picture

Saalim Ansari 315

#3
Adis Profile Picture

Adis 312 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans