none
Unable to access shared network files? RRS feed

  • Question

  • Hi,

     

    I am using smartparts for MOSS 2007 to access shared network files:

     

    try

    {

    string[] strArray = Directory.GetFiles(@"\\server\share");

    }

    catch (Exception ex)

    {

    Label1.Text = ex.Message;

    }

     

    I got an error message: Could not find a part of the path '\\server\share'. I am not able to access the shared folder even if I mapped it to the MOSS server's local drive.

     

    Any idea is highly appreciated. Thanks,

     

    az

    Monday, December 17, 2007 3:30 PM