D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => DNS-323 => Topic started by: TomTieDom on February 05, 2010, 03:35:03 AM

Title: Windows 7 error accessing shares
Post by: TomTieDom on February 05, 2010, 03:35:03 AM
I have upgraded my laptop to Windows 7 Enterprise 64 bit and now have problems accessing shares on my DNS-323 - Firmware 1.07 (I also tried 1.08).

I am able to map a drive (both manually as via Explorer), but when I try to access the mapped drive I get an error "An unexpected network error occurred". See below an example from the commandline

This happens in all situations:
- When a username and password are required for the share. It does not matter whether the username and password are the same as a user on the laptop or a different one
- When access to the share is open for "ALL"

From another laptop with Windows XP PRO I still have access like I used to.

 C:\>net use z: \\192.168.100.102\Docs /user:xxxxx
  The command completed successfully.

  C:\>z:
  An unexpected network error occurred.


Please Help!
Title: Re: Windows 7 error accessing shares
Post by: ptzdodge on February 05, 2010, 05:10:07 AM
How are you connecting to the NAS unit (wired and/or via wireless)? Also, did you use the NAS unit's IP Address to map to the drives or did you use the Server Name (\\DNS-323\...)?

I have experienced a difference when attempting to connect to my NAS depending if I am using a wired versus a wireless connection when using XP however Win7 connects with no issues regardless of the connection type.

I have just upgraded to Win7 and I can access the NAS system using both connection types where XP had issues connecting to the NAS system via wireless where connecting via wired worked every time. 
Title: Re: Windows 7 error accessing shares
Post by: TomTieDom on February 05, 2010, 05:14:48 AM
The problem always occurs: wireless and over cable, using ip address, hostname and fully qualified hostname.
Title: Re: Windows 7 error accessing shares
Post by: gunrunnerjohn on February 05, 2010, 05:24:30 AM
Works just fine here, I'd check for firewall issues.  I tried it with a wired connection, then shifted to the wireless connection.  I'm running Windows 7 Ultimate.
Title: Re: Windows 7 error accessing shares
Post by: TomTieDom on February 05, 2010, 05:32:54 AM
Good suggestion, so I switched of Windows firewall but no success; same behaviour as before  :(
Title: Re: Windows 7 error accessing shares
Post by: gunrunnerjohn on February 05, 2010, 05:44:39 AM
Are you running password protected shares on the NAS?  Can you access them normally through the Network browse window?
Title: Re: Windows 7 error accessing shares
Post by: TomTieDom on February 05, 2010, 05:57:11 AM
The problem occurs with both password protected shares as well as with shares open for 'ALL'.

In the network browse window I see a connected drive:

The icon shows a drive with a green connection to the network (so not a red cross):

(Z:) MP3 (\\Diane)

When I double click the icon to browse the drive I get the error message "An unexpected network error occurred".
Title: Re: Windows 7 error accessing shares
Post by: gunrunnerjohn on February 05, 2010, 06:05:04 AM
I was asking if you don't have the drive mapping, can you simply browse to the drive and access the shared files?  In other words, do you have any access to the NAS from Windows 7?
Title: Re: Windows 7 error accessing shares
Post by: TomTieDom on February 05, 2010, 06:12:33 AM
You mean can I go there in the browser by entering \\Diane\MP3 in the browserbar? 

No, after being prompted for my credetials I get the following error message:

\\Diane\MP3 is not accessible. You might not have permission to use this network resource. Contact tehe system administrator of this server to find out if you have access permissions.

An unexpected network error occurred


And the second time I try the last part reads:

The system detected a possible attempt to compromise security. Please ensure that you can contact the server that authenticated you
Title: Re: Windows 7 error accessing shares
Post by: gunrunnerjohn on February 05, 2010, 06:21:01 AM
That's pretty odd.

One possible issue that I just noticed.  You can't have password protected shared and anonymous shares on the same box with the current firmware for the DNS-323. 

Try mapping to a password protected share and enter the name/password and have it saved.
Title: Re: Windows 7 error accessing shares
Post by: TomTieDom on February 05, 2010, 06:34:36 AM
I have tried and then also removed password protection from all shares on the box, but still no success :(
Title: Re: Windows 7 error accessing shares
Post by: gunrunnerjohn on February 05, 2010, 07:23:47 AM
Does the Win7 box connect with other computers shares?
Title: Re: Windows 7 error accessing shares
Post by: TomTieDom on February 05, 2010, 07:40:32 AM
Only when I am at the office. Then I am also logged onto work domain. At home these shares are not connected and visible as not connected drives.
Title: Re: Windows 7 error accessing shares
Post by: gunrunnerjohn on February 05, 2010, 07:44:02 AM
You're saying you can't connect to shared resources in your home network at all?  Have you tried disabling all firewalls on that machine?
Title: Re: Windows 7 error accessing shares
Post by: TomTieDom on February 05, 2010, 07:50:54 AM
I meant to say that I cannot access my office resources, but I can in the office.

I tried connecting at home to my NAS with the Windows firewall switched off with the same result. Unfortunately I have no other shareable resources on my home network I can try now.

BTW, Really appreciating that you are helping me - thanks!
Title: Re: Windows 7 error accessing shares
Post by: gunrunnerjohn on February 05, 2010, 07:57:52 AM
With a wired connection, boot in Safe Mode with Networking and see if that changes anything.
Title: Re: Windows 7 error accessing shares
Post by: TomTieDom on February 05, 2010, 11:35:34 AM
Doesn't change anything. Same error message.
Title: Re: Windows 7 error accessing shares
Post by: Buhric on February 05, 2010, 03:42:17 PM
Are you by any change using the same drive letters when mapping you office shares and Home shares ?
If so try changing letter....

Also try setting the workgroup field in the DNS to the same name as your Office Domain name...
Title: Re: Windows 7 error accessing shares
Post by: TomTieDom on February 06, 2010, 03:03:05 AM
Thanks for the suggestion, but still the same result.

What puzzles me is the fact that I am able to map the drive, so there is no problem with the credentials, but when I try to access the drive it gives a network error. Every once in a while it says something about a remote procedure call that did not succeed.

I am getting desperate ...
Title: Re: Windows 7 error accessing shares
Post by: Buhric on February 06, 2010, 02:48:56 PM
Try checking your event log... it might contain more explanation on what is failing when you try to access the network drive...

And theres actually a service in Windows called "Remote Procedure Call (RPC)" that should be set to start Automatic...
And leave the "Remote Procedure Call (RPC) Locator" service set to Manual

Title: Re: Windows 7 error accessing shares
Post by: TomTieDom on February 09, 2010, 12:20:03 PM
I have made a network dump with Wireshark. I am not an SMB expert so I don't know if the below is normal behaviour.

Can somebody help me?

1. I map the directory \\NAS\DIR on drive letter Z:\
2. Win7 does a Session Setup twice
3. Win7 tries to open \desktop.ini. The NAS says it does not exist
4. Win7 tries to open '\'. The NAS opens it and says it's a directory.
5. Win7 does a Session Setup four times
6. Win7 gives the error "Z:\ is not accessible - An unexpected network error occurred."

No.     Time        Source                Destination           Protocol Info
     32 14.963008   192.168.100.146       192.168.100.102       SMB      Negotiate Protocol Request
     33 14.977313   192.168.100.102       192.168.100.146       TCP      microsoft-ds > 49568 [ACK] Seq=1 Ack=160 Win=6432 Len=0
     34 14.983507   192.168.100.102       192.168.100.146       SMB      Negotiate Protocol Response
     35 15.183500   192.168.100.146       192.168.100.102       TCP      49568 > microsoft-ds [ACK] Seq=160 Ack=96 Win=17425 Len=0
     43 22.724227   192.168.100.146       192.168.100.102       SMB      Session Setup AndX Request, User: DOMAIN\user; Tree Connect AndX, Path: \\NAS\DIR
     44 22.755653   192.168.100.102       192.168.100.146       SMB      Session Setup AndX Response; Tree Connect AndX
     45 22.954996   192.168.100.146       192.168.100.102       TCP      49568 > microsoft-ds [ACK] Seq=368 Ack=214 Win=17307 Len=0
     46 23.255229   192.168.100.146       192.168.100.102       SMB      Session Setup AndX Request, User: DOMAIN\user
     48 23.267427   192.168.100.102       192.168.100.146       SMB      Session Setup AndX Response
     49 23.270984   192.168.100.146       192.168.100.102       SMB      Session Setup AndX Request, User: DOMAIN\user
     50 23.277999   192.168.100.102       192.168.100.146       SMB      Session Setup AndX Response
     51 23.476956   192.168.100.146       192.168.100.102       TCP      49568 > microsoft-ds [ACK] Seq=568 Ack=406 Win=17115 Len=0
     52 23.591795   192.168.100.146       192.168.100.102       SMB      Session Setup AndX Request, User: DOMAIN\user
     53 23.602934   192.168.100.102       192.168.100.146       SMB      Session Setup AndX Response
     54 23.603464   192.168.100.146       192.168.100.102       SMB      NT Create AndX Request, Path: \desktop.ini
     55 23.617925   192.168.100.102       192.168.100.146       SMB      NT Create AndX Response, FID: 0x0000, Error: STATUS_OBJECT_NAME_NOT_FOUND
     56 23.620749   192.168.100.146       192.168.100.102       SMB      Session Setup AndX Request, User: DOMAIN\user
     57 23.645069   192.168.100.102       192.168.100.146       SMB      Session Setup AndX Response
     58 23.645242   192.168.100.146       192.168.100.102       SMB      NT Create AndX Request, FID: 0x12a6, Path: \
     59 23.647636   192.168.100.102       192.168.100.146       SMB      NT Create AndX Response, FID: 0x12a6
     60 23.651410   192.168.100.146       192.168.100.102       SMB      Session Setup AndX Request, User: DOMAIN\user
     61 23.677782   192.168.100.102       192.168.100.146       SMB      Session Setup AndX Response
     62 23.845908   192.168.100.146       192.168.100.102       SMB      Session Setup AndX Request, User: DOMAIN\user
     63 23.855544   192.168.100.102       192.168.100.146       SMB      Session Setup AndX Response
     64 23.864421   192.168.100.146       192.168.100.102       SMB      Session Setup AndX Request, User: DOMAIN\user
     65 23.873746   192.168.100.102       192.168.100.146       SMB      Session Setup AndX Response
     66 23.876494   192.168.100.146       192.168.100.102       SMB      Session Setup AndX Request, User: DOMAIN\user
     67 23.891579   192.168.100.102       192.168.100.146       SMB      Session Setup AndX Response
     68 24.092971   192.168.100.146       192.168.100.102       TCP      49568 > microsoft-ds [ACK] Seq=1374 Ack=1128 Win=16393 Len=0
Title: Re: Windows 7 error accessing shares
Post by: gunrunnerjohn on February 15, 2010, 06:36:25 AM
This is not a typical issue with the DNS-323, that's for sure.

On the Advanced tab under Network Access, you have SMB selected, do you have any user accounts established, or are you running with only anonymous shares?  Can you ping the DNS-323 with the network name from the Setup, Device menu?
Title: Re: Windows 7 error accessing shares
Post by: mesostinky on February 15, 2010, 09:55:04 AM
Things I would try..

I know you said you disabled the windows firewall. If your using either the Norton or Mcafee internet security suites uninstall them completely.

Reset the DNS-323 completely to 100% factory specs with brand new shares and usernames. Put in a brand new formatted temp HD while doing this.

Make another account on your windows machine and try connecting using that instead of the one you are currently using.

Boot off of a live cd like UBC4Win(preferably) or a linux live cd and try connecting to the share(s) then. Then at least you'll know if its your Windows install.

Good luck.
Title: Re: Windows 7 error accessing shares
Post by: TomTieDom on February 15, 2010, 12:04:17 PM
@gunrunnerjohn
I have reset the device to factory settings. I have created no new users so admin is the only user known on the device. I have created 2 anonymous SMB shares ("All accounts").

The problem still occurs: From Win7 I can map a share using the Easy_Search utility and also directly in Explorer. They appear in Explorer as connected drives. When I try to access the mapped drives I still get the error "An unexpected network error occurred".

I can ping the device using the name in the Setup -> Device menu.
Title: Re: Windows 7 error accessing shares
Post by: TomTieDom on February 15, 2010, 12:17:58 PM
@mesostinky
I have reset the device to factory settings as above.

Your suggestions will take me a little longer. I am pretty sure it is the combination of the new Win7 install and the DNS-323. It all worked with the previous WinXP install on my laptop and currently still does on another XP laptop.
Title: Re: Windows 7 error accessing shares
Post by: gunrunnerjohn on February 15, 2010, 04:01:46 PM
Don't create any accounts, just leave the NAS "wide open".
Title: Re: Windows 7 error accessing shares
Post by: Emman on February 15, 2010, 04:39:51 PM
Try this....

Control Panel - Administrative Tools - Local Security Policy

Local Policies - Security Options



Network security: LAN Manager authentication level
Send LM & NTLM responses

Minimum session security for NTLM SSP
Disable Require 128-bit encryption


This is a known fact between linux and windows. The fixed I mentioned above has been tested with Windows 7 Pro and Ultimate and both works. Goodluck! ;D
Title: Re: Windows 7 error accessing shares
Post by: gunrunnerjohn on February 15, 2010, 04:58:27 PM
This was also fixed in most recent editions of SAMBA.  Since I've never seen this with either the DNS-321 or DNS-323 and three different Windows 7 installation, I have to believe this isn't the reason for this issue. I also have a friend with a DNS-323 and Windows 7, he has no issues connecting to his NAS either.
Title: Re: Windows 7 error accessing shares
Post by: Buhric on February 15, 2010, 11:54:05 PM
Me two.. I have Windows 7 64bit Rc1 and Windows 7 32bit both ultimate on 2 different computers
and neither has issues access the DNS-323
Title: Re: Windows 7 error accessing shares
Post by: TomTieDom on February 16, 2010, 02:22:16 AM
Try this....

Network security: LAN Manager authentication level
Send LM & NTLM responses

Minimum session security for NTLM SSP
Disable Require 128-bit encryption

Tried this and it made no difference, unfortunately.
Title: Re: Windows 7 error accessing shares
Post by: gunrunnerjohn on February 16, 2010, 05:44:03 AM
Tried this and it made no difference, unfortunately.
I'm not surprised, this has been fixed for some time on most currently updated NAS units.
Title: Re: Windows 7 error accessing shares
Post by: TomTieDom on April 07, 2010, 06:38:09 AM
Anybody any new ideas? This still ain't working. I am using the FTP server now to access the DNS-323, but that is really not ideal. - Thanks!

Cheers
Title: Re: Windows 7 error accessing shares
Post by: ECF on April 08, 2010, 10:42:09 AM
Are you logged in as admin user on your machine?
Title: Re: Windows 7 error accessing shares
Post by: TomTieDom on April 08, 2010, 11:59:00 PM
Yes