Click here to Skip to main content
15,910,083 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Good Day.

I developed an ASP.net website to read and display data from XML files which are located in a directory.
The application works fine on my machine, but after deployment it doesnt seem to read the files because nothing is displayed.
Posted

maybe you need to verify:

0) if you use a file full-path (like : c:/dir/... ), else try to use Server.MapPath.
1) xml files exists.
2) you have permission to read files.
3) & ask server admin if his don't setup a custom configuration.
 
Share this answer
 
dear,
i think you have file permission problem. if you are using login authentication then you need to specify rights on that xml file directory. you have to specify <location> with directory name. search exact <location> properties and keywords. Hope it will help you



Thanks
 
Share this answer
 
Thanks guys...I put a try and displayed the message..It was permission issues
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900