AL icon indicating copy to clipboard operation
AL copied to clipboard

September Update: Not able to compile in Dev Client

Open bachii1010 opened this issue 9 years ago • 11 comments

Hi,

I am not able to compile in the dev client and getting the below error. image

Can you please suggest us.

Thanks & Regards Varun Reddy

bachii1010 avatar Sep 15 '17 10:09 bachii1010

Have you tried running the development environment as administrator?

kaspermoerch avatar Sep 15 '17 11:09 kaspermoerch

HI,

Eventhough i run with administrator the error is still comming

bachii1010 avatar Sep 15 '17 11:09 bachii1010

I found that I had to run both scripts in C:\DEMO after each startup

MrDavid5465 avatar Sep 15 '17 12:09 MrDavid5465

Hi David,

Can you name the scripts that needs to be run each time

bachii1010 avatar Sep 15 '17 13:09 bachii1010

SetupDesktop and SetupNavContainer

MrDavid5465 avatar Sep 15 '17 13:09 MrDavid5465

Hi David,

The issue still exists.

can anyone suggest me how to solve this.

bachii1010 avatar Sep 18 '17 09:09 bachii1010

The NAV Developer Preview was not designed for classic development., C/SIDE is added in order to inspect and find information in the base app, which you can use in AL development. Having said that, you can do some development, but currently table changes doesn't work, We will assess and might add more functionality to C/SIDE in the dev preview, but this is clearly not the primary goal of the setup.

freddydk avatar Sep 18 '17 12:09 freddydk

Hi ,

We know that it is not for development But we are using it to export the objects in new syntax.

So when we import our objects into the db to export with new syntax command i cannot compile it.

Please suggest me if i am wrong.

bachii1010 avatar Sep 18 '17 13:09 bachii1010

Ok, yes that scenario is broken in September preview, but I will be updating the template in a few days and re-enabling this scenario. The primary problem here is, that the template defaults to different users in nav and VM admin. If you use the same username (ex. vmadmin) you will be able to use Windows Auth. from C/SIDE to the database - and you will be able to compile. the second problem you might run into if you are using the financials localizatoin is some missing permissions/entitlements (when you do table changes it calls upgrade code and the permission for that is not in place), which also will be updated in a few days.

freddydk avatar Sep 18 '17 13:09 freddydk

btw. I will also add a sample script, which takes all modified objects, create deltas and convert to AL files.

freddydk avatar Sep 18 '17 13:09 freddydk

You should be able to create a new september preview on http://aka.ms/navdeveloperpreview2 - that will give you a devpreview with a few updates, which should enable your scenario. (without script yet)

freddydk avatar Sep 18 '17 14:09 freddydk