Help with accessing network resources

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Help with accessing network resources


    Simply, I wish to return System.IO.File.Exists
    ("\\myserver_1\myshare\myfolder\myfile.doc") within an
    ASP.NET web application that sits
    on "\\myserver_2"(windows server 2003). The application is
    using integrated windows authentication only (anonymous is
    off), and impersonation is enabled in web.config. The
    security on the targeted network share includes a network
    group with full control to all of its children, and I am a
    member of this group. However, I continue to receive a
    login prompt as this code executes.

    PS. the code executes perfectly from my desktop(localhost -
    win2k).

    What am I missing?

    LRW.

    lrw Guest

  2. Similar Questions and Discussions

    1. Impersonation and UNC network resources
      Hi guys - I've been getting knotted up with this for a few days now. Originally I was in an ASP.NET context (using VFP8 OleDB to access tables...
    2. accessing remote resources from ASP.NET app
      Hi all, I know this issue has already been discussed in several threads of the newsgroup and I read several of them However, I would...
    3. Accessing remote network resources from ASP.NET applications
      Hi All Sorry to bring up a beaten-down-to-death topic. But I seem to be running into a wall whatever I try here. To cut a long story short, I...
    4. Accessing ISAM resources from within a WebService
      Hi there, I have a stub which extracts contacts from Outlook, using the Jet OLEDB provider. It looks like this: public DataSet...
    5. accessing network resources from Flash
      I built a static site with a flash front end and no back end. It allows e-learning students to click a link to their course on-line. The LCMS...
  3. #2

    Default RE: Help with accessing network resources

    lrw,

    Sorry I cannot help with the problem but I am new to ASP.Net applications and am experiencing the same problem as you. I have been testing with File.Exists for setting up authenication and security, however, it keeps returning FALSE if I try to access a file shared on the network. I have set up a virtual directory in IIS and can browse the virtual directory in IE and open files in the browser but am unable to access via code in ASP.NET application. The mapped physical path seems to be correct, so I feel I am missing something in the user account setup or configuration of authentication. I can test File.Exists successfully for any file on my development computer. It just fails when I access a file on the network.

    Have you had any success with this?

    gwr

    ----- lrw wrote: -----


    Simply, I wish to return System.IO.File.Exists
    ("\\myserver_1\myshare\myfolder\myfile.doc") within an
    ASP.NET web application that sits
    on "\\myserver_2"(windows server 2003). The application is
    using integrated windows authentication only (anonymous is
    off), and impersonation is enabled in web.config. The
    security on the targeted network share includes a network
    group with full control to all of its children, and I am a
    member of this group. However, I continue to receive a
    login prompt as this code executes.

    PS. the code executes perfectly from my desktop(localhost -
    win2k).

    What am I missing?

    LRW.


    gwr Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139