Hi all,
I'm getting a very weird issue with a new EP installation. Everytime I click "View in browser" from the Web sites form, AX opens IE and throws an error:

Error
Message: An unhandled error has occurred. To view details about this error, enable debugging in the web.config file or view the Windows event logs.
Source: Microsoft.Dynamics.Framework.BusinessConnector
Exception details:
Wrong type of element at call of ConPoke.
ctively.
(C)\Classes\WebSession\webApplication
(C)\Classes\WebSession\init
at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsSession.HandleException(String message, Exception exception, HandleExceptionCallback callback)
at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsObjectAdapter.Call(String methodName, Object[] paramList)
at Microsoft.Dynamics.Framework.BusinessConnector.Proxy.WebSession.init(Object sessionHelper, Guid siteId, String localRelativeSiteUrl, Boolean isAxaptaSite, String masterClass, Boolean isPostBack, Boolean isPostSafe, Boolean isSharepoint)
at Microsoft.Dynamics.Framework.Portal.AxWebSession.InitializeWebSession(Guid siteId, String localSiteLink, Boolean isAxaptaSite, String masterClass, Boolean isPostBack, Boolean isPostSafe, Boolean isSharePoint)
at Microsoft.Dynamics.Framework.Portal.AxSharepointWebSession.InitWeb(HttpContext context, Boolean isPostBack)
at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsSession.AddRef(ICacheContext context, Object lockobject)
I have deleted all XppIL file, full compile, generate full CIL, restart AOS and synchronized the database but the result is the same.
Has anyone seen this error before? Any help appreciated.
Thanks.
*This post is locked for comments
I have the same question (0)