What Can I Do To Replicate Files Among Load Balanced Servers?

I am building an web application that will be hosted on load balanced servers
(multiple front and one backen db). The application will have to allow users
to upload files onto the server. For performance reasons, I do not want to
store binary files in the db (cuz there will be frequently retrieved and
stored and many will be within the range of 10 MB - powerpoint slides and pdf
files) so uploaded files will have to stay on the front end web server.

The problem with this approach is that there will have to be some mechanism that
replicates the files automatically among the front end servers. Can someone
shed some light on what the best apporach is to my problem? I am wondering
whether Windows 2000 has such service available to do file replication (if
so, how?)

View Replies


ADVERTISEMENT

Cookies In A Load-balanced Environment

Users in our load-balanced environment get to our home page via web.vzcorp.com where a persistent cookie gets set. bedineta is 1 of the machines in this setup. You can unofficially get to our home page that way too. Question I have is if the user comes in thru bedineta how can I get their machine to recognize the cookie I set when they came thru web.vzcorp.com? They come thru the same block of asp. I've played around with the cookies.Domain and Cookies.Path setting with no luck.

View Replies View Related

Copy Files Between Two Web Servers...

I have a need to have a web server (windows based) grab files each week from
a linux based server - hosted elsewhere. I cannot use UNC paths.

I want to have a script (.asp/asp.net) on the windows server that I would
provide a list of files to copy. The script would then copy the listed files.

The problem is that the using a filestream and copyto runs into an error
with URI paths.

This will be a substantial amount of data each week. I don't want to copy
it locally and then back up to the windows web server. I want/need the copy
to be directly between the two servers.

View Replies View Related

Files Not Executing On 2000 Servers

I have a .asp application lying out on a Windows 2000 server. The problem is it no longer is working. It seems that no .asp files will execute anylonger on this box. I even have a very basic .asp testfile that prints a line off text to the browser, but even these don't run. I got four errors in the event log for each failure. However, the browser displays this (with friendly error messages et to "off"):

Server Application Error

The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance.

The event log errors are :

A COM+ device failed to start
Did not register with DCOM within the timeout.

View Replies View Related

Couldn't Load My Asp Files On IE6

I have a COM/DCOM software which will load some asp files on IE5.0.
However, after I have installed IE6, it couldn't work any more.
I expect that anything can be loaded on IE5.0, can also be loaded on IE with
higher version.

Do you have any idea what may cause the problem? Also how can I find out
the problem?

View Replies View Related

How To Load Multiple SWF Files In Aspx

what i am doing in swf ------i have one Base swf file this Base swf
call one another child 1 swf this swf call one another child 2 swf this is
the concept . This is run clearly in out side, but i attached these files in
aspx this is not run, only run parent file only Code:

View Replies View Related

Load Binary Files Directly Onto Page

I currently have my database set up so that when a user uploads a file, it writes it in binary in the database. I know the benefits of having a separate file server and storing the path, but unfortunately, I can not do it that way.

I know how to include the file in, lets say, a hyperlink so that any user can click on the file to view it. But, I would like to know how to include the file (mainly pictures) directly into the page as an <img src> Any suggestions?

P.S.
Once the information is in the database, these are the commands I use to output the file to a hyperlink. The file that this code is in is "file.asp?Id=" Where the Id is taken from the URL and used to obtain the correct file. I left out all the connection/cmd strings intentionally just show I could show the relevant information:

Response.AddHeader "Content-Disposition", "filename=" & _
rs("FileName")
Response.ContentType = rs("ContentType")
Response.BinaryWrite RS("FileData")

View Replies View Related

Servers

What type of servers allow you to use ASP pages? For example, PHP pages
can function in Apache.
Furthermore, what kind of servers allow you to operate ASP and Access
together?

View Replies View Related

How To Determine Other Servers OS?

I have many servers which will be reghosted everyday with different OS
(Win2000, Win2003, WinXP...). How could I write the ASP code to get the
information of other servers' OS?

Let say the asp page is hosted on Server A, how can I check the OS version
of Server B and Server C?

View Replies View Related

Authentication Via Different Servers

We have a web site where the user logs in and a session variable is set,
which allows access to all pages via an include at the top of every page (
if session("LoggedInOK")<>"Yes" etc)

We have some content on another unrelated server in a different domain that
we would like automatic access to, if the login is OK for site 1, without
re-entering a login. Even better would be if some other session variable
data could be transferred at the same time (like username). Navigation would
be via hyperlinks on site 1. Is there a simple way to do this? i.e. has this
wheel already been invented? (Encrypted querystrings? XMLHTTP?)

View Replies View Related

Linux Servers

If my server runs on Linux and I want to use an ASP script and files on it. When I upload the files, wehn I go to the file directory and click on the file it asks me the same as what it asks me if I try to open it at home.How can I overcome this?

View Replies View Related

Web Servers Works With ASP

I have built a site completely with ASP.I am searching for free web host which works with ASP.give me a list web links of fre asp hosters.and i have used drive letters to access my database, how can i remove those drive letters (ex. "c:m.mdb").

View Replies View Related

Mysql On 2 Servers

I am currently wanting to move data from a host i have at the moment onto a different one, has anyone got a tutorial, where i can connect 1 mysql DB on 1 server (a host Company) to an different one.

View Replies View Related

Sessions Across Web Servers

Can you use session variables between a HTTP server and a HTTPS server? I need to use data from a form from the HTTP on the HTTPS but it doesnt seem to be working? If I cant what is the best way do reuse form data?

View Replies View Related

File Transfer Between Servers

Does anyone knows of a way to copy some file fro the server to another computer WITHOUT using ftp?

View Replies View Related

Are There Any Issues With ASP And Proxy Servers?

Our website works correctly for 99.9% of customers, however we have one set
of customers who access our website from what appears to be a proxy server
of some kind. i.e. The IP address is always the same no matter where the
location of the computer is.

My site is a framed site, and the specific problem is that a list of links
in one frame will not load a page on another frame. I don't believe this is
a browser compatibily problem. (I wont rule it out though). But there are no
problems as far as I can tell on other peoples computers.

My question is....Is there anything special that needs to be done to make
sure a site works through proxy servers, or is this likly to be some other
problem such as an SSL problem (the whole site is under ssl), browser
incompatibility problem, or just downright dodgy programing on my behalf?

View Replies View Related

Passing Variables Between Servers?

Here's the question: Can you use request.form to retrieve variables and values from a form submitted on a foreign server using the post method?

My understanding was that request.form could only retrieve values from the same web server the form was submitted to, using the post method.

I have another web master telling me this is how you pass information securely between "alien" web servers (web servers on different domains, or belonging to different organizations). For the life of me, I can't figure out how this might be done--or what the mechanism is for fetching the correct values from a foreign server!

View Replies View Related

Flushing Servers Buffer

In the following code when i = 500 the buffer on the server is flushed
to the client. However, because the content that is sent to the browser
contains an html table Internet Explorer does not display the table
until it receives the closing </table> tag.

The question is, am I
correct in saying that the buffer on the server is CLEARED when i =
500? It will be empty for a split second until the loop resumes again.
Am I correct? Code:

View Replies View Related

Session / Clustered Servers

At work we have 2 servers in a cluster for our web apps.One problem we have experienced (along with many others!) - is that if a user is logged into one of the applications on server a for example and it goes offline or fails their session is lost also - even though the application becomes available on server b.

I have heard that it is possible to either exchange the sessions between clustered servers or store them in a SQL Server database (probably preferred) so that we could then restore them if such a failure should occur.Can anyone shed any light on this for me? Or give me some URL's to check out and read.Sorry this isn't a 100% pure IIS question - its obviously partly ASP also.

View Replies View Related

Upload Image To Multiple Servers

Let me explain how our web site in constructed before getting to my question. We have three web servers that are a mirror of each other. So whenever I make a change to one of our pages, I have to upload to all three servers. My new task (and its a good one) is to create an image upload script that will distribute the file to all three servers.

I already have an upload script that works just fine, however I wanted to see if anyone out there has attempted anything similar to this and what methods they used to achieve their goal.

View Replies View Related

E-Mail Servers That Work With ASP Pages...

Does anyone know of any free POP3 email servers that would work with ASP pages?

I am running win2000 and have given up on getting my SMTP server to work.

View Replies View Related

Maintain Session Variable Between Servers

I stumbled upon a site last night that said I can maintain a session variable between 2 servers.

I tried it out between 2 servers and it worked fine. However, I forgot the URL and have deleted the pages.... idiot!

Does anyone know what I am talking about, if so, please could you point me in the right direction.

View Replies View Related

Trying To Link To Server Share With Multiple Servers

I'm trying to figure out a quick script that will let me link to a server share where the server could be 1 of a couple of different ones. The share will always be the same, but the server could be any of a list of maybe 5 or so choices as such:

server1share$
server2share$
server3share$

I'd basically like the script to check the different servers until it finds the one where the share exists, then redirect to it. The share will only exist on one server, but which one it is will change.

View Replies View Related

Load A DLL

Is it possible to load a DLL in an ASP page? I know that we can create instances of COM/ActiveX objects using Server.CreateObject, but what about a normal DLL stored on the system. Is there a way to load such a DLL and call its functions?

View Replies View Related

Displaying Image From Database Saves Files To Temporary Internet Files

I have a website that we display images we have saved into a SQL Server 2000 database as binary BLOB. This is on a Windows 2003 Server. Just recently (a week ago) this website began to save the images it is displaying on the website as ASP pages in the Temporary Internet Files > IE.Content > Folder.

We have other websites where we use the exact same code and these do not save files on the server when they are displayed.

Here is the code to display the image:
Set rs = objConn.Execute( SQL )
Response.ContentType = "application/octet-stream"
Response.BinaryWrite rs("Product_Image")

SQL is the SQL String to get the image from database

When I add this code:

Response.ContentType = "image/jpeg"

The images still display on the website, but now are saved in the Temporary Internet Files folder as JPG's.

View Replies View Related

ASP Pages Will Not Load

I cannot display asp pages on my local pc but can display php pages and asp.net pages.

I get the following errors

1 -2147467259 (0x80004005) - when I have IE not show friendly error messages
2. Server Not Found - when I have IE show friendly error messages
3 Resources in use - sometimes - when I have IE not show friendly error messages
4. Sometimes I get the microsoft error report popup stating there was a problem with COM Surrogate

I am running Win XP Pro SP2 with IIS 5.1, and latest .NET framework (release not beta)

I have tried the following to solve this problem:

1. Set intranet security to as low as possible in internet options.
2 Set internet options to allow active content to run
3. Set security to low in IIS for the web site
4. Use http://localhost/webaddress.asp not C:filename.asp to open the asp page
5. Turned off script blocking in Norton Anti Virus
6. Have tried a simple "Hello World" page to ensure that there was no problem with the code itself
7. Checked that the asp.dll is where it should be
8. Have IIS set to allow anonomous logon
9. Have IIS control password
10. Have IIS allow windows integrated logon

I cannot think of anything else that would prevent the asp pages from displaying. I have searched the web and seen similar questions to this but no answers that seem to help resolve the issue.

View Replies View Related

Down Load File

i have one text file when user click on link of this txt file ..than this file be downloaded to client machin...

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>

<a href="download.asp">dd.txt</a>

</body>
</html>

View Replies View Related

Page Won't Load

I'm using IIS on my localhost and also in some free Brinkster webspace.
The problem I have is that when ever I try to use a script that includes the File System Object (as I want to read/write/copy files etc), the page won't load, the progress bar in the browser just very slowly increases, but never gets anywhere, and nothing ever loads.So I'm thinking it's a set up problem? I've tried the same scripts in my Brinkster webspace, and they don't work there (but I know they do work!) but Brinkster may have some restrictions.
Is an FSO problem like this common? Can I alter some settings on my localhost set up to solve it?

View Replies View Related

Load Database

I never used global.asa. I am thinking of load some data in
application_onstart which is read only from database(I mean the data will
never be changed in any asp pages of the applcation) and so any session for
this application doesn't need to reload data from database again, reduce
database connection and procedure call.
Am I right? just doesn't see that kind of comments on-line.
I want to make sure this is the right concept before I am heading too far.

View Replies View Related

ASP Pages Don't Load

ASP Pages don't load in IIS 5.1 for XP, continuously wait.
I have this very same website running same version of SQL server but on two different OS's. The website with the very same configuration, but running on Win2k with IIS 5.0 is working perfect. But the system running with IIS 5.1 on XP continuously loads and never displays ASP pages. After a few moments, if i refresh, it says that there is too much traffic to display the page. I am not worried about the second error, because I can simply fix that by disabling 'HTTP keep alive'. I searched for people that had similar problems, and what I found is that the problem seems to have originated from a Critical Update and users are either switching to Win2K or went with Apache rather than IIS.

View Replies View Related

Load A Drop-down Box

I am creating a asp page containing a employee time-sheet table in it. there are two columns in the table, one is time-in one is time-out, and the table total have 20 lines.
In both time-in and time-out columns I want they show up as drop-down box say as: 9:00 am, 9:15 am, 9:30 am etc, , but I don't want the page load each drop-down box in total 20 lines, I only want the drop-down box loaded when the employee click the field.
I know maybe I shoud use JavaScript onClick funtion, but I am not sure about it, and I don't know the detail coding.

View Replies View Related

Load An Image

i have an asp script to load an image. baiscally if there is an image reference in the database i want it to load that image but if there is not ref in the database i want it to load a default image.the code i wrote is

<% if Image = ""
then
%>
<img src="catalogueimages/default.gif">
<% else %>
<img src=<%=Image%>>
<% end if %>

have also tried null instead of "" but that didnt work either.

View Replies View Related

Can't Load ASP Site

I have IIS installed on Windows2000. When I create a .asp webPage with DreamWeaver, the browser (IE6) can't open it. No error messages, it just hangs there.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved