473,385 Members | 1,863 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Accessing Cluster Disks from a WEB Application

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


Nov 18 '05 #1
1 1206
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

"Programmer" <se*******@hotmail.com> wrote in message
news:eG**************@TK2MSFTNGP09.phx.gbl...
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

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mark McKay | last post by:
I've been reading 'Java RMI' from O'Reilly, and it provides a nice example of scaling a server application by creating multiple instances of server objects on several distinct machines (each...
1
by: gotdough | last post by:
Cluster services gives the high availability needed - that is great. But I have never seen any discussion about what happens when a node fails - what do you do to get everything back to the...
10
by: Tim Schaefer | last post by:
Is there anybody out there that has implemented or will be implementing the new DB2 MPP clustering on Linux? http://www-3.ibm.com/software/data/db2/linux/ice/ Any success stories? Disasters? ...
17
by: Peter Ericsson | last post by:
Does anyone know if Microsoft plans to implement an C# (.net) API for MS Cluster like the one in C++? Or has someone else written a C# wrapper for the C++ API?
7
by: Luiz Guilherme Freitas de Paula | last post by:
Hi everyone, Anyone have PostgreSQL running on a cluster? I'm trying to run on a OpenMosix 2-machine cluster but the processes are not migrating. All the load is concentrating in one machine....
1
by: Nilabhra Banerjee | last post by:
Hi friends, I am loading Potsgresql in shared hard disks. The Disk cluster is shared by two nodes. The nodes can access the disks asynchronously, i.e, the node coming up first gets disk. I have...
0
by: John Fleming | last post by:
Hello, I am building a web application with the following components: 2 Web Servers - Windows Server 2003 - IIS 6 - .Net Framework version 2.0 - Reside in Domain A 2 Clustered Database...
4
by: ThunderMusic | last post by:
Hi, We have many servers setup as a cluster. When one server crashes, another one take the relay... We want to know if it's possible (I suppose it is) to make a Windows service developed with .NET...
3
by: Simon | last post by:
Hi All, I'm hoping someone will have some words of wisdom for me regarding MS Clustering on Windows 2003. I have a service that runs on a cluster. During invocation it's supposed to...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.