But I am not changing the webconfig file. The webconfig file that works fine when I run the code contained on my local machine does not work when THE EXACT SAME webconfig file is on the mapped network drive. Why should the location of the file make any difference?

Can I leave the webconfig file on my local drive and have the rest of the code on the mapped drive? How would I make that work?