Link to home
Start Free TrialLog in
Avatar of cyimxtck
cyimxtckFlag for United States of America

asked on

IIS 7.0 using network drive to access files

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
Avatar of Rovastar
Rovastar
Flag of United Kingdom of Great Britain and Northern Ireland image

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.

Avatar of cyimxtck

ASKER

I can open the mapped drive in windows explorer, just not from IIS
ASKER CERTIFIED SOLUTION
Avatar of Rovastar
Rovastar
Flag of United Kingdom of Great Britain and Northern Ireland image

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