我使用升级安装程序将我的kentico应用程序项目从10版升级到11版,并使用代码升级实用程序检测代码问题并对其进行修改。用
我收到了成功升级的信息。
当我在本地访问我的网站时,会收到下面的错误消息
`Server Error in '/' Application.
An item with the same key has already been added.
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: An item with the same key
has already been added.
Source Error:
Line 23:
Line 24: // Initialize CMS application. This method should not be
called from custom code.
Line 25: InitApplication();
Line 26: }
Line 27:
Source File: C:\compass_build\CMS\Global.asax.cs Line: 25 你能帮我解决这个问题吗,谢谢
发布于 2019-01-22 08:16:57
感谢kentico电子邮件指出,只有一个global.ascx.cs文件允许在项目内。我的解决方案包括2,所以我删除了一个global.ascx.cs文件。然后问题解决了。
https://stackoverflow.com/questions/54274706
复制相似问题