Compiling Objects in NAV 2013 Dev Env runs endless

Hi folks,

I’m facing an issue which I do not know how to overcome.

When trying to modify some of the objects in my database I cannot compile.
When pressing F11 on these objects, the system just runs forever but does not compile the object.

It cannot be foreseen when this happens.
I tried a couple of options already:

  • Delete the object, import as text again (for my own objects)
  • Delete the object, load as FOB (Standard Object) and apply changes again, then compile
  • Export all objects as text and load into a clean database
  • Create a NAV Backup, create new database, load Backup

We are using a NAV 2013 original release, no platform nor object hotfixes have been applied.
This is because we must make sure that our AddOn runs on original NAV without any rollups, hotfixes or service packs installed.

We faced a couple of issues with previous versions when we applied hotfixes as customers and partners crashed NAV when the platform was on an older versions.

This is a kind of annoying. Running the compile on other computers usually works - so I guess the problem exists on my machine only. (Windows 8)

Hi Thomas,

Sounds like a real challenge. And based on above and my knowledge of your normal skills into NAV, then I’m sure that you have already tried everything.

So let me start by asking a little of the nature of these changes. Is it anything extra-ordinary, like non-standard C/AL functions, dotnet code or similar?

And have you tried by adding your changes line by line to see when it will suddenly not compile anymore?

In this case, it was as simple as adding a field (ONE FIELD) to a page (Location Card).

This also happens when compiling unchanged objects (from time to time).

But when it started, it will not be able to compile that object at all from that machine until it has been compiled from another machine.

After compiling it from my Windows 8 tablet, I could compile the object as usual from object designer.

When opening the page for design and pressing Ctrl+S (Compile option ticked), the same story starts from the beginning - and sometimes not.

Anyway under normal circumstances I would suggest the same as you did, Eric.

Therefore I give you the credit (you need the points [;)]).

The Problem is not finally solved, but at least I do know now when it happens and when it works.

It happens when I compile an object in NAV2013 Development Environment when no Company is open.

It does not happen when I’m compiling in a Development Environment and I have a Company open.