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

Notifications

Announcements

No record found.

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.

I have the same question (0)

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 420 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 241 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans