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.
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.
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?)
How do I execute an executable (which will install some files) on the client machine which is stored on the web server. I've found this feature on many web sites.
I am planning to design a database (destined for the web) that will have between 20000 and 45000 records in it and will receive a lot of reads but very very few writes (just from me).
Now the question is should I use:
1) The combination of Access 2000 (accessible through ASP or ASP.NET) using OLEDB Jet
or
2) SQL Server 2000 ?
Of course I know that the SQL Server option is a better one, especially since it's said that an Access DB can have about 9 users or so accessing it at the same time. But is that a general rule or is it about many people writing to the DB? In other words, if an Access DB has hardly any writes and 99.9% reads can it be used as efficiently as it would be used on SQL Server 2000?
I have one 3 tier architecture application running on Windows 2000 Server.
I have created replica of same machine on another machine where OS is Windows 2000 Advance Server.
But when I port same running application on new machine i.e. Machine with OS as Windows 2000 Advance Server, my middle tier (Active-X Dll, COM+ application) fails.
It throws common error Invalid Procedure Call or argument
What could be the problem? Do I need to change any settings for running application on Windows 2000 advance Server.
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?
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?
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?)
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?
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").
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.
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?
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?
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!
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:
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.
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.
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.
Is it possible to make an ASP script that continues to run after the browser window is closed? I have a script that is going to run continuously for multiple days, and don't want to leave the browser window open. Maybe this can be achieved by executing a command for the system to run it?
I found this asp code in this forum but can not get it to work with my command
<% Dim oShell, sCommand sCommand = "MyCommand" Set oShell = CreateObject("WScript.Shell") oShell.Run sCommand, , True Set oShell = Nothing %>
I replace "MYCommand" with the command i wish to execute but the page just hangs with the blue status bar halfway complete at the bottom, when checking the services on the box it is not restarted.
I've tried instantiating the Windows Script Host shell object in ASP, and I'm trying to run this command: "cscript.exe myvbs.vbs parameter1 parameter2"; however, the server runs cscript.exe very briefly, and the task ends. Note, it runs fine from a command prompt. Do I need to give the anonymous user any special permissions in order to do this?
I have a WSH script that I usually run using the server scheduler but want to be able to execute it from an ASP page to generate reports spontaneously. The WSH Script performs correctly from the server system and the scheduler but when I try it from my ASP (please see below) nothing happens, no errors, no reports, no nothing.Code:
<% Dim objWSH : Set objWSH = Server.CreateObject("WScript.Shell")
I have a VB DLL which I've created that I call from an ASP page I also created. The DLL makes a call to the API (FindWindow), but always returns 0 instead of an HWND. I'm guessing that IIS is designed to disallow its own processes from discerning any information about outside (non-IIS) processes (for security reasons).
i read into low, medium, and high "security" settings (ie. being created as an IIS process, pooled, or an outside process), but that didn't seem to help. Any suggestions as to how I can make this API call succeed (and/or any similar API calls?
I used to be able to Execute '.VBS' files from ASP pages. I think the facility stopped in IIS6. Security feature I guess - any work arounds available ?