You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Windows Server 2019上DNN 9.13.01安装扩展时出现NullReferenceException

DNN 9.13.01安装2sxc博客扩展失败(NullReferenceException)

环境信息

  • Windows Server 2019
  • SQL Server 2019
  • DNN版本:9.13.01
  • 待安装扩展包:2sxcApp_Blog_6.1.0.zip

安装失败流程

  1. 将2sxcApp_Blog_6.1.0.zip拖到DNN网页上传区域
  2. 页面提示 Zip File Upload Failed
  3. 点击「View Error Log」显示:

未知错误发生,请检查安装zip文件并重试。
安装文件常见问题:

  • zip文件过大,请检查IIS的最大上传文件大小设置。
  • zip文件中缺少资源。
  • 包中包含无效文件。
  • 文件扩展名不是.zip。
  • 检查是否已登录。
  1. 通过开发者工具查看网络请求,发现/dnn/API/PersonaBar/Extensions/ParsePackage接口返回500响应
  2. 接口返回的ASP.Net错误详情:
[NullReferenceException: Object reference not set to an instance of an object.]
DotNetNuke.Services.Installer.Util.IsFileValid(InstallFile file, String packageWhiteList) +105
DotNetNuke.Services.Installer.InstallerInfo.<get_HasValidFiles>b__6_0(InstallFile file) +18
System.Linq.Enumerable.Any(IEnumerable`1 source, Func`2 predicate) +169
DotNetNuke.Services.Installer.InstallerInfo.get_HasValidFiles() +137
Dnn.PersonaBar.Extensions.Components.InstallController.ParsePackage(PortalSettings portalSettings, UserInfo user, String filePath, Stream stream) +477
Dnn.PersonaBar.Extensions.Services.<>c__DisplayClass42_1.b__1(Object state) +46
System.Web.Util.SynchronizationHelper.SafeWrapCallback(Action action) +108

内容的提问来源于stack exchange,提问作者amber

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.02 13:32:09