I have a Win 2003 SP1 with IIS 6 and host about 40 websites, most of
them useing ASP/VB with access databases. The server is a Dell Dual 2.4Ghz
XEON with 512Mb Ram.
Every few days I get the error 'HTTP/1.1 New Session Failed' and the server
stops showing the sites. It comes right after a bit and then the error comes
back. I have separed the sites into 10 per application pool but it still does it.
Occassionally it will actually look like it is working but the sessions just
keep resetting and the users get logged out every 2 or 3 minutes.
There is a hotifx 838306 which according to MS is in SP1 but according to
everyone else, is NOT. It wont install on SP 1 because it needs another
hotfix first (837001), which will not install because there is a later
version of the 2nd hotfix in SP1. Catch 22!
So my solution is to set up my server to reboot every night at 2am. That
keeps it going.... barely.
People keep saying you don't need to reboot, just recycle the app pools.
Well that does not fix anything, only a cold reboot solves the problem... for
a few hours anyway.
I get this error when I try to load my site, "default.asp", or any ASP file really. This error comes up inexplicably, once every month or two. I cannot seem to regain access to the site until IIS is restarted. The error is probably caused by something I'm doing in my script, and it seems to be server side in nature.
Has anyone encountered this error before?Does anyone know what would cause this?I'd be happy to offer more information about the server, and/or my script, but I am not very intimate with the server as it is administrated at a remote location by someone else, and I really don't know where to start looking in my script. The web site functions flawlessly for a month or two before this error comes up.
My we site is facing a problem with HTTP 1.1 New Application Failed.
There is no database connections. And even I do not have any Global.asa Files .
What could be the problem and How could it be rectified. Where in on the same server the other asp site is running well only this site is facing the problem.
I'm on a windows VPS and I run ASP applications with mysql. I have a lot of traffic so I know I use a lot of resources.The server is running and after some hours I get this error:
message:HTTP/1.1 New Session Failed
I've supposed this is caused by the leak of memory, so I've tried different thing without any improvement.- create a paging file - set the pool recycling when at a "maximum virtual memory" amount- set the session timout in the webconfig at 5 minutes Nothing has changed. I don't know if I had some little improvements,however nothing that prevent the server from displaying that error after some hours of running properly.
I am having problems with the above mentioned error message with IIS6 on my dedicated server. The problem is apparently from leaky code that has allowed memory to max out the CPU. Can anyone offer up a suggestion to help me find the problems in my scripts? This issue is only showing up from time to time, but when it does everything is down for a few hours or until the server is restarted.
I'm getting this error where I hadn't had a problem before. Prior to getting the error, I did change settings on the default web site. Could that cause this problem? How do I fix it? I've stop and restarted the server and the computer. Still getting the error. Code:
I am having a problem tracking down what I believe to be a problem with the way cookies are being used on our website application.
When user log onto the application, an in-memory (per-session) cookie is created to hold the session key for the user. This unique key is assigned as part of the business layer logon process, and never changes while the user is logged on. The call to the business component returns this unique key if the logon was successful, and the cookie is set up as follows:
Once a user has completed this logon process, they must then click past an intermediate agreement page before actually having access to the main application. When this intermediate page is submitted, it accesses the cookie, extracts the session identifier and writes the value to a database table.
The code to achieve this looks something like:
strSessionKey = Request.Cookies("SessionKey") Dim objInstance Set objInstance = Server.CreateObject("SomeComponent.SomeClass") objInstance.StoreIdentifier strSessionKey Set objInstance= nothing
The whole process works fine until I try to do the second stage (the intermediate agreement) with two separate IE sessions (there are 2 separate IEXPLORER.EXE entries in task manager) very quickly.
I can go through the whole process fine, and then while leaving the application open, I can start again with a new IE window and complete the process again. In each case the correct identifier is stored in the database for each separate session.
If I get to the second stage of the logon process with 2 separate IE sessions, and submit both agreement pages at the same time (or as close together as I can), then they both write the same unique session identifier to the database, as if they are accessing the same cookie! The session identifier used is the one from the first agreement page I submit. This definitely only happens if I do this at the same time. Wait a few seconds between the submissions and all is well.
Has anyone come across something like this before and can advise on a possible reason?
I'm writing an application to authenticate a user using a challenge response mechanism. The client and server components of the application talk over HTTP.
I would like to use an ASP session object to hold a random number on the server. The code to store the number is written as part of a VB web class.
When I read the http header returned from my server, I can't see the session cookie. Why is this? If I create a normal cookie as part of my web class, it is returned correctly within the header.
I am using HttpQueryInfo the read the header as follows:
clients are redirected to http://www.mysite.com/mypage.asp
This works fine for all but 1 client. He looses a session during the redirect. Apparently his browser interprets https:// and http:// as different domains.
I have a search page where i have like 10 combo boxes and some radio buttons and check boxes.
Now when the page loads, i do some selection in the combo boxes and when i press reset button it clears all data in the form elements.
But when i select things in combo boxes and do a search by clicking OK button then the search results are displayed there and now if i want to clear all the form elements , i tried to click reset button, but when ever i did a search ie click ok button and after than press reset button reset button is not clearing the form elements.
Reason for this problem:
Reset button resets the form to it's state when it was loaded (as opposed to clearing the values) so if the page loaded with the search values in it, when you hit Reset nothing will happen if you haven't changed anything. Code:
arrayCurrentReviews becomes an array of unknown length based on what is in the current value of strCurrentReviews. What is happening is that if the first array has 2 values and the second array has only 1 value, then the second value of the first array is still there when the For j Loop goes to loop thru array 2. How can I reset arrayCurrentReviews so that it will not retain any values from the previous pass and will still be bounded by what the Split creates? Code:
strCSCICount = Request.Form("txtCSCICount") For i = 1 To strCSCICount strCurrentReviews = Request.Form("selectCSCI" & i) arrayCurrentReviews = Split(strCurrentReviews,",") If (UBound(arrayCurrentReviews) <> -1) Then For j = 0 To UBound(arrayCurrentReviews) '... Additional code cut out .... Next 'j End If Next 'i
is there a way to reset all iis settings? i have tried a reinstall but still have problems. the main one being i cannot see any pages on a website it says page not found when i know there are pages there . i have even switched on directory browsing and clicked through directories to get to any asp pages and it just says page not found . i think its something to do with permissions but cant correct it so i want to reset to original settings, can i do this?
What they have is a Kiosk machine that runs a web page. The problem he is having is when someone uses the Kiosk and they leave it a any given page and then walk away, it stays at that page. What he would like to have is a way to force the kiosk back to the default page after 3-5 minutes. Does anyone know how I can do this ?
I'm just dipping my toes into server-side scripting.
The Global.asa file seemed really nice, but am I understanding correctly that the application onstart event is fired ONLY when the server is started/re-started or when the FIRST user logs onto an ASP application?
If that's the case, then all the changes I keep making to my Global.asa file are pretty useless, right? (which seems to be the case -- i.e., my pages are not using any of the new information). Code:
We are planning to set-up a load balanced web environment. Accordingly, we are going to change the session management on our website from the classic ASP Session State and session variables, to a database method.
Does any one have any pointers as to how I might approach this, so that I can have the same sort of functionality the ASP sessions give without having to create database columns for each session variable I wish to create. I am thinking along the lines of some serialised dictionary or something that I can stick in a blob column.
I created a calendar in access 2k and when the user clicks on the link from the web page I created I'm getting this error. The operation on th eOLE oject failed. The OLE server may not be registered. To register the OLE service, reinstall it. What shall I do, I tried reinstalling it and that wasn't the issue. Anyone has any input?
I've this return error --> Driver's SLQSetConnectAttr failed <-- My system is XP, I've development in .asp and my DB is Access 2000, someone could help me ?
Ok i'm getting a conversion error when i try to do an insert, the table i'm pulling from and the one i'm writing from are the same. i think there is something i can do to define my field data types.
error:
Conversion failed when converting character string to smalldatetime data type
Any idea why this is happening? The directory exists on the FS. It's an upload script to put files in a database directory. It errors out on the upload.
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/ProspectTracking/alphatest/default/Upload/upload.asp, line 3
I am recieving an weird error when trying to check to see if a user exists in the database. The error I am recieving is:
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed /PhotoBBS/NewUser.asp, line 56
I have searched on google, and nothing really came up, except to check my SQL Statement, which I have and it seems correct, tho I might have made a little mistake, could someone help me? Code:
I want my website to support multi-lingua, so I add Codepage="65001" in my english website. However, after adding that, all the string comparison failed (login page, catcha). I thought I only need to add codepage, then my website will become multi-lingua site Did I miss something?
Is there any way in VB ASP of identifying if an image which is placed on a page fails (if it's simply not been put on the server for instance so IE gives it a red X)? I want to detect this if it happens and display a default image or something.
I'm creating a website using asp for a university assignment,and I want to create a message box for when a login fails, i.e. login failed..try again.
I can use the 'response.write' function, but I feel that a message box would look better.Could anyone shed some light on how I should go about doing it?
I've had a look at the java tags in dreamweaver and I can see that you can create a pop up 'onsubmit', but I only want to display the message/pop up in the event of a login failure.
If lJt = "GENERAL" OR lJt = "GOODS_DETAIL" Then 29: Set objUpload = Server.CreateObject("DXUpload.Form") lAction = objUpload( "ACTION" ) Else lAction = request( "ACTION" ) End If
___
here's my code... I can't see why this error occured...