Solved

IIS 7.0 using network drive to access files

Posted on 2011-09-08
3
717 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Network ports are the threads that hold network communication together. They are an essential part of networking that can be easily ignore or misunderstood, my goals is to show those who don't have a strong network foundation how network ports opera…
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…

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now