I believe you have to run ASP.NET under a domain account which has been granted access to the share you are trying to use. From the .Net help:
To run the ASP worker process using a specified account, add a
element to the root configuration file (machine.config), located in the \WINNT\Microsoft.NET\Framework\Version\Config folder, as shown below:
>I am trying to access a database over our LAN using a
>webform but I am not able to.
>
>However, I am able to access data on my local drive using
>a webform.
>
>I heard that it's because ASP.Net is a local account. How
>can I change access rights for this local ASP.Net account
>so that this account can access data over our LAN?
>
>Thanks,
>
>Jerryt