Cannot access remote shared files in ASP.Net

I have a web application that requires to read a shared Excel sheet that is hosted on a network share. This network share is located in another machine. I can manually access the network share, but when I attempt to access it via the source code, I get an "access denied" error message. Why is this and how do I fix this?
