Re: MapNetworkDrive problem



Eric to make sure,

try pinging the remote from computer from the one that does not work.
that way you will know if it is the network or not.
rafael


"Eric van Uden" <eric[ @ ]doornroosje[ . ]nl> wrote in message
news:uABFkhOcFHA.2936@xxxxxxxxxxxxxxxxxxxxxxx
> Hello Rafael,
>
> Thank you for your reply.
>
> Both machines have the same subnet and gateway settings.
> I use the same code on both Win98 and WinXp machines, so the account used
> is the same.
> I have thought about widening the subnet mask, though, to allow
> 192.168.100.x to be seen form 192.168.168.x pc's.
>
> Maybe there is success along that path.
>
> Regards,
>
> Eric
>
> "Rafael T" <okinawapro@xxxxxxxxxxx> schreef in bericht
> news:OMv%23poLcFHA.220@xxxxxxxxxxxxxxxxxxxxxxx
>> Eric,
>>
>> As you said it is probably a network problem.
>> Check the subnet mask and gateway address of the computer that works and
>> the one that doesn't.
>> Also the account to open the file has to reside on the computer that
>> holds the file.
>>
>> RT
>> "Eric van Uden" <eric[ @ ]doornroosje[ . ]nl> wrote in message
>> news:OkYpGuRbFHA.1504@xxxxxxxxxxxxxxxxxxxxxxx
>>> Hello,
>>>
>>> I suppose this is more of a networking question, but maybe some of you
>>> have experience with this.
>>> I have this code:
>>>
>>> -------------------------------------------
>>> letter = "Q:"
>>> target = "\\192.168.100.100\folder"
>>> account = "192.168.100.100\john"
>>> password = "sesame"
>>> Set fso = CreateObject("Scripting.FileSystemObject")
>>> Set nwo = CreateObject("WScript.Network")
>>> nwo.MapNetworkDrive letter, target, True, account, password
>>> -------------------------------------------
>>>
>>> A WindowsXP workstation with IP-address 192.168.168.11 will successfully
>>> create this mapping.
>>> A Windows 98SE workstation with IP-address 192.168.168.12 will fail.
>>> The problem seems to be that Windows 98 boxes will only map to drives in
>>> their own IP-range.
>>> The error message specifies that the network name is not found, and
>>> tests confirm that it is the 'target' part that causes the error.
>>>
>>> The mapping is only used inside the script, to copy a file to the mapped
>>> drive.
>>> Then the mapping is removed.
>>>
>>> Any clues to get this working for Windows 98 boxes would be welcome.
>>>
>>> Regards,
>>>
>>> Eric
>>>
>>
>>
>
>


.



Relevant Pages

  • Re: Trusted SQL Connections & NT AUTHORITYNETWORK SERVICE
    ... SYSTEM account in terms of the credentials it uses on the network. ... hitting a SQL Server on the same machine as the web app. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Problem: No Network Connections under Guest Account
    ... The Guest Account on my other computer seems to ... Sounds like you might have more of an issue with your network than with the ... network connection settings. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: ATTN : Microsoft - Security Event 529....Second Request for help....
    ... According to the events, the logon ... failure is from the local machine account. ... disconnected from the network. ... Security Event ID 529 is a failure audit for logon/logoff. ...
    (microsoft.public.windows.server.sbs)
  • Re: Problem: No Network Connections under Guest Account
    ... The Guest Account on my other computer seems to ... Sounds like you might have more of an issue with your network than with the ... network connection settings. ...
    (microsoft.public.windowsxp.security_admin)
  • RE: Writing to a network share
    ... probably running into the "double hop" issue, where impersonation will not work across two network hops. ... An unhandled exception occurred during the execution of the current web request. ... Highlight the ASP.NET account, and check the boxes for the desired access. ... I've changed machine.config process model to the SYSTEM account. ...
    (microsoft.public.dotnet.security)