DNNCommunity / DNNCommunity/DNN.Blog
Upgrade to 6.5.0 failure under DNN 9.8.0 (DLL in use by another process)
- Dominant language
- JavaScript
- Stars
- 39
- Forks
- 41
- PR merge metrics
- No merged PRs in 30d
Description
## Describe the bug
On attempting to upgrade the Blog module from 6.4.1 to 6.5.0, under DNN 9.8.0, the upgrade failed. The upgrade was attempted 3 times, and the same error was seen on each try. The following error was seen in the installer log:
```
Info Starting Installation - Assembly
Info Assembly already registered - bin\DotNetNuke.Modules.Blog.dll
Info Creating backup of previous version - bin\DotNetNuke.Modules.Blog.dll
Failure ExceptionSystem.Exception: Error on 'C:\inetpub\wwwroot\DNN\Install\Temp\vmbhhtvg\bin/DotNetNuke.Modules.Blog.dll': See InnerException for details. ---> System.ComponentModel.Win32Exception: The process cannot access the file because it is being used by another process --- End of inner exception stack trace --- at SchwabenCode.QuickIO.Internal.InternalQuickIOCommon.NativeExceptionMapping(String path, Int32 errorCode) 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
```
This error seems to be specific to the Blog module, because straight after the 3 failed attempts, I successfully upgraded 4 other extensions.
## Software Versions
- DNN: 09.08.00
- Blog Module: 06.05.00
## To Reproduce
The steps I took were:
1. Starting with a DNN 9.6.1 installation running Blog 6.4.1, I upgraded to the new DNN 9.8.0 successfully
2. Go to Settings > Extensions > Install Extension
3. Drag and drop the Blog_6.5.0_Install.zip package onto the target panel
4. Step through the install wizard
5. On the PACKAGE INSTALLATION REPORT page, the error is shown
## Expected behavior
The upgrade should install correctly.
Contributor guide
Assessment
This issue has not been assessed yet.