惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
酷 壳 – CoolShell
酷 壳 – CoolShell
小众软件
小众软件
Vercel News
Vercel News
Last Week in AI
Last Week in AI
H
Help Net Security
The Cloudflare Blog
L
LangChain Blog
Microsoft Security Blog
Microsoft Security Blog
B
Blog RSS Feed
云风的 BLOG
云风的 BLOG
I
InfoQ
U
Unit 42
美团技术团队
人人都是产品经理
人人都是产品经理
雷峰网
雷峰网
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 叶小钗
Y
Y Combinator Blog
Hugging Face - Blog
Hugging Face - Blog
A
About on SuperTechFans
宝玉的分享
宝玉的分享
量子位
博客园_首页

博客园 - Jacky Xu

Develop a Dynamics AX2012 Report by Visual Studio 2010 Codes Permission Management in AX 2012 Publish AX reports in AX2012 + SQL2008 Create a security policy in Dynamics AX2012 How to use a shared configuration file& Security configuration example in Dynamics AX 2012 Security management in Dynamics AX 2012 Dynamics AX2012 Installation& AOS (Cluster) configuration on Windows 7 Office 2007 Re-installed issue Delete printer sessions on Terminal server for users Launch AX2012 Virtual Machine Change Tracking -- SQL Server 2008 new feature FILESTREAM -- SQL Server2008 New Feature Don't use SQL keyword as your feild name of a table Reports development in Axapta 3 记忆一些SQL语句 终端服务器许可问题 Can't access maintenance plan because Agent XPs component is turned off as part of the security configuration on sql2005 SQL Error log/Event ID(17890): A significant part of sql server process memory has been paged out. This may result.... command命令大全(转自http://blog.dhedu.gov.cn/u/72/archives/2009/14290.html)
Office Excel Add-ins installation for AX 2012 and Dynamic...
Jacky Xu · 2012-04-06 · via 博客园 - Jacky Xu

It is better we install office 2010 add-ins for AX 2012. When i try to install it through Office 2007 SP2 but failed.

1, AX2012 clients reinstall

After the clients of AX2012 was uninstalled, i tried to reinstall it but failed and reported a error:

Setup encountered an unhandled exception and could not be completed. For details see the previous messages in the log

Then checked the log, It said "Object reference not set to an instance of an object" as below.

2012-04-06 10:51:32Z  Message: Object reference not set to an instance of an object.

2012-04-06 10:51:32Z  FullText: System.NullReferenceException: Object reference not set to an instance of an object.
2012-04-06 10:51:32Z    at Microsoft.Dynamics.Setup.Components.ClientUI.GetCurrentClientConfigurationPath()
2012-04-06 10:51:32Z    at Microsoft.Dynamics.Setup.Components.ClientUI.GetClientAosServerAndPortFromRegistry()
2012-04-06 10:51:32Z    at Microsoft.Dynamics.Setup.S220ClientAosServerEntry.IsPageApplicable()
2012-04-06 10:51:32Z    at Microsoft.Dynamics.Setup.MainForm.FindNextPage(PageID oldPageID)
2012-04-06 10:51:32Z    at Microsoft.Dynamics.Setup.MainForm.mainFormButtonNext_Click(Object sender, EventArgs e)
2012-04-06 10:51:32Z    at System.Windows.Forms.Control.OnClick(EventArgs e)
2012-04-06 10:51:32Z    at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
2012-04-06 10:51:32Z    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
2012-04-06 10:51:32Z    at System.Windows.Forms.Control.WndProc(Message& m)
2012-04-06 10:51:32Z    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
2012-04-06 10:51:32Z    at System.Windows.Forms.Button.WndProc(Message& m)
2012-04-06 10:51:32Z    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
2012-04-06 10:51:32Z    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

It seems that the client can't find AOS instance but not sure. I tried many times and the issue still existed.

Then i try to install an AOS instance with the client (client, addins, remote), the process can be completed. At the end, the client was installed and it can access original AOS.

2, In Office 2010, office add-ins can be installed for AX2012 successfully.

Then open Excel2010, it has a tab named Dynamics AX on the head of Excel 2010.

Connection button: show which company and AOS information you log on; if you can't connect to the server, please check regedit:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\Excel\Addins\Microsoft.Dynamics.AX.Framework.OfficeAddin.Excel->Manifest's data change to  

file:///C:/Program Files (x86)\Microsoft Dynamics AX\60\OfficeAddins\Microsoft.Dynamics.AX.Framework.OfficeAddin.Excel.vsto|vstolocal

Add data/Add table button, you can select AX2012 tables to Excel. If you select one table, it will drag a default group field Excel.

  You can drag others tables which it has a flag similar as * to the right area.

Refresh Current button to display the table data in Excel from AX2012.