在 Dynamics AX 2012 TEST 环境中编辑 SSRS 报告
Edit SSRS report within Dynamics AX 2012 TEST environment
好的,在 AX 的实时实例中 - 我转到 AOT,找到我的报告,右键单击编辑。然后启动 VS,我可以编辑报告。但是在测试环境中我不能这样做。 “无法连接到 Microsoft Dynamics AX 客户端配置中指定的 AOS”。
如何将测试环境指向 VS?我已经检查了配置文件,但那里没有什么明显的。
提前致谢。
查看如何Open Visual Studio with a Specific Configuration。
If you are working with reports, the Visual Studio integration uses the active local client configuration to establish the connection. Examples that require a Reporting Services configuration include deploying a report or selecting a query as a data source. To point to the correct AOS in this scenario, create a copy of the configuration file in the Visual Studio integration folder.
为了启动 VS 进行特定更改 VS 快捷方式目标以指向正确的配置:
"C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe" /AxConfig ContosoDev
或
"C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe" /AxConfig z:\Config\ContosoDev.axc
由于 AOT 的原因,这将不起作用,VS 将使用当前配置。
你可以看看here。它与使用默认配置而不是 AXC 文件有关。
有一个KB,虽然它可能不适合你的版本,你可以应用所用的技术:
KB 2827469 Visual Studio .NET launched from within AOT overlooks
AxConfig parameter and any custom config profile. When open VS
Project from AOT SysVSProjectsExport/EditProject() method executes and
it calls the below VSModeling framework Edit method where it is
passing only the selected solution to the devenv.exe file. But since
the current AXClient instance is opened from a saved configuration
file, we have to pass that configuration file to devenv.exe as a
switch "/AxConfig". As this /AxConfig switch is not considered Visual
Studio default considering active AxClient configuration from system
registry.
所以:
Try to open AX from the default configuration and avoid to use the
AXC file. Then, try to edit a VS Project from AOT.
好的,在 AX 的实时实例中 - 我转到 AOT,找到我的报告,右键单击编辑。然后启动 VS,我可以编辑报告。但是在测试环境中我不能这样做。 “无法连接到 Microsoft Dynamics AX 客户端配置中指定的 AOS”。
如何将测试环境指向 VS?我已经检查了配置文件,但那里没有什么明显的。
提前致谢。
查看如何Open Visual Studio with a Specific Configuration。
If you are working with reports, the Visual Studio integration uses the active local client configuration to establish the connection. Examples that require a Reporting Services configuration include deploying a report or selecting a query as a data source. To point to the correct AOS in this scenario, create a copy of the configuration file in the Visual Studio integration folder.
为了启动 VS 进行特定更改 VS 快捷方式目标以指向正确的配置:
"C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe" /AxConfig ContosoDev
或
"C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe" /AxConfig z:\Config\ContosoDev.axc
由于 AOT 的原因,这将不起作用,VS 将使用当前配置。
你可以看看here。它与使用默认配置而不是 AXC 文件有关。
有一个KB,虽然它可能不适合你的版本,你可以应用所用的技术:
KB 2827469 Visual Studio .NET launched from within AOT overlooks AxConfig parameter and any custom config profile. When open VS Project from AOT SysVSProjectsExport/EditProject() method executes and it calls the below VSModeling framework Edit method where it is passing only the selected solution to the devenv.exe file. But since the current AXClient instance is opened from a saved configuration file, we have to pass that configuration file to devenv.exe as a switch "/AxConfig". As this /AxConfig switch is not considered Visual Studio default considering active AxClient configuration from system registry.
所以:
Try to open AX from the default configuration and avoid to use the AXC file. Then, try to edit a VS Project from AOT.