Hi again,
I would like to enlist your help in debugging an issue that I have been experiencing when trying to load the folder contents in file manager. Whenever I try to load the file manager component, this message will pop up.
I believe that the reason this is not working is because the FileManager component can't access the file operation API url. I came into this conclusion because when I try to debug this by adding breakpoints to the controller's constructor and the File Operation method, it didn't trigger these breakpoints. Whereas in a new project that I have set up to test this very function, the component was able to access the API url and the breakpoints are being reached.
Some things of note:
- The API is reachable via the browser.
- The Upload function in the API works.
- The main issue here is that the file manager component cannot load the folder contents. In my testing, one file should appear on the file manager.
- Tried testing it on version 19.1.0.54 and 19.1.0.56, with the EJ2.AspNet.Core in 18.4.0.49, both didn't work on the main project that I'm working on. But on my test project, these particular library versions work for me.
I suspect the reason it's not working is because of the Startup code that I have. I have tried adding and removing service configurations but they can't seem to resolve the issue. However, I cannot just simply remove one problematic line in Startup.cs since I need to work on that exact configuration.
1. Can you help me debug this? I'm sending out the project code that I'm working on.
2. Also, can you suggest a way for me to debug the value that was causing the error message that is popping up in the screen? I believe that in the future, finding out what that value is can lead me to resolving this issue on my own.
Many thanks!
Attachment:
GraphBlazor_de975cc0.zip