Hi Dank ,
Greetings from Syncfusion support.
We suspect
that the reported issue occurs due to the CORS policy. Kindly add
the below configuration setting in the Web.config file of
the ASP.MVC File provider.
|
<system.webServer>
<httpProtocol>
<customHeaders>
<add name="Access-Control-Allow-Origin" value="*" />
<add name="Access-Control-Allow-Headers" value="Content-Type" />
<add name="Access-Control-Allow-Methods" value="GET,
POST, PUT, DELETE, OPTIONS" />
</customHeaders>
</httpProtocol>
...
</system.webServer>
|
We have
attached a sample with a modified service provider for your reference.
Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/AspNetMvcApplication1067128412.zip
Service provider : https://www.syncfusion.com/downloads/support/directtrac/general/ze/ej2-azure-aspmvc-file-provider1661579572.zip
Run the service provider first, then run
the sample. Please check the suggested steps at your end and get back to
us if you need any further assistance.
Regards,
Indhumathy L