access virtual directory without impersonation?

charlieruss

New member
Joined
Sep 18, 2007
Messages
1
Programming Experience
3-5
Hello,
My problem is as follows:
I am using IIS 5.1 with .net 1.1
I have a shared folder on a different computer on our network which I want to add as a virtual directory on my computer so that I can use

<!--#include virtual="virtualDirectoryName/someFile.html" -->

the problem is that I can only gain access to this virtual folder from my asp page when i set impersonate="true" and set the explicit user to gain access to the virtual folder in my web.config. I dont want to explicitly have to hardcode a user and password into this. When I create the virtual directory on my computer I tried to set the username to MYCOMPUTERNAME\ASPNET however an error icon appeared next to the virtual directory listing in IIS management console.
Does this make sense? Any help would be greatly appreciated! Thank you!

-Charlie
 
Back
Top