Open Closed

Blazor Server [7.2.1] File Manager - File upload #5018


User avatar
0
cellero created
  • ABP Framework version: v7.2.1
  • UI type: Blazor Server
  • DB provider: EF Core

I created a new Blazor Server solution using ABP Suite v7.2.1 Then I added the File Managment module

The problem is uploading files. When Selecting or Dropping a file on the upload dialog nothing happens. No file is uploaded.


8 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Are there any error logs on the browser console or backend app?

  • User Avatar
    0
    cellero created

    2023-05-08 21:38:08.201 +12:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:09beb54c-a2c5-b328-3a19-3a0b052a1971,n:FileManagement.DirectoryDescriptor 2023-05-08 21:38:08.201 +12:00 [DBG] Found in the cache: pn:U,pk:09beb54c-a2c5-b328-3a19-3a0b052a1971,n:FileManagement.DirectoryDescriptor 2023-05-08 21:38:08.201 +12:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:FileManagement.DirectoryDescriptor 2023-05-08 21:38:08.201 +12:00 [DBG] Found in the cache: pn:R,pk:admin,n:FileManagement.DirectoryDescriptor 2023-05-08 21:38:08.541 +12:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:09beb54c-a2c5-b328-3a19-3a0b052a1971,n:FileManagement.FileDescriptor.Create 2023-05-08 21:38:08.541 +12:00 [DBG] Found in the cache: pn:U,pk:09beb54c-a2c5-b328-3a19-3a0b052a1971,n:FileManagement.FileDescriptor.Create 2023-05-08 21:38:08.541 +12:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:FileManagement.FileDescriptor.Create 2023-05-08 21:38:08.541 +12:00 [DBG] Found in the cache: pn:R,pk:admin,n:FileManagement.FileDescriptor.Create 2023-05-08 21:38:08.542 +12:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:09beb54c-a2c5-b328-3a19-3a0b052a1971,n:FileManagement.FileDescriptor.Update 2023-05-08 21:38:08.542 +12:00 [DBG] Found in the cache: pn:U,pk:09beb54c-a2c5-b328-3a19-3a0b052a1971,n:FileManagement.FileDescriptor.Update 2023-05-08 21:38:08.542 +12:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:FileManagement.FileDescriptor.Update 2023-05-08 21:38:08.542 +12:00 [DBG] Found in the cache: pn:R,pk:admin,n:FileManagement.FileDescriptor.Update 2023-05-08 21:38:08.542 +12:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:09beb54c-a2c5-b328-3a19-3a0b052a1971,n:FileManagement.FileDescriptor.Delete 2023-05-08 21:38:08.542 +12:00 [DBG] Found in the cache: pn:U,pk:09beb54c-a2c5-b328-3a19-3a0b052a1971,n:FileManagement.FileDescriptor.Delete 2023-05-08 21:38:08.542 +12:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:FileManagement.FileDescriptor.Delete 2023-05-08 21:38:08.542 +12:00 [DBG] Found in the cache: pn:R,pk:admin,n:FileManagement.FileDescriptor.Delete 2023-05-08 21:38:08.542 +12:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:09beb54c-a2c5-b328-3a19-3a0b052a1971,n:FileManagement.DirectoryDescriptor.Create 2023-05-08 21:38:08.542 +12:00 [DBG] Found in the cache: pn:U,pk:09beb54c-a2c5-b328-3a19-3a0b052a1971,n:FileManagement.DirectoryDescriptor.Create 2023-05-08 21:38:08.542 +12:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:FileManagement.DirectoryDescriptor.Create 2023-05-08 21:38:08.542 +12:00 [DBG] Found in the cache: pn:R,pk:admin,n:FileManagement.DirectoryDescriptor.Create 2023-05-08 21:38:08.543 +12:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:09beb54c-a2c5-b328-3a19-3a0b052a1971,n:FileManagement.DirectoryDescriptor.Update 2023-05-08 21:38:08.543 +12:00 [DBG] Found in the cache: pn:U,pk:09beb54c-a2c5-b328-3a19-3a0b052a1971,n:FileManagement.DirectoryDescriptor.Update 2023-05-08 21:38:08.543 +12:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:FileManagement.DirectoryDescriptor.Update 2023-05-08 21:38:08.543 +12:00 [DBG] Found in the cache: pn:R,pk:admin,n:FileManagement.DirectoryDescriptor.Update 2023-05-08 21:38:08.543 +12:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:09beb54c-a2c5-b328-3a19-3a0b052a1971,n:FileManagement.DirectoryDescriptor.Delete 2023-05-08 21:38:08.543 +12:00 [DBG] Found in the cache: pn:U,pk:09beb54c-a2c5-b328-3a19-3a0b052a1971,n:FileManagement.DirectoryDescriptor.Delete 2023-05-08 21:38:08.543 +12:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:FileManagement.DirectoryDescriptor.Delete 2023-05-08 21:38:08.543 +12:00 [DBG] Found in the cache: pn:R,pk:admin,n:FileManagement.DirectoryDescriptor.Delete 2023-05-08 21:38:08.552 +12:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:09beb54c-a2c5-b328-3a19-3a0b052a1971,n:FileManagement.DirectoryDescriptor 2023-05-08 21:38:08.552 +12:00 [DBG] Found in the cache: pn:U,pk:09beb54c-a2c5-b328-3a19-3a0b052a1971,n:FileManagement.DirectoryDescriptor 2023-05-08 21:38:08.552 +12:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:FileManagement.DirectoryDescriptor 2023-05-08 21:38:08.552 +12:00 [DBG] Found in the cache: pn:R,pk:admin,n:FileManagement.DirectoryDescriptor 2023-05-08 21:38:08.889 +12:00 [DBG] Added 0 entity changes to the current audit log 2023-05-08 21:38:08.890 +12:00 [DBG] Added 0 entity changes to the current audit log 2023-05-08 21:38:09.042 +12:00 [INF] Request starting HTTP/2 GET https://localhost:44328/_content/Blazorise/textEdit.js?v=1.2.0.0 - - 2023-05-08 21:38:09.043 +12:00 [INF] The file /_content/Blazorise/textEdit.js was not modified 2023-05-08 21:38:09.044 +12:00 [INF] Request finished HTTP/2 GET https://localhost:44328/_content/Blazorise/textEdit.js?v=1.2.0.0 - - - 304 - application/javascript 1.4144ms 2023-05-08 21:38:09.048 +12:00 [INF] Request starting HTTP/2 GET https://localhost:44328/_content/Blazorise/validators/RegExMaskValidator.js?v=1.2.0.0 - - 2023-05-08 21:38:09.048 +12:00 [INF] Request starting HTTP/2 GET https://localhost:44328/_content/Blazorise/validators/NoValidator.js?v=1.2.0.0 - - 2023-05-08 21:38:09.048 +12:00 [INF] Request starting HTTP/2 GET https://localhost:44328/_content/Blazorise/validators/DateTimeMaskValidator.js?v=1.2.0.0 - - 2023-05-08 21:38:09.048 +12:00 [INF] Request starting HTTP/2 GET https://localhost:44328/_content/Blazorise/validators/NumericMaskValidator.js?v=1.2.0.0 - - 2023-05-08 21:38:09.049 +12:00 [INF] The file /_content/Blazorise/validators/DateTimeMaskValidator.js was not modified 2023-05-08 21:38:09.049 +12:00 [INF] The file /_content/Blazorise/validators/RegExMaskValidator.js was not modified 2023-05-08 21:38:09.049 +12:00 [INF] The file /_content/Blazorise/validators/NumericMaskValidator.js was not modified 2023-05-08 21:38:09.049 +12:00 [INF] The file /_content/Blazorise/validators/NoValidator.js was not modified 2023-05-08 21:38:09.050 +12:00 [INF] Request finished HTTP/2 GET https://localhost:44328/_content/Blazorise/validators/NoValidator.js?v=1.2.0.0 - - - 304 - application/javascript 1.8356ms 2023-05-08 21:38:09.050 +12:00 [INF] Request finished HTTP/2 GET https://localhost:44328/_content/Blazorise/validators/DateTimeMaskValidator.js?v=1.2.0.0 - - - 304 - application/javascript 1.8303ms 2023-05-08 21:38:09.050 +12:00 [INF] Request finished HTTP/2 GET https://localhost:44328/_content/Blazorise/validators/NumericMaskValidator.js?v=1.2.0.0 - - - 304 - application/javascript 1.2527ms 2023-05-08 21:38:09.050 +12:00 [INF] Request finished HTTP/2 GET https://localhost:44328/_content/Blazorise/validators/RegExMaskValidator.js?v=1.2.0.0 - - - 304 - application/javascript 1.8296ms 2023-05-08 21:38:09.094 +12:00 [INF] Request starting HTTP/2 GET https://localhost:44328/_content/Blazorise.DataGrid/datagrid.js?v=1.2.0.0 - - 2023-05-08 21:38:09.095 +12:00 [INF] The file /_content/Blazorise.DataGrid/datagrid.js was not modified 2023-05-08 21:38:09.095 +12:00 [INF] Request finished HTTP/2 GET https://localhost:44328/_content/Blazorise.DataGrid/datagrid.js?v=1.2.0.0 - - - 304 - application/javascript 0.8906ms 2023-05-08 21:38:09.109 +12:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:09beb54c-a2c5-b328-3a19-3a0b052a1971,n:FileManagement.DirectoryDescriptor 2023-05-08 21:38:09.109 +12:00 [DBG] Found in the cache: pn:U,pk:09beb54c-a2c5-b328-3a19-3a0b052a1971,n:FileManagement.DirectoryDescriptor 2023-05-08 21:38:09.109 +12:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:FileManagement.DirectoryDescriptor 2023-05-08 21:38:09.109 +12:00 [DBG] Found in the cache: pn:R,pk:admin,n:FileManagement.DirectoryDescriptor 2023-05-08 21:38:09.113 +12:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:09beb54c-a2c5-b328-3a19-3a0b052a1971,n:FileManagement.DirectoryDescriptor 2023-05-08 21:38:09.113 +12:00 [DBG] Found in the cache: pn:U,pk:09beb54c-a2c5-b328-3a19-3a0b052a1971,n:FileManagement.DirectoryDescriptor 2023-05-08 21:38:09.113 +12:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:FileManagement.DirectoryDescriptor 2023-05-08 21:38:09.113 +12:00 [DBG] Found in the cache: pn:R,pk:admin,n:FileManagement.DirectoryDescriptor 2023-05-08 21:38:09.160 +12:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:09beb54c-a2c5-b328-3a19-3a0b052a1971,n:FileManagement.FileDescriptor 2023-05-08 21:38:09.160 +12:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:09beb54c-a2c5-b328-3a19-3a0b052a1971,n:FileManagement.FileDescriptor 2023-05-08 21:38:09.160 +12:00 [DBG] Found in the cache: pn:U,pk:09beb54c-a2c5-b328-3a19-3a0b052a1971,n:FileManagement.FileDescriptor 2023-05-08 21:38:09.160 +12:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:FileManagement.FileDescriptor 2023-05-08 21:38:09.160 +12:00 [DBG] Found in the cache: pn:R,pk:admin,n:FileManagement.FileDescriptor 2023-05-08 21:38:09.163 +12:00 [DBG] Found in the cache: pn:U,pk:09beb54c-a2c5-b328-3a19-3a0b052a1971,n:FileManagement.FileDescriptor 2023-05-08 21:38:09.163 +12:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:FileManagement.FileDescriptor 2023-05-08 21:38:09.163 +12:00 [DBG] Found in the cache: pn:R,pk:admin,n:FileManagement.FileDescriptor 2023-05-08 21:38:09.254 +12:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:09beb54c-a2c5-b328-3a19-3a0b052a1971,n:FileManagement.DirectoryDescriptor.Update 2023-05-08 21:38:09.254 +12:00 [DBG] Found in the cache: pn:U,pk:09beb54c-a2c5-b328-3a19-3a0b052a1971,n:FileManagement.DirectoryDescriptor.Update 2023-05-08 21:38:09.254 +12:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:FileManagement.DirectoryDescriptor.Update 2023-05-08 21:38:09.254 +12:00 [DBG] Found in the cache: pn:R,pk:admin,n:FileManagement.DirectoryDescriptor.Update 2023-05-08 21:38:09.254 +12:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:09beb54c-a2c5-b328-3a19-3a0b052a1971,n:FileManagement.FileDescriptor.Update 2023-05-08 21:38:09.254 +12:00 [DBG] Found in the cache: pn:U,pk:09beb54c-a2c5-b328-3a19-3a0b052a1971,n:FileManagement.FileDescriptor.Update 2023-05-08 21:38:09.254 +12:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:FileManagement.FileDescriptor.Update 2023-05-08 21:38:09.254 +12:00 [DBG] Found in the cache: pn:R,pk:admin,n:FileManagement.FileDescriptor.Update 2023-05-08 21:38:09.255 +12:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:09beb54c-a2c5-b328-3a19-3a0b052a1971,n:FileManagement.DirectoryDescriptor.Delete 2023-05-08 21:38:09.255 +12:00 [DBG] Found in the cache: pn:U,pk:09beb54c-a2c5-b328-3a19-3a0b052a1971,n:FileManagement.DirectoryDescriptor.Delete 2023-05-08 21:38:09.255 +12:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:FileManagement.DirectoryDescriptor.Delete 2023-05-08 21:38:09.255 +12:00 [DBG] Found in the cache: pn:R,pk:admin,n:FileManagement.DirectoryDescriptor.Delete 2023-05-08 21:38:09.271 +12:00 [INF] Request starting HTTP/2 GET https://localhost:44328/_content/Blazorise/dropdown.js?v=1.2.0.0 - - 2023-05-08 21:38:09.272 +12:00 [INF] The file /_content/Blazorise/dropdown.js was not modified 2023-05-08 21:38:09.272 +12:00 [INF] Request finished HTTP/2 GET https://localhost:44328/_content/Blazorise/dropdown.js?v=1.2.0.0 - - - 304 - application/javascript 0.6162ms 2023-05-08 21:38:09.275 +12:00 [INF] Request starting HTTP/2 GET https://localhost:44328/_content/Blazorise/popper.js?v=1.2.0.0 - - 2023-05-08 21:38:09.275 +12:00 [INF] Request starting HTTP/2 GET https://localhost:44328/_content/Blazorise/observer.js?v=1.2.0.0 - - 2023-05-08 21:38:09.275 +12:00 [INF] The file /_content/Blazorise/observer.js was not modified 2023-05-08 21:38:09.275 +12:00 [INF] The file /_content/Blazorise/popper.js was not modified 2023-05-08 21:38:09.276 +12:00 [INF] Request finished HTTP/2 GET https://localhost:44328/_content/Blazorise/popper.js?v=1.2.0.0 - - - 304 - application/javascript 0.5076ms 2023-05-08 21:38:09.276 +12:00 [INF] Request finished HTTP/2 GET https://localhost:44328/_content/Blazorise/observer.js?v=1.2.0.0 - - - 304 - application/javascript 0.5077ms 2023-05-08 21:38:13.003 +12:00 [INF] Request starting HTTP/2 GET https://localhost:44328/_content/Blazorise.Bootstrap5/modal.js?v=1.2.0.0 - - 2023-05-08 21:38:13.003 +12:00 [INF] Request starting HTTP/2 GET https://localhost:44328/libs/@fortawesome/fontawesome-free/webfonts/fa-regular-400.woff2 - - 2023-05-08 21:38:13.003 +12:00 [INF] The file /libs/@fortawesome/fontawesome-free/webfonts/fa-regular-400.woff2 was not modified 2023-05-08 21:38:13.004 +12:00 [INF] The file /_content/Blazorise.Bootstrap5/modal.js was not modified 2023-05-08 21:38:13.005 +12:00 [INF] Request finished HTTP/2 GET https://localhost:44328/libs/@fortawesome/fontawesome-free/webfonts/fa-regular-400.woff2 - - - 304 - font/woff2 1.5508ms 2023-05-08 21:38:13.005 +12:00 [INF] Request finished HTTP/2 GET https://localhost:44328/_content/Blazorise.Bootstrap5/modal.js?v=1.2.0.0 - - - 304 - application/javascript 1.6034ms 2023-05-08 21:38:13.021 +12:00 [INF] Request starting HTTP/2 GET https://localhost:44328/_content/Blazorise/closable.js?v=1.2.0.0 - - 2023-05-08 21:38:13.021 +12:00 [INF] The file /_content/Blazorise/closable.js was not modified 2023-05-08 21:38:13.021 +12:00 [INF] Request finished HTTP/2 GET https://localhost:44328/_content/Blazorise/closable.js?v=1.2.0.0 - - - 304 - application/javascript 0.5152ms 2023-05-08 21:38:19.532 +12:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:09beb54c-a2c5-b328-3a19-3a0b052a1971,n:FileManagement.FileDescriptor 2023-05-08 21:38:19.532 +12:00 [DBG] Found in the cache: pn:U,pk:09beb54c-a2c5-b328-3a19-3a0b052a1971,n:FileManagement.FileDescriptor 2023-05-08 21:38:19.532 +12:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:FileManagement.FileDescriptor 2023-05-08 21:38:19.532 +12:00 [DBG] Found in the cache: pn:R,pk:admin,n:FileManagement.FileDescriptor 2023-05-08 21:38:19.559 +12:00 [DBG] Added 0 entity changes to the current audit log 2023-05-08 21:38:19.758 +12:00 [DBG] Added 0 entity changes to the current audit log 2023-05-08 21:38:19.765 +12:00 [DBG] Added 0 entity changes to the current audit log

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you share a project?

    liming.ma@volosoft.com

  • User Avatar
    0
    cellero created

    Zip file shared on GoggleDrive.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Thanks. I will check it asap.

    Do you have any steps to supplement?

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    You can check this:https://support.abp.io/QA/Questions/4474/Upload-file-Did-not-receive-any-data-in-the-allotted-time#answer-1d0acd0d-5594-41d3-02aa-3a092715ad2c

  • User Avatar
    0
    cellero created

    Thanks, that solution worked.

    Will you add that to the documentation for Blazor?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Yes, We will update the document.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on May 15, 2025, 10:28