架构:
AOS 服务器:运行 Windows Server 2008 r2 std 64 位西班牙语。
Enterprise Portal Server:运行 Windows Server 2008 r2 std 64 位西班牙语、SharePoint 2010 Foundation 64 位、IIS 7.5
数据库服务器:运行 Window Server 2008 r2 std 64 位西班牙语、SQL Server 2008 std r2 64 位西班牙语、Reporting Services 和分析服务2008 r2 64 位西班牙语。
问题:
更新到 Dynamics AX 2009 Rollup 7 后,我们遇到以下错误。这是EP门户首次实施和部署。我已经尝试了很多建议,但没有处理这个问题。
EP 用户无法浏览 EP 页面。下面是 EP 页面中出现的错误的快照。像往常一样,Sharepoint 不会显示信息性/描述性错误,并且调试 sharepoint 页面非常困难,因此我的下一个赌注是查看事件查看器以获取更详细的错误描述。
事件查看器日志:
动态对象适配器调用失败线程被中止
System.Threading.ThreadAbortException
在 AxCore_Call(UInt64 、 Char* 、 tagVARIANT* 、 Int32 、 tagVARIANT* )
在 Microsoft.Dynamics.BusinessConnectorNet.AxaptaObject.Call(String methodName, Object[] paramList)
在 Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsObjectAdapter.Call(String methodName)
Microsoft Dynamics AX Business Connector 会话 444。
线程被中止。
在 AxCore_Call(UInt64 、 Char* 、 tagVARIANT* 、 Int32 、 tagVARIANT* )
在 Microsoft.Dynamics.BusinessConnectorNet.AxaptaObject.Call(String methodName, Object[] paramList)
Microsoft Dynamics 会话发布失败。
找不到 .NET Business Connector 会话。
Microsoft.Dynamics.Framework.BusinessConnector.Session.Exceptions.NoKernelSessionException
在 Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsSession.get_AxaptaAdapter()
在 Microsoft.Dynamics.Framework.Portal.AxWebSession.WebSessionClientRemove()
在 Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsSession.Release(ICacheContext context)
我可以根据需要提供其他详细信息。这对我来说似乎是一个错误,任何人都可以帮助或确认吗?
Arquitecture:
AOS Server: Running windows server 2008 r2 std 64 bits spanish.
Enterprise Portal Server: Running windows server 2008 r2 std 64 bits spanish, SharePoint 2010 Foundation 64 bits, IIS 7.5
DataBase server: Running Window server 2008 r2 std 64 bits spanish, SQL Server 2008 std r2 64 bits spanish, Reporting Services and analysis services both 2008 r2 64 bits spanish.
Issue:
After update to Dynamics AX 2009 Rollup 7 we are experiencing the following error. This is the first time EP portal is implemented and deployed. I have try so many suggestions but non deals with this.
EP Users are not able to navigate through the EP pages. Below is the snapshot of the error which comes up in the EP Page. Sharepoint as usual doesn't show informative/descriptive errors and it's quite difficult to debug sharepoint pages, so my next bet was to look into Event Viewer to get a more detailed description of the error.
Event Viewer Log:
Dynamics Object Adapter Call failed Thread was being aborted
System.Threading.ThreadAbortException
at AxCore_Call(UInt64 , Char* , tagVARIANT* , Int32 , tagVARIANT* )
at Microsoft.Dynamics.BusinessConnectorNet.AxaptaObject.Call(String methodName, Object[] paramList)
at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsObjectAdapter.Call(String methodName)
Microsoft Dynamics AX Business Connector Session 444.
Thread was being aborted.
at AxCore_Call(UInt64 , Char* , tagVARIANT* , Int32 , tagVARIANT* )
at Microsoft.Dynamics.BusinessConnectorNet.AxaptaObject.Call(String methodName, Object[] paramList)
Session Release for Microsoft Dynamics failed.
No .NET Business Connector session could be found.
Microsoft.Dynamics.Framework.BusinessConnector.Session.Exceptions.NoKernelSessionException
at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsSession.get_AxaptaAdapter()
at Microsoft.Dynamics.Framework.Portal.AxWebSession.WebSessionClientRemove()
at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsSession.Release(ICacheContext context)
I can provide additional details if needed. This seems like a bug to me, can any body help or confirm?.
发布评论
评论(2)
我会首先撤回解决方案并再次部署它。
在 sharepoint 2010 上,位于“中央管理”>“系统设置”>“场管理”>“管理场解决方案”。在这里阅读更多内容:http://www.techformingpains.com/2010/07/adding-deploying-removing-and-most-all-things-involving-solutions-and-sharepoint-2010/
你可以然后再次尝试更新 Web 部件。导航到 C:\Program Files\Microsoft Dynamics AX\50\Setup 并运行 AxUpdatePortal.exe -updateWebSites -iisreset。在此处阅读更多信息:http://blogs.msdn.com/b/emeadaxsupport/archive/2009/05/13/updating-enterprise-portal-from-dynamics-ax-2009-client-fails-on-a- 64位-microsoft-windows-server.aspx
I would first retract solution and deploy it again.
On sharepoint 2010 it's at Central Admin>system settings>farm management>Manage farm solutions. Read more here: http://www.techgrowingpains.com/2010/07/adding-deploying-removing-and-most-all-things-involving-solutions-and-sharepoint-2010/
You could then also try to update the web parts again. Navigate to C:\Program Files\Microsoft Dynamics AX\50\Setup and run AxUpdatePortal.exe -updateWebSites -iisreset. Read more here: http://blogs.msdn.com/b/emeadaxsupport/archive/2009/05/13/updating-enterprise-portal-from-dynamics-ax-2009-client-fails-on-a-64bit-microsoft-windows-server.aspx
我认为你的问题的关键在于:
我已经多次看到这种情况出现。在安装 EP 的服务器上,转到 AX 配置实用程序并将配置目标更改为 Business Connector(非交互式使用)。
确保配置信息设置正确并且可以连接到您的 AOS。 BC 将使用此处存储的任何设置。如果自安装后未更改它们,您将无法与 AX 建立所需的连接。
I think that the key to your issue lies in this:
I have seen this crop up a number of times. On the server where EP is installed, go to the AX Configuration Utility and change the configuration Target to Business Connector (non interactive use).
Ensure that the configuration information is set correctly and that it can connect to your AOS. BC will use whatever settings are stored here. If you have not changed them since the installation, you will not be able to make the needed connections to AX.