Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Upgrade to 6.5.0 failure under DNN 9.8.0 (DLL in use by another process)

Đang mở
#174 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Lĩnh vực
backend

Hướng nghiên cứu

Tái hiện quá trình nâng cấp từ DNN 9.6.1/Blog 6.4.1 lên DNN 9.8.0 bằng Blog_6.5.0_Install.zip, sau đó bắt đầu với các mục trong ngăn xếp trình cài đặt FileSystemUtils.CopyFile và FileInstaller.InstallFile. So sánh việc cài đặt gói Blog với bốn extension đã nâng cấp thành công. Hoàn tất khi module Blog nâng cấp mà không gặp lỗi DLL-in-use.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
JavaScript
Star
39
Fork
41
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DNNCommunity/DNN.Blog

Tất cả issue của DNNCommunity/DNN.Blog

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.