HTTP/1.1 New Session Failed & Sessions Resetting

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.

View Replies


ADVERTISEMENT

HTTP/1.1 New Session Failed

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.

View Replies View Related

Resetting Session Vars

is there a quick way to reset all the used session variables onb a server in one hit rather than using Code:

session("xx")=""

for each one.

View Replies View Related

HTTP 1.1 New Application Failed

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.

View Replies View Related

New Session Failed

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.

View Replies View Related

New Session Failed

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.

View Replies View Related

"HTTP/1.1 New Application Failed" Win2003

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:

View Replies View Related

2 IE Sessions Sharing The Same Per-Session Cookie!!

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:

Response.Cookies("SessionKey").Path = "/"
Response.Cookies("SessionKey") = strSessionKey

Nowhere is the cookie assigned an .expires value.

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?

View Replies View Related

Session Cookie In HTTP Header

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:

blnReturn = CBool(HttpQueryInfo(hOpenRequest, HTTP_QUERY_RAW_HEADERS,
ByVal strBuffer, Len(strBuffer), 0))

View Replies View Related

HTTPS -> HTTP Lost Session

if a URL is
https://www.mysite.com/mypage.asp

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.

View Replies View Related

Resetting The Combo Box Value To 0

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:

View Replies View Related

Resetting An Array

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

View Replies View Related

Resetting All Iis Settings

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?

View Replies View Related

Resetting Web Site

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 ?

View Replies View Related

Global.asa & Resetting/clearing/deleting Application Variables

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:

View Replies View Related

Error ASp .NET WEb Service : URL:'http://localhost/WebService1. HTTP/1.1 302 Found"

i'm using windows XP, IIS 5.1, Visual .NET 2003 and SQL Server 2000.

When I open New Project - Visual C# Projects - ASP .NET Web Service -

Location : http://localhost/WebService1

After that i click OK, then it returns error

"The web server reported the following error when

attempting to create or open the web project

located at the following

URL:'http://localhost/WebService1. HTTP/1.1 302 Found"

After that i try this : Code:

View Replies View Related

Sessions To Database Sessions

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.

View Replies View Related

IIS Log Failed

This comes randomly once in a blue moon on the browser screen. Any clues on how to resolve this.IIS log failed to write entry

File /WebCollections/global.asa

Line 35 Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another

View Replies View Related

OLE Oject Failed

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?

View Replies View Related

SLQSetConnectAttr Failed

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 ?

View Replies View Related

Write To File Failed

Error Type:
ADODB.Stream (0x800A0BBC)
Write to file failed.

Why?

View Replies View Related

Redirecting On Failed Image 404

I have some images on a domain (http://www.domain.com/image1.jpg for example).

I want to create a sub-domain so that the images will be
http://images.domain.com/image1.jpg for example.

Once I move the images to the sub-domain any requests to the old locations
will result in a 404.

Is there any way to redirect all failed image requests to the new location?
Maybe by modifying the 404 page?

View Replies View Related

Conversion Failed Error

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

Select Statement

Code:

View Replies View Related

Server.CreateObject Failed

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

800401f3

SELECT.ASP

Code:

View Replies View Related

Failed To Get Password Using CDONTS

i developed this sytem in my localhost.
this is my codes. the error i found is

<LI>Error Type:
Server object, ASP 0177 (0x800401F3)
Invalid class string
/minarex/forgot_pwd_send.asp, line 36

Code:

View Replies View Related

Driver's SQLSetConnectAttr Failed

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:

View Replies View Related

Utf-8 String Comparison Failed

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?

View Replies View Related

Detecting Failed Images

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.

View Replies View Related

Login Failed For User

The error i get is as follows:

Microsoft OLE DB Provider for ODBC Drivers
error '80040e4d'

[Microsoft][ODBC SQL Server Driver][SQL Server]Login
failed for user 'webuser'.

/dsn_inc1.asp, line 25

View Replies View Related

OLEDB Connection Failed

When I connect to a MS Access 2000 db with no password using a OLEDB string is no problem but if the db is protected by password I get this message:

"Cannot start your application. The workgroup information file is missing or opened exclusively by another user."

The string used is this:

"Provider=Microsoft.Jet.OLEDB.4.0; Password=xxxxx; Data Source=" & Server.MapPath("xxxxx")

Does anybody have a clue?

View Replies View Related

'Login Failed' Message Box

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.

View Replies View Related

The Transport Failed To Connect To The Server

I tried setting up formmail ASP based on Matt's cgi script but only got these errors when submitting this page: http://www.a2zli.com/surveycl56.htm

Formmail v1.3 detected the following errors:
error no.: -2147220973
description: The transport failed to connect to the server.

View Replies View Related

Failed To Read Binary Data.

DXUpload.Form.1 Error '80020009'

Failed to read binary data.

/backoffice/album/album_save.asp, Line 29
___

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...

any advice to sort it out?

View Replies View Related







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