Issue 1: Experience the error saying “code=17003 message=get embedded syntax object failed” when running the application.

Issue2:  The type initializer for 'Appeon.ApplicationDB.DataAccess' threw an exception when executing the IOS program.

Cause: Insufficient permission to access the directory C:\inetpub\wwwroot\appeon\AEM\DB

Solution: Follow up the steps below to resolve this issue.

1.  Right click the C:\Inetpub\wwwroot folder and select the Properties items and go to the Security tab page.

2.  Add Everyone group if it is not listed in the box "Group or user names".

3.  Grant Full Control permission to the added Everyone group.

4.  Repeat step 1~3 above to make sure the license.appeon folder (C:\inetpub\wwwroot\appeon\AEM\bin) has been granted the full permission to the Everyone Group.

5.  Restart the IIS.

For issue 1, except granting the full permission to the Everyone Group, you also need to delete the sub-application under the directory C:\inetpub\wwwroot\appeon\AEM\DB, and then do a full Application deployment.

In order to avoid this kind of issues, we strongly recommend you to grant the full permission to the entire directory of wwwroot once you get the Appeon server installed.

P.S. Below is the detailed error message for issue 2.

  System.TypeInitializationException: The type initializer for 'Appeon.ApplicationDB.DataAccess' threw an exceptio n. ---> System.NullReferenceException: Object reference not set to an instance of an object.

   at Appeon.ApplicationDB.DataAccess.InitDeviceData(String sql)

   at Appeon.ApplicationDB.DataAccess.UpgradeDB()

   at Appeon.ApplicationDB.DataAccess..cctor()

   --- End of inner exception stack trace ---

   at Appeon.ApplicationDB.DataAccess.GetWinodwsInfoCount(String applicationName)

   at AEM.SecurityConfig.ApplicationConfiguration.BindGrid()

   at AEM.SecurityConfig.ApplicationConfiguration.Page_Load(Object sender, EventArgs e)

   at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)

   at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)

   at System.Web.UI.Control.OnLoad(EventArgs e)

   at System.Web.UI.Control.LoadRecursive()

   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

2
1