Finding a file over network ><
-
Hi, Really really need someone's help on this one. I have 2 servers, A and B. On both servers, I called the following code: File.Exists(@"\\xxx\yyy\file.xml"); Server A returns: true Server B returns: false The file indeed EXISTS. Could ANYONE tell me why server B cannot see the file and how could I possibly fix this problem. Really really thank you if you could solve this for me. Anzy
-
Hi, Really really need someone's help on this one. I have 2 servers, A and B. On both servers, I called the following code: File.Exists(@"\\xxx\yyy\file.xml"); Server A returns: true Server B returns: false The file indeed EXISTS. Could ANYONE tell me why server B cannot see the file and how could I possibly fix this problem. Really really thank you if you could solve this for me. Anzy
Try adding the address of \\xxx to the HOSTS file on Server B, and make sure that folder \yyy is shared with Everyone. That's not a good solution, but it may help identify the source of the problem. From the tiny bit of information you've provided, it sounds like an address resolution problem. "My kid was Inmate of the Month at Adobe Mountain Juvenile Corrections Center" - Bumper Sticker in Bullhead City
-
Try adding the address of \\xxx to the HOSTS file on Server B, and make sure that folder \yyy is shared with Everyone. That's not a good solution, but it may help identify the source of the problem. From the tiny bit of information you've provided, it sounds like an address resolution problem. "My kid was Inmate of the Month at Adobe Mountain Juvenile Corrections Center" - Bumper Sticker in Bullhead City
I've tried putting \\xxx into the HOSTS file on Server B, but it still cannot find file. I think it's more of a security problem than anything. I'm having similar problem with defaultCredentials too. As my site is impersonating the logged on users ( using Integrated Window Auth, and <identity impersonate="true" /> ), Server A is able to use the defualtCredentials to gain access to certain urls while Server B isn't. Thanks, Anzy