Solved

IIS 7.0 using network drive to access files

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

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

Question has a verified solution.

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

Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
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.…

734 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