Error "An unexpected error has occurred while opening the workflow. See the event log on the AOS and contact your system administrator to resolve the issue" on creating the workflow.

Hi All,

At the time of creating workflow. i am getting the error “An unexpected error has occurred while opening the workflow. See the event log on the AOS and contact your system administrator to resolve the issue”.

I tried to resolve it using Full CIL compile but problem still not resolved.

Please suggest me how can i resolve it.

Thanks & Regards

Vijay Raj Nath

Restart the AOS service…

after restarting the services its not working…

Please anybody help me to outcome this problem.

Thanks & Regards

Vijay Raj Nath

Dear Vijay, if the issue is not solved please do not make it verified solution. You’d probably miss the chance of getting help.

Now, for the issue that you are facing it prompts to refer the event log for more information right. Why don’t you paste the event log message here for better understanding of exact problem you are facing.

Hi Vijay,

What is your AX version?

Also before posting your queries, first search this forum please. I did a search for you -

http://dynamicsuser.net/search/SearchResults.aspx?q=An+unexpected+error+has+occurred+while+opening+the+workflow.+See+the+event+log+on+the+AOS+and+contact+your+system+administrator+to+resolve+the+issue&o=Relevance

No .NET Business Connector session could be found.

hi all , m also facing same error and in event viewer m getting msg log as below:

Microsoft.Dynamics.Framework.BusinessConnector.Session.Exceptions.NoKernelSessionException

at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsSession.get_AxaptaAdapter()

at Microsoft.Dynamics.Framework.Portal.CommonControls.VendProfileAccountHelper.IsVendor(ISession session)

at Microsoft.Dynamics.Framework.Portal.CommonControls.VendAccountChooser.get_VendorAccountCollection()

hi ,

are u using ur ax as a client … try to take remote login of that server and try to create the same workflow again …according to me workflow should be create on taking server access only …best take RDP (remote desktop ) access of ur server.

it helped for me,hope u ll also get benefited.

thanks,

mayur

Hi Vijay,

I have faced the same error on two different environment.

Written post for the same, please have a look.

http://allaboutax.blogspot.in/2015/03/error-unexpected-error-has-occurred.html

Regards,

Mehul Thacker