Access XML file - error 404

Posted by Community Admin on 04-Aug-2018 08:19

Access XML file - error 404

All Replies

Posted by Community Admin on 23-Apr-2014 00:00

Why when i am trying to access an XML file stored on a folder called "support" from site root, the browser show "404 - File or directory not found.". If i move the file on site root, everything is fine.

Only with XML files this is happening, for text files it is working fine.

Is there any solution to solve this? Or why is this happening?

Posted by Community Admin on 24-Apr-2014 00:00

Can you show us your code

Posted by Community Admin on 24-Apr-2014 00:00

I dont use any code, i am trying to access the file directly from browser.

Posted by Community Admin on 30-Apr-2014 00:00

From visual studio click properties of that file.then there is a browse property

Give url like ~/test.xml

Posted by Community Admin on 30-Apr-2014 00:00

Thanks for reply kamii, i tried that but didnt work. Below is a print.

 

 

Posted by Community Admin on 30-Apr-2014 00:00

I have checked the same sort of xml like your folder structure but it works fine even without mentioning browse url. looks like some configuration setting issue. which version of Sitefinity, IIS and .net framework you are using?

We might also have to look your config file

This thread is closed