Solved

IIS 7.0 using network drive to access files

Posted on 2011-09-08
3
721 Views
Last Modified: 2012-05-12
We have an application written in C# MVC hosted on IIS 7.0 (Server 2008) and are trying to write files to another network server.

I have tried mapping a drive and writing to that drive, which has failed.  I have tried using my credendtials and saving those in the mapping process which has also failed.  Accessing the other server by name or by IP has failed as well.

In reading hundreds of articles it is apparent the method desired by Microsoft is to store the files on the same box.  We cannot do that due to a legacy system.  We have to use the other server in order to store these files.

Surely one of you experts have come across this?  Please help; our deadline is in 6 days...

Thanks,

B
0
Comment
Question by:cyimxtck
  • 2
3 Comments
 
LVL 17

Expert Comment

by:Rovastar
ID: 36502481
If you map a drive direct from a machine and it fails then likley you have not got the network access to do this.

Look at this first before loooking at your application.

Can you ping that machine?
What firewall restrictiosn do you have to that machine?
Can other amchines on your network access that machine?

445 is the port used to access machines for fiel copy/exploration Make sure this is opened up.

0
 

Author Comment

by:cyimxtck
ID: 36502542
I can open the mapped drive in windows explorer, just not from IIS
0
 
LVL 17

Accepted Solution

by:
Rovastar earned 500 total points
ID: 36531555
Use the app pool identity of the IIS machine, set this a specfic user and have this user the NTFS permission on the file server.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question