- 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)
-
0
Hi,
you need to add module dependency
[DependsOn(typeof(AbpBlobStoringModule),)] public class YourApplicationModule : AbpModule