Dotnetnuke升级问题:未声明名称“框架”

时间:2011-05-20 03:18:56

标签: dotnetnuke

我在我的网站上安装了Dotnetnuke 4.8。然后我下载了5.1的升级包,并按照给定http://www.dotnetnuke.com/Community/Wiki/tabid/1409/page/Upgrading-DotNetNuke/Default.aspx

上传所有文件

但升级后我遇到以下错误:

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

Compilation Error 
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. 

Compiler Error Message: BC30451: Name 'Framework' is not declared.

Source Error:



Line 49:         ' dynamically create provider
Line 50:         Private Shared Sub CreateProvider()
Line 51:             objProvider = CType(Framework.Reflection.CreateObject("data", "DotNetNuke.Modules.Html", ""), DataProvider)
Line 52:         End Sub
Line 53: 


Source File: C:\inetpub\vhosts\IRFANHYDER.COM\httpdocs\dotnetnuke\App_Code\HTML\DataProvider.vb    Line: 51 
**

任何想法?我做错了什么?

1 个答案:

答案 0 :(得分:1)

将DNN从该点升级到5.1是一项艰巨的任务,应该采取较小的步骤

尝试从4.8到04.09.05 然后到5.1.1(以下链接建议转到5.4.4)

请参阅以下链接以获取更全面的指南:

参考:http://www.willstrohl.com/Blog/EntryId/102/Suggested-DotNetNuke-Site-Upgrade-Path-s