Groups | Blog | Home
all groups > dotnet sdk > may 2004 >

dotnet sdk : Accessing Cluster Disks from a WEB Application



Programmer
5/19/2004 1:26:45 PM
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



Michael Pearson
5/19/2004 2:39:27 PM
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

[quoted text, click to view]

AddThis Social Bookmark Button