Closed Thread
Results 1 to 2 of 2

Thread: Access server file from client

  1. #1
    ahpooh is offline Newbie
    Join Date
    Jan 2007
    Posts
    5
    Rep Power
    0

    Access server file from client

    i having a problem to access server folder.
    i got one folder inside server, which i already shared.
    but when i access that folder fail.

    dim host as string = "\\serverId\folder\file.xml"
    doc.Load(host)
    .....

    error :System.IO.IOException = {"Logon failure: unknown user name or bad password.

    how i pass the user name and password?

    any one help please.........

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    o0TheNerd0o's Avatar
    o0TheNerd0o is offline Learning Programmer
    Join Date
    Sep 2007
    Location
    I.E. So-cal
    Posts
    61
    Rep Power
    0
    I believe its your windows login username and password. Try creating your exact username and password as a user on the server. See if that works. Because when you browse to a server using the "\\" it uses windows authentication. I believe you also have to specify a drive letter too...
    Option Explicit

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 10-24-2010, 01:14 PM
  2. Client Server
    By houlahan in forum Java Help
    Replies: 1
    Last Post: 02-02-2010, 09:18 AM
  3. Client/Server
    By dani in forum C and C++
    Replies: 3
    Last Post: 11-11-2008, 07:43 AM
  4. Client / Server
    By eric in forum General Programming
    Replies: 2
    Last Post: 09-03-2007, 07:29 AM
  5. Access server file from Client
    By ahpooh in forum Visual Basic Programming
    Replies: 2
    Last Post: 02-14-2007, 04:51 PM

Tags for this Thread

Bookmarks

Posting Permissions

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