By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,885 Members | 1,072 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,885 IT Pros & Developers. It's quick & easy.

Forms authentication failed - ticket supplied has expired

P: n/a
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.

Here's the config:

<authentication mode="Forms">
<forms name="WebAuth" loginUrl="login.aspx" protection="All" path="/"
timeout="525600"/>
</authentication>

The WebAuth cookie gets set to one year, the same as the timeout

How can I debug this problem?
--
Thanks in advance, Les Caudle
Jul 19 '07 #1
Share this Question
Share on Google+
6 Replies


P: n/a
Hi Les,

Steven is not in office for several days, so I will continue working with
you on this. Please feel free to let us know if there's anything unclear.
Thanks.

Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Jul 23 '07 #2

P: n/a
Steven & Walter - the issue happens on a random basis. It happens on some pages
where authorization is not required.

The web is not part of a web farm and 'web garden - max # of worker processes'
is set to 1.

I did move the web site from an older server a week ago. Possibly this has
something to do with it?

I'm going to have to research the default appPool properties in IIS, and decide
if I should tamper with the defaults.

Thanks, Les Caudle
On Mon, 23 Jul 2007 02:44:49 GMT, wa****@online.microsoft.com (Walter Wang
[MSFT]) wrote:
>Hi Les,

Steven is not in office for several days, so I will continue working with
you on this. Please feel free to let us know if there's anything unclear.
Thanks.

Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

================================================= =
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
================================================= =

This posting is provided "AS IS" with no warranties, and confers no rights.
Jul 23 '07 #3

P: n/a
Hi Les,

How's the result after tweaking appPool's properties?

Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Jul 25 '07 #4

P: n/a
Walter - I'm going to have to research that in the next few days. I don't want
to tamper and create a problem.

Is there a tech note that specifically outlines how to set that up, taking into
consideration the settings in the web.config & machine.config files?

I'm not even sure if this affects the user in any way. Maybe this happens
transparently to the user as I'm not getting any complaints? Session state is
not turned on, just using cookies and values passed in urls.

Thanks, Les Caudle

On Wed, 25 Jul 2007 11:37:28 GMT, wa****@online.microsoft.com (Walter Wang
[MSFT]) wrote:
>Hi Les,

How's the result after tweaking appPool's properties?

Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

================================================= =
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
================================================= =

This posting is provided "AS IS" with no warranties, and confers no rights.
Jul 25 '07 #5

P: n/a
Hi Les,

In following article, there's a section "Forms Authentication Tickets":

#How To: Configure MachineKey in ASP.NET 2.0
http://msdn2.microsoft.com/en-us/library/ms998288.aspx

The first case Steven has mentioned doesn't apply here since you're not
using webfarm or web garden.

For the second case, you may log when your application is restarted and see
if the issues occurs after restarting.
Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Jul 26 '07 #6

P: n/a
Hi Les,

I haven't heard from you recently.

I hope you understand that for such random and non-reproducible issues,
there's really not much we can do from newsgroup other than giving some
general suggestions and try if it works. For efficient troubleshooting, I
suggest you contact Microsoft Customer Support and Service. Thank you for
your understanding.
Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Jul 31 '07 #7

This discussion thread is closed

Replies have been disabled for this discussion.