DotNetNuke 升级 Telerik 错误
我正在尝试从 05.05.00 升级到 05.06.03 并遇到 Telerik-Install-Errors,但我无法解决。 有人可以帮忙吗?
00:00:00.015 - 安装软件包文件 Telerik_05.04.00_Install:错误! 00:00:01.466 - 安装软件包文件 Telerik_05.05.00_Install:错误! 00:00:02.059 - 安装软件包文件 Telerik_05.06.02_Install:错误! 00:00:02.683 - 安装软件包文件 Telerik_05.06.03_Install:错误!
I'm trying to upgrade from 05.05.00 to 05.06.03 and getting Telerik-Install-Errors which I can't solve..
Anyone can help?
00:00:00.015 - Installing Package File Telerik_05.04.00_Install: Error!
00:00:01.466 - Installing Package File Telerik_05.05.00_Install: Error!
00:00:02.059 - Installing Package File Telerik_05.06.02_Install: Error!
00:00:02.683 - Installing Package File Telerik_05.06.03_Install: Error!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
这是一个相当常见的升级错误,但很容易修复。
首先,手动安装 Telerik_05.06.03 以获取正确版本的
Telerik.Web.UI.dll
,然后使用扩展安装程序重新安装它,以避免将来出现相同的升级错误。手动安装说明:
将 Telerik 安装包解压到方便的位置。该包可以在以下位置找到:
DotNetNuke_Community_05.06.03_Upgrade\Install\Module\Telerik_05.06.03_Install.zip
将 Telerik.Web.UI.dll 复制到 DNN /bin 文件夹,替换现有版本
修改中的
bindingRedirect
web.config 以指向正确的版本(如下)一旦您启动站点并运行时,使用主机设置 - 扩展来重新安装模块。
我通过在升级期间从公共互联网上关闭该网站并小心文件权限来避免此错误。您可以通过从 IIS 中删除其他 IP 绑定来仅允许 localhost 访问。确保 127.0.0.1 或 localhost 位于 DNN 的 PortalAlias 表中。在升级之前,我通常会对 DNN 文件夹重新应用所需的权限,以防它们自上次升级以来发生了更改。根据您运行的 IIS 版本和配置,
网络服务
或IIS AppPool\DefaultAppPool
需要读取、写入和修改权限。另请参阅:
应用程序池隔离
This is a fairly common upgrade error, but it is easy to fix.
First, install Telerik_05.06.03 manually to get the correct version of
Telerik.Web.UI.dll
, and then reinstall it with the extension installer in order to avoid the same upgrade errors in the future.Manual install instructions:
Extract the Telerik install package to a convenient location. The package can be found in:
DotNetNuke_Community_05.06.03_Upgrade\Install\Module\Telerik_05.06.03_Install.zip
Copy the Telerik.Web.UI.dll to the DNN /bin folder, replacing the existing version
Modify the
bindingRedirect
in the web.config to point to the correct version (below)Once you get the site up and running, use Host Settings - Extensions to reinstall the module.
I have avoided this error by taking the site down from the public internet during upgrades, and by being careful with the file permissions. You can allow only localhost access by removing other IP bindings from IIS. Make sure that 127.0.0.1 or localhost is in the DNN's PortalAlias table. Prior to an upgrade I usually reapply the required permissions to the DNN folders, just in case they have changed since the last upgrade. Depending on the IIS version and configuration you are running, either
Network Service
orIIS AppPool\DefaultAppPool
needs read, write and modify privileges.See also:
application pool isolation
@Mika 击中了这个问题的关键点。这是类似解决方案的另一个描述。 http://www.dotnetnuke.com/Resources/Forums/forumid/200/postid/413148/scope/posts.aspx#413148
积极的一面是,在 6.0 的开发过程中,我我想我们终于找到了这个问题的原因并解决了它。我们永远不应该在 6.x 中看到这个问题。我很想知道您是否在 6.x 版本中看到它。
@Mika hits the key points on this issue. Here is another description of a similar solution. http://www.dotnetnuke.com/Resources/Forums/forumid/200/postid/413148/scope/posts.aspx#413148
On a positive note, during the development of 6.0 I think we finally identified the cause of this issue and created a fix for it. We should never see this problem in 6.x. I would be very interested to know if you do see it in a 6.x release.
刚刚进行了另一次 DNN 升级,发现上述所有内容都无助于防止该问题。对于那些发现上述答案没有帮助的人来说,这是最后的选择:
* 奖励:启用 32 位支持并确保您处于“经典”模式如果您正在运行需要它的 DotNetNuke 版本。如果不确定就不要改变!
现在,这是非常重要的一步。您需要遍历您的站点进行测试。如果您发现错误,您的original_web.config中可能有一些关键的东西,而这些东西现在从我帮助您创建的(来自release.config)上面的新鲜web.config中丢失了。
因此,您需要进行逐行比较(这需要经验丰富的眼睛)并查找诸如缺少程序集引用、绑定重定向、处理程序、模块、应用程序设置/键等的内容。你做得越多,速度就越快。 (如果您不擅长理解 web.config 内容,并且没有强大的 IIS 背景,那么这一步可能会很糟糕 - 我不会撒谎。)
也就是说,很大一部分时间几乎不需要任何东西来自 web.config。当某些内容丢失时,通常只是明显的 DLL 引用或处理程序。
祝你好运!
Just did another DNN upgrade and found ALL of the above to NOT help prevent the issue. Here is a last ditch option for those who find the above answers did not help:
* Bonus: Enable 32-bit support and ensure you are in 'Classic' mode IF you are running a version of DotNetNuke that required it. Don't change if you are unsure!
NOW, a VERY important step. You'll need to walk through your site testing things. If you find errors you probably had some critical thing in your original_web.config that is NOW MISSING from the fresh web.config I helped you to create (from release.config) above.
So you'll need to do a line-by-line comparison (this takes a seasoned eye) and find things like missing assembly references, binding redirections, handlers, modules, application settings/keys and the like. The more you do this, the faster it gets. (If you suck at understanding web.config stuff, and don't have a strong IIS background, this step has the potential to be horrible - I won't lie.)
That said, a good percentage of the time hardly anything is required from the web.config. When something is missing, it's often just an obvious DLL reference or handler.
Best of luck!