升级后,2SXC应用程序和内容模块具有不同的版本号。无法修复升级或升级到最新版本

时间:2018-12-12 22:14:54

标签: dotnetnuke 2sxc

DNN 7.4.2

一年多以前,我们从2SXC 8.8.0升级到了9.2.0。升级花费了很长时间,因为它有一个带有许多门户的大型DNN实例。不过,我们仅在几个门户网站上使用2SXC。升级完成后,App仍停留在8.8.0上,而Content仍为9.2.0。当时,我们只是保留了它,因为我们不使用App。

我们希望将2SXC升级到最新版本(在撰写本文时,该版本是9.33.0),但是如果我尝试修复9.2.0或升级到9.33.0,则会收到错误消息。见下文。

enter image description here

StartJob    Starting Installation
Info    Starting Installation - 2SexyContent
Info    Starting Installation - Script
Info    Begin Sql execution
Info    Creating backup of previous version - SqlDataProvider\Uninstall.SqlDataProvider
Failure ExceptionSystem.UnauthorizedAccessException: Access to the path 'M:\inetpub\myspecialwebsite\DesktopModules\ToSIC_SexyContent\SqlDataProvider\Uninstall.SqlDataProvider' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.SetAttributes(String path, FileAttributes fileAttributes) at DotNetNuke.Common.Utilities.FileSystemUtils.CopyFile(String sourceFileName, String destFileName) at DotNetNuke.Common.Utilities.Internal.RetryableAction.TryIt() at DotNetNuke.Services.Installer.Util.CopyFile(InstallFile installFile, String basePath, Logger log) at DotNetNuke.Services.Installer.Installers.FileInstaller.InstallFile(InstallFile insFile)
Info    Finished Sql execution
Failure Installation Failed - Script
Info    Installation Failed - 2SexyContent
Info    Starting Installation - 2SexyContent-App
Info    Starting Installation - Module
Info    Module registered successfully - 2sxc-app
Info    Component installed successfully - Module
Info    Starting Installation - File
Info    Creating backup of previous version - icon-app.png
Failure ExceptionSystem.UnauthorizedAccessException: Access to the path 'M:\inetpub\myspecialwebsite\DesktopModules\ToSIC_SexyContent\icon-app.png' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.SetAttributes(String path, FileAttributes fileAttributes) at DotNetNuke.Common.Utilities.FileSystemUtils.CopyFile(String sourceFileName, String destFileName) at DotNetNuke.Common.Utilities.Internal.RetryableAction.TryIt() at DotNetNuke.Services.Installer.Util.CopyFile(InstallFile installFile, String basePath, Logger log) at DotNetNuke.Services.Installer.Installers.FileInstaller.InstallFile(InstallFile insFile)
Failure Installation Failed - File
Info    Rolling back component install - Module
Info    Component rolled back successfully - Module
Info    Installation Failed - 2SexyContent-App
Info    Starting Installation - 2sic_Imazen_ImageResizerPro
Info    Starting Installation - Script
Info    Begin Sql execution
Info    Finished Sql execution
Info    Component installed successfully - Script
Info    Starting Installation - Assembly
Info    Assembly already registered - bin\ImageResizer.dll
Info    Assembly registered - bin\ImageResizer.Plugins.DiskCache.dll
Info    Creating backup of previous version - bin\ImageResizer.Plugins.DiskCache.dll
Failure ExceptionSystem.UnauthorizedAccessException: Access to the path 'M:\inetpub\myspecialwebsite\bin\ImageResizer.Plugins.DiskCache.dll' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.SetAttributes(String path, FileAttributes fileAttributes) at DotNetNuke.Common.Utilities.FileSystemUtils.CopyFile(String sourceFileName, String destFileName) at DotNetNuke.Common.Utilities.Internal.RetryableAction.TryIt() at DotNetNuke.Services.Installer.Util.CopyFile(InstallFile installFile, String basePath, Logger log) at DotNetNuke.Services.Installer.Installers.FileInstaller.InstallFile(InstallFile insFile)
Failure Installation Failed - Assembly
Info    Rolling back component install - Script
Info    Component rolled back successfully - Script
Info    Installation Failed - 2sic_Imazen_ImageResizerPro
Info    Deleted temporary install folder
EndJob  Installation Failed

1 个答案:

答案 0 :(得分:0)

文件夹中缺少IIS_IUSRS(默认的IIS用户),所以我的同事添加了它并解决了问题。