Link to home
Start Free TrialLog in
Avatar of Jorge Maldonado
Jorge Maldonado

asked on

Share on remote device is not accessible from website hosted on Windows Server 2019

Currently, we have a website hosted on a Windows Server 2008 R2 Standard which gets documents (PDF , XML and regular text files mainly) from a share located in a NAS and displays them to our users. We are in the process of replacing such server (hardware) with a new one that has Windows Server 2019 Standard installed. When we put the new server to work, everything works just fine except for one thing, an error is displayed when trying to access the files in the NAS. This issue seems to be general when the share is not local (in the same device/server the website runs). We have defined 2 shares in 2 different servers for testing purposes and the behavior is the same. Also, the share in the NAS has full control privileges for Everyone as well as those for testing.

We are having a hard time with this situation because we are not experts in Windows Server OS. Also, we have search in Google for possible solutions but they are not quite clear for us. The error we get is shown in the below image. I will very much appreciate your feedback to solve our issue.
 
User generated image
Respectfully,
Jorge Maldonado
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Where are you getting the error the new 2019 iis or the older existing one?
How is the older server connecting to the share? iscsi ? smb?
Enable failed request tracking
Avatar of Jorge Maldonado
Jorge Maldonado

ASKER

Thanks for your reply.
The old server has always work correctly without any error since the year 2014. The new server, Windows Server 2019, is the one with the issue.

About using ISCSI or SMB, I do not really know. But I can see that the NAS has SMB and AFP enabled, and NFS disabled; there are no additional options but only these 3. However, in this case, AFP is not important because we are not using Apple devices. So I suppose that SMB is the answer. Is there a way to detect this directly in both, the old and new servers? Of course, the share was created in the NAS because it, (the NAS) has the physical folders and actual data/documents.

(I am not a network expert but a software developer. I will do my best to find answers that help you determine the cause of the issue.)

Best regards,
Jorge Maldonado
if you from a command prompt type
net use * \\NASNAME\SHARENAME  do you get a prompt for a username and password or error 53?
This is what happened when issuing the NET USE command.

**** IN THE OLD SERVER (WINDOWS SERVER 2008) ****
User generated image
Next, I right-clicked on the Network icon in Windows Explorer to map a Network Drive and this was the result:
User generated image
Again, I tried to map a Network Drive, but this time I checked the Connect using different credentials option and used the Administrator account, and the drive was successfully mapped/created.


**** IN THE NEW SERVER (WINDOWS SERVER 2019) ****
The net use command created the network drive without asking for credentials as shown in the below image.
User generated image


Something that I have to say is that, in my website (in both old and new servers), I defined a Virtual Directory that points to \\NASNAME\SHARENAME

Best regards,
Jorge Maldonado

Hi,

I just found that iSCSI is not running in either of the web servers. It is not running in the old server (Windows Server 2008) and it is not running in the new server (Windows Server 2019). The following image shows this. It appears in both servers. So, SMB is the protocol used.
User generated image

Regards,
Jorge Maldonado
iSCSI and SMB are two different things.. like zebras and pony's  ..
you go t he user not found that is returning from the4 NAS

so you neeed to add the username parameter to the net use
net use * \\server\share\  username  /persistent:yes

you will be prompted for the password

you could cheek the credential manager on the older machine and duplicate it on to the new machine
ASKER CERTIFIED SOLUTION
Avatar of Jorge Maldonado
Jorge Maldonado

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial