首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >从第10版升级到第11版

从第10版升级到第11版
EN

Stack Overflow用户
提问于 2019-01-20 08:21:40
回答 1查看 442关注 0票数 0

我使用升级安装程序将我的kentico应用程序项目从10版升级到11版,并使用代码升级实用程序检测代码问题并对其进行修改。用

我收到了成功升级的信息。

当我在本地访问我的网站时,会收到下面的错误消息

代码语言:javascript
复制
`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 

你能帮我解决这个问题吗,谢谢

EN

回答 1

Stack Overflow用户

发布于 2019-01-22 08:16:57

感谢kentico电子邮件指出,只有一个global.ascx.cs文件允许在项目内。我的解决方案包括2,所以我删除了一个global.ascx.cs文件。然后问题解决了。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/54274706

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档