CIL Fails with with no errors/messages

Question Status

Unanswered
Rudi Hansen asked a question on 29 Mar 2016 3:48 AM

When I run CIL compilation on a customer, it just stops with no errors.
The environment has two AOS servers, and the version number is 6.3.2000.326

I tried the following steps with no luck.

  1. Stopped the two AOS servers.
  2. Deleted CIL-files on both AOS Servers.
  3. Start AOS1
  4. Run Full CIL compile.

That did not work, the CIL compile simply stopped with no messages.
Then I did the following.

  1. Stopped the two AOS servers.
  2. Deleted CIL-files on both AOS Servers.
  3. Start AOS1
  4. Run full code compile.
  5. Run full CIL compile
  6. Run Incremental CIL

There was no compile errors from the normal compile, and the CIL still just stops with no errors.

Any idea what the problem might be?

Reply
Douglas Noel responded on 29 Mar 2016 4:41 AM

Hi Rudi,

I remember having had a similar (not exactly the same) issue with an single error (without any text - only the error icon)

Have you tried to truncate the SYSXPPASSEMBLY table right before starting the aos?

And I remember a case, where some strange entries in the SYSCompileIL Table was the reason.

only some hints

but what did you mean with stopped with no messages?  

regards

Douglas

Reply
Rudi Hansen responded on 29 Mar 2016 4:45 AM

I mean that i start CIL and 5-10 seconds later it stops.

It just stops, there are no messages or anything.

Reply
Denis Macchinetti responded on 29 Mar 2016 6:45 AM

Hi Rudi

Try to go through this LCS Solution, fix.lcs.dynamics.com/.../729966;qc=bd3bbf2d9a5639beaf57b6d78f5b710c7beed57506b163c5e7eb2ffd106c8f95

Basically, verify that the Application are sync correctly.

Finally, run again the Full CIL.

On AOS Event Viewer, you aren't able to see any errors?

Reply
Iulian Cordobin responded on 29 Mar 2016 6:55 AM

So, you should be doing the Full CIL generation with only one AOS started (AOS2 should be stopped) - but that sounds something you did in both scenarios.

What about running the AX client when trying to do the CIL with Run as Admin?

Reply
Iulian Cordobin responded on 29 Mar 2016 6:57 AM

Also, the full compile you did was done with AxBuild or built in client compiler? If it was the external one, you should be doing that with both AOS services stopped.

Reply
Rudi Hansen responded on 29 Mar 2016 8:09 AM

Hi Denis, your link is not working.

I think you are linking to something only your company has access to.

Reply
Rudi Hansen responded on 29 Mar 2016 8:11 AM

Hi Lulian.

All processes where done with only one AOS running.

Full compile was done from client.

I will try Run as Admin, (Problem this is on customers Production, so has to be in Service Window)

Reply
Denis Macchinetti responded on 29 Mar 2016 8:20 AM

Try to go through LCS and search the Solution 3368662

Reply
Rudi Hansen responded on 29 Mar 2016 8:26 AM

Thanks Denis, but its not a multi AOS problem.

When i do the compile I am only using one AOS.

Reply
Denis Macchinetti responded on 29 Mar 2016 8:56 AM

OK

So, go ahead with the Lulian suggestion.

Reply
Ernest Dmytrenko responded on 29 Mar 2016 1:40 PM

Hello Rudi,

Did you try to see any errors in Event Viewer?  AX must write just anything after CIL stops.

Reply