Solved

IIS 7.0 using network drive to access files

Posted on 2011-09-08
3
731 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
If you are thinking of adopting cloud services, or just curious as to what ‘the cloud’ can offer then the leader according to Gartner for Infrastructure as a Service (IaaS) is Amazon Web Services (AWS).  When I started using AWS I was completely new…
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…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Suggested Courses

636 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