Partilhar via


企业门户弹出页面“未知错误”

当你运行了AXUpdatePortal后,您在打开弹出页面时可能会碰到如下错误:

Server Error in ''''/'''' Application.--------------------------------------------------------------------------------

Cannot unregister UpdatePanel with ID ''g_04b24860_ce58_4786_a03e_277a946e8eb1_content'' since it was not registered with the ScriptManager.

This might occur if the UpdatePanel was removed from the control tree and later added again, which is not supported.

Parameter name: updatePanel

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: Cannot unregister UpdatePanel with ID ''g_04b24860_ce58_4786_a03e_277a946e8eb1_content'' since it was not registered with the ScriptManager.

This might occur if the UpdatePanel was removed from the control tree and later added again, which is not supported. Parameter name: updatePanel

该问题在弹出页面不包含AxInfolog网络组件时发生。企业门户框架会将网络组件加入默认区域中的页面定义。当网络组件加入页面模板不支持的区域中时,我们会碰到这个错误。不知何故当您第二次打开页面时,情况会好很多,错误不再出现。要想解决该问题,您需要将AxInfolog加入到您弹出页面的页面定义中去,具体操作如下:

 

原文地址:

https://blogs.msdn.com/b/emeadaxsupport/archive/2011/07/06/quot-unexpected-error-quot-when-running-a-pop-up-on-the-enterprise-portal-for-the-first-time.aspx