无法在 Acumatica 中发布单独的定制包
Cannot publish individual customization packages in Acumatica
我的开发工作站遇到了一个奇怪的问题。我无法再使用项目浏览器 window 在 Acumatica 中发布 任何单个 自定义包。但奇怪的是,我仍然可以从主自定义项目屏幕 (SM204505) 毫无问题地发布 ALL packages。这导致了一个笨拙的开发工作流程。
我在次要版本之间升级 Visual Studio 后开始出现此行为:15.9.17 到 15.9.28。
这是项目浏览器中错误的屏幕截图:
事件查看器中的 505 错误跟踪日志:
Exception information:
Exception type: NullReferenceException
Exception message: Object reference not set to an instance of an object.
at PX.Customization.CstValidationProcess.ProcessRequest(HttpContext context) in C:\Bld2\AC-FULL2019R113-JOB1\Sources\NetTools\PX.Web.Customization\Publish\CstValidationProcess.cs:line 89
at ASP.controls_publish_aspx.ProcessRequest(HttpContext context) in c:\AcumaticaSites\TemporaryAspFiles19r119r1\e88eaed994cb3e\App_Web_publish.aspx.cc671b29.dndzcldh.0.cs:line 0
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Request information:
Request URL: http://localhost/2019r1/Controls/Publish.aspx?compile=true&callback_id=0&suffix=40060f45-d71e-4139-9922-bb678ddbdfb1
Request path: /2019r1/Controls/Publish.aspx
User host address: ::1
User: admin
Is authenticated: True
Authentication Type: Forms
Thread account name: IIS APPPOOL\DefaultAppPool
我不确定如何解决这个问题。有什么想法吗?
这是我从 Acumatica 支持部门收到的电子邮件:
我们调查了这个问题,发现它是由与新版本的 .Net Framework 的兼容性引起的。
您可以在此处找到更多详细信息:
此问题已在以下版本中修复:
- 2019 R1 更新 22
- 2019 R2 更新 15
- 2020 R1 更新 13
- 2020 R2 更新 3
作为解决方法,您可以在网站的 web.config(appSettings 部分)中将以下标志设置为 false:<add key="aspnet:DisableAppPathModifier" value="false" />
完整致谢:Dmitry Naumov
我的开发工作站遇到了一个奇怪的问题。我无法再使用项目浏览器 window 在 Acumatica 中发布 任何单个 自定义包。但奇怪的是,我仍然可以从主自定义项目屏幕 (SM204505) 毫无问题地发布 ALL packages。这导致了一个笨拙的开发工作流程。
我在次要版本之间升级 Visual Studio 后开始出现此行为:15.9.17 到 15.9.28。
这是项目浏览器中错误的屏幕截图:
事件查看器中的 505 错误跟踪日志:
Exception information:
Exception type: NullReferenceException
Exception message: Object reference not set to an instance of an object.
at PX.Customization.CstValidationProcess.ProcessRequest(HttpContext context) in C:\Bld2\AC-FULL2019R113-JOB1\Sources\NetTools\PX.Web.Customization\Publish\CstValidationProcess.cs:line 89
at ASP.controls_publish_aspx.ProcessRequest(HttpContext context) in c:\AcumaticaSites\TemporaryAspFiles19r119r1\e88eaed994cb3e\App_Web_publish.aspx.cc671b29.dndzcldh.0.cs:line 0
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Request information:
Request URL: http://localhost/2019r1/Controls/Publish.aspx?compile=true&callback_id=0&suffix=40060f45-d71e-4139-9922-bb678ddbdfb1
Request path: /2019r1/Controls/Publish.aspx
User host address: ::1
User: admin
Is authenticated: True
Authentication Type: Forms
Thread account name: IIS APPPOOL\DefaultAppPool
我不确定如何解决这个问题。有什么想法吗?
这是我从 Acumatica 支持部门收到的电子邮件:
我们调查了这个问题,发现它是由与新版本的 .Net Framework 的兼容性引起的。
您可以在此处找到更多详细信息:
此问题已在以下版本中修复:
- 2019 R1 更新 22
- 2019 R2 更新 15
- 2020 R1 更新 13
- 2020 R2 更新 3
作为解决方法,您可以在网站的 web.config(appSettings 部分)中将以下标志设置为 false:<add key="aspnet:DisableAppPathModifier" value="false" />
完整致谢:Dmitry Naumov