Accessing Cluster Disks from a WEB Application

P

Programmer

Well here is my problem

I have a web application running in 2 web servers and I have also a cluster
system.

I want using the web application to write some files in the cluster discs.

So I have created in my web servers a virtual directory located on the
cluster discs.

(Before that I had create a cluster resource "File share" so I would be able
to access the disks and I have give permissions to the 2 web machines)

So I call the server.MapPath and returns the correct path let's say
\\tst\WebReports

Then I'm trying to create a directory on the share using System.IO.Directory
and I get an error that a part of the path could not be resolved.

I do the same staff exactly in an other, machine that it's not clustered and
everything works just fine.

Can anyone tell me the reason why I can't access the cluster disks from the
web servers???

I want to save the files in the cluster disks so I don't have a single point
of failure.



Thanks



Dimitris
 
M

Michael Pearson

Can the user that ASP.net runs as access that UNC path?
That's probably the problem.

ASP.net runs as local user ASPNET by default.

Michael
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,053
Latest member
BrodieSola

Latest Threads

Top