473,763 Members | 1,883 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Forms authentication failed for the request. Reason: The ticket supplied has expired.

Hi,

We have a javascript on a page that calls a .NET web service. Oddly,
in our web servers event logs the following errors kept repeating
every minute (that made sense since the web service was on a minute
timer).

Event code: 4005
Event message: Forms authentication failed for the request. Reason:
The ticket supplied has expired.
Event time: 5/11/2007 11:38:14 AM
Event time (UTC): 5/11/2007 4:38:14 PM
Event ID: 8d4cef6673914d6 db1c5cc3c641cd6 7e
Event sequence: 18473
Event occurrence: 112
Event detail code: 50202

Application information:
Application domain: /LM/W3SVC/692275466/Root-1-128233734034204 773
Trust level: Full
Application Virtual Path: /

Process information:
Process ID: 7716
Process name: w3wp.exe

Request information:
Request URL: http://domain:port/WebServices/servi...lastMsg=671498
Request path: /WebServices/service.asmx/service
User host address: 82.81.177.24
User:
Is authenticated: False
Authentication Type:
When I try to recreate this error I can't, everything seems fine. I
looked at the IIS logs, and the IP that caused it hit a couple pages,
then this web service every minute. So the user was idle.

The part that's baffling me is why this error happened, and ONLY for
one user...?

Any ideas would be appreciated.

Thanks.
Chad

May 14 '07 #1
6 25824
This is very odd. Several IPs have been generating this error in our
event logs. But oddly, not enough that it indicates an error in our
code. Only a person or two will be generating this error at a time,
meanwhile 100s are logged into the site at any given time (plus
anonymous users).

I'm pulling out my hair here...

-C

On May 14, 10:38 am, Gibble <gib...@gmail.c omwrote:
Hi,

We have a javascript on a page that calls a .NET web service. Oddly,
in our web servers event logs the following errors kept repeating
every minute (that made sense since the web service was on a minute
timer).

Event code: 4005
Event message: Forms authentication failed for the request. Reason:
The ticket supplied has expired.
Event time: 5/11/2007 11:38:14 AM
Event time (UTC): 5/11/2007 4:38:14 PM
Event ID: 8d4cef6673914d6 db1c5cc3c641cd6 7e
Event sequence: 18473
Event occurrence: 112
Event detail code: 50202

Application information:
Application domain: /LM/W3SVC/692275466/Root-1-128233734034204 773
Trust level: Full
Application Virtual Path: /

Process information:
Process ID: 7716
Process name: w3wp.exe

Request information:
Request URL:http://domain:port/WebServices/servi...rId=&lastMsg=6...
Request path: /WebServices/service.asmx/service
User host address: 82.81.177.24
User:
Is authenticated: False
Authentication Type:

When I try to recreate this error I can't, everything seems fine. I
looked at the IIS logs, and the IP that caused it hit a couple pages,
then this web service every minute. So the user was idle.

The part that's baffling me is why this error happened, and ONLY for
one user...?

Any ideas would be appreciated.

Thanks.
Chad

May 14 '07 #2
Out of curiousity...wh y would this end up in the windows event log?

On May 14, 12:22 pm, Gibble <gib...@gmail.c omwrote:
This is very odd. Several IPs have been generating this error in our
event logs. But oddly, not enough that it indicates an error in our
code. Only a person or two will be generating this error at a time,
meanwhile 100s are logged into the site at any given time (plus
anonymous users).

I'm pulling out my hair here...

-C

On May 14, 10:38 am, Gibble <gib...@gmail.c omwrote:
Hi,
We have a javascript on a page that calls a .NET web service. Oddly,
in our web servers event logs the following errors kept repeating
every minute (that made sense since the web service was on a minute
timer).
Event code: 4005
Event message: Forms authentication failed for the request. Reason:
The ticket supplied has expired.
Event time: 5/11/2007 11:38:14 AM
Event time (UTC): 5/11/2007 4:38:14 PM
Event ID: 8d4cef6673914d6 db1c5cc3c641cd6 7e
Event sequence: 18473
Event occurrence: 112
Event detail code: 50202
Application information:
Application domain: /LM/W3SVC/692275466/Root-1-128233734034204 773
Trust level: Full
Application Virtual Path: /
Process information:
Process ID: 7716
Process name: w3wp.exe
Request information:
Request URL:http://domain:port/WebServices/servi...rId=&lastMsg=6...
Request path: /WebServices/service.asmx/service
User host address: 82.81.177.24
User:
Is authenticated: False
Authentication Type:
When I try to recreate this error I can't, everything seems fine. I
looked at the IIS logs, and the IP that caused it hit a couple pages,
then this web service every minute. So the user was idle.
The part that's baffling me is why this error happened, and ONLY for
one user...?
Any ideas would be appreciated.
Thanks.
Chad

May 14 '07 #3
Hi, how are you trying to reproduce the error? It's not clear whether you
meant the user is idle or not. One reason for the error could be the user was
idle for a long time in which case it timeout and logged it as an error. If
this is so, then no need to worry about it.

HTH
May 14 '07 #4
I can't recreate it...as I don't yet know what's causing it exactly.

I've done some research and some people seem to think it's because the
session timeout is longer than the forms authentication cookie
timeout, but I'm not using sessions:

<authenticati on mode="Forms">
<forms loginUrl="login .aspx" name=".FOO" protection="All "
path="/" timeout="120" cookieless="Use Cookies" />
</authentication>

<sessionState mode="Off"/>

So I don't know what's causing this...?
On May 14, 3:42 pm, Vijay <V...@discussio ns.microsoft.co mwrote:
Hi, how are you trying to reproduce the error? It's not clear whether you
meant the user is idle or not. One reason for the error could be the user was
idle for a long time in which case it timeout and logged it as an error. If
this is so, then no need to worry about it.

HTH

May 14 '07 #5
Any ideas?

On May 14, 4:41 pm, Gibble <gib...@gmail.c omwrote:
I can't recreate it...as I don't yet know what's causing it exactly.

I've done some research and some people seem to think it's because the
session timeout is longer than the forms authentication cookie
timeout, but I'm not using sessions:

<authenticati on mode="Forms">
<forms loginUrl="login .aspx" name=".FOO" protection="All "
path="/" timeout="120" cookieless="Use Cookies" />
</authentication>

<sessionState mode="Off"/>

So I don't know what's causing this...?

On May 14, 3:42 pm, Vijay <V...@discussio ns.microsoft.co mwrote:
Hi, how are you trying to reproduce the error? It's not clear whether you
meant the user is idle or not. One reason for the error could be the user was
idle for a long time in which case it timeout and logged it as an error. If
this is so, then no need to worry about it.
HTH

May 15 '07 #6
try using slidingExpirati on="true" in the forms tag & also make sure forms
timeout is same as session timeout.
May 15 '07 #7

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

Similar topics

1
2469
by: Scott | last post by:
Hi, We're having an issue with Forms Authentication cookies being treated as expired / invalid, and being deleted. This is causing our intranet users a great deal of pain - Running IIS 5.0 on Win2k Server - Forms Authentication is setup with a timeout value of 45 minutes in web.config - Session timeout is set to 45 minutes in web.config
3
2362
by: Mike | last post by:
I have a web application that the forms authentication cookie is not expiring correctly. When I look at the trace information of a newly requested page after the session and forms authentication have expired the forms authentication cookie is assigned a new value. I am never redirected to the login page after my initial login. If I access the site from http://localhost/myapp instead of myapp.domain.com the cookies expire correctly. The cookie...
1
2194
by: AVance | last post by:
Hi, I've come across this scenario in ASP.NET 1.1 with forms authentication where the forms auth doesn't seem to timeout correctly, nor redirect to the login page. I have done some testing, and I believe I've found a solution, but I would like some insight from Microsoft on whether the code I've implemented is correct, and why it is even working. Here is my scenario:
0
1323
by: Sean Patterson | last post by:
Hey all, I've followed the examples online on how to use Forms Authentication to create a ticket, assign it a role, and then intercept it in the Global.asax file to make sure it gets sucked in to the IPrincipal. This has worked on some other apps, but my code isn't working in my new one for some reason. Here's my CreateCredentials code: Private Sub CreateCredentials(ByVal UserID As String, ByVal UserRole As String)
6
4609
by: eric.olstad | last post by:
I'm pullin my hair out here. I've created a login page that uses Forms Authentication. Initially, it loads the types of authentication methods from a database and asks the user to select the auth method from a drop down list. Each method corresponds to an external module (assembly) that is loaded using reflection and accessed using a common interface. The modules work, I know that. The issues come after I log in. After logging in, I...
0
1429
by: needInstaller3.0 | last post by:
I have upgraded the server with framework 2.0 and move one of the sites from ASP.NET 1.1 to 2.0 and I got this error once a while in the error log. Does anyone know how to fix this? Thanks! ------------------------------------------------------------------------------------------- Event Type: Information Event Source: ASP.NET 2.0.50727.0 Event Category: Web Event Event ID: 1315
7
26340
by: Adrian Parker | last post by:
We have an application that's running ok on most of our customers machines, but on one of them we get an error. They're running on windows 2003 server with iis6. In the web.config, the authentication is set to forms, and the form tag contains: timeout="25" slidingExpiration="true" Event Type: Information Event Source: ASP.NET 2.0.50727.0 Event Category: Web Event Event code: 4005 Event message: Forms authentication failed for the...
6
4811
by: Les Caudle | last post by:
Running ASP.NET 2.0 on Windows 2003. Getting events in App log for Event code: 4005 Event message: Forms authentication failed for the request. Reason: The ticket supplied has expired. The page they are viewing doesn't even require a secure login.
0
5081
by: ketax | last post by:
Hi expert, I am getting this type of error 2 times from one user: Event code: 4009 Event message: Viewstate verification failed. Reason: The viewstate supplied failed integrity check. Then another error, from different user is this: Event code: 4005
0
9389
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10149
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9943
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8825
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7370
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5410
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3918
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3529
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2797
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.