BEST
DEALS
OF THE
YEAR!
SAVE UP TO $3,000
LAST DAY 1 DEC
00 Days
00 Hrs
00 Min
00 Sec
Open Closed

I'm trying to make the Azure storage as the container of my file management module in App with angular ui #7770


User avatar
0
AbdulrahmanMZ created
  • ABP Framework version: v8.2.2
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace: 500 error
  • the response of this call:
  • https://localhost:44334/api/file-management/directory-descriptor?skipCount=0&maxResultCount=10
  • { "error": { "code": null, "message": "An internal error occurred during your request!", "details": null, "data": { "ActivatorChain": "Volo.FileManagement.Directories.DirectoryDescriptorController -> Volo.FileManagement.Directories.DirectoryDescriptorAppService -> Volo.FileManagement.Directories.DirectoryManager -> Volo.FileManagement.Files.FileManager -> Volo.Abp.BlobStoring.BlobContainer`1[[Volo.FileManagement.FileManagementContainer, Volo.FileManagement.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" }, "validationErrors": null } }

and the response of this call: https://localhost:44334/api/file-management/directory-descriptor/sub-directories { "error": { "code": null, "message": "An internal error occurred during your request!", "details": null, "data": { "ActivatorChain": "Volo.FileManagement.Directories.DirectoryDescriptorController -> Volo.FileManagement.Directories.DirectoryDescriptorAppService -> Volo.FileManagement.Directories.DirectoryManager -> Volo.FileManagement.Files.FileManager -> Volo.Abp.BlobStoring.BlobContainer`1[[Volo.FileManagement.FileManagementContainer, Volo.FileManagement.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" }, "validationErrors": null } }

  • Steps to reproduce the issue:
  • I installed "Volo.Abp.BlobStoring.Azure" in the my. Application .csproj file <PackageReference Include="Volo.Abp.BlobStoring.Azure" Version="8.2.2" />
  • I added the following code to my ApplicationModule >> ConfigureServices Method:

Configure<AbpBlobStoringOptions>(options => { options.Containers.ConfigureDefault(container => { container.UseAzure(azure => { azure.ConnectionString = "xxxxx"; azure.ContainerName = "xxxx"; azure.CreateContainerIfNotExists = true; }); }); });

when I'm trying to reach to files link, it produces the above described errors.


1 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    you need to add module dependency

    [DependsOn(typeof(AbpBlobStoringModule),)]
    public class YourApplicationModule : AbpModule
    
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 v10.1.0-preview. Updated on November 20, 2025, 09:12
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.