InstantASP Community Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        


Email Errors: doEmail and doPM Expand / Collapse
Author
Message
Posted 26/04/2005 07:28:45
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: 14/10/2008 15:36:31
Posts: 582, Visits: 876
Im getting more than a couple email error notices from my board saying...

Exception Type: System.InvalidCastException
Exception Message: Cast from string "doEmail" to type 'Integer' is not valid.
Exception Source: Microsoft.VisualBasic
Exception Target Site: FromString

Exception Type: System.InvalidCastException
Exception Message: Cast from string "doPM" to type 'Integer' is not valid.
Exception Source: Microsoft.VisualBasic
Exception Target Site: FromString

Exception Type: System.InvalidCastException
Exception Message: Cast from string "AddBuddy" to type 'Integer' is not valid.
Exception Source: Microsoft.VisualBasic
Exception Target Site: FromString

In each instance the page that is generating is the logon.aspx with only a sessionID as a querystring param

Here's on in its entirety (with pertinant info removed)

(Outer Exception)
Date and Time: 4/26/2005 5:19:30 AM
Machine Name: DEDF58
Process User: NT AUTHORITY\NETWORK SERVICE
Remote User:
Remote Address: xxx.xxx.xxx.xxx
Remote Host: xxx.xxx.xxx.xxx
URL: http://www.paratrooper.net/commo/Logon.aspx?SessionID=oddpra45dpznfl55oiprguj3

NET Runtime version: 1.1.4322.2032
Application Domain: /LM/W3SVC/1/Root/commo-1-127589819912591984
Assembly Codebase: c:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
Assembly Full Name: Microsoft.VisualBasic, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Assembly Version: 7.0.5000.0
Assembly Build Date: 11/30/2004 1:07:08 PM

Exception Type: System.InvalidCastException
Exception Message: Cast from string "doPM" to type 'Integer' is not valid.
Exception Source: Microsoft.VisualBasic
Exception Target Site: FromString

---- Stack Trace ----
Microsoft.VisualBasic.CompilerServices.IntegerType.FromString(Value As String)
(unknown file): N 00212
InstantASP.InstantForum.Business.Sessions.Task()
Sessions.vb: line 0418, col 17, IL 0028
InstantASP.InstantForum.UI.Controls.Logon.Initialize(ctlSkin As Control)
Logon.vb: line 0075, col 13, IL 0167
InstantASP.InstantForum.UI.Skinning.Base.CreateChildControls()
SkinBase.vb: line 0109, col 13, IL 0008
System.Web.UI.Control.EnsureChildControls()
(unknown file): N 00100
System.Web.UI.Control.PreRenderRecursiveInternal()
(unknown file): N 00038
System.Web.UI.Control.PreRenderRecursiveInternal()
(unknown file): N 00125
System.Web.UI.Control.PreRenderRecursiveInternal()
(unknown file): N 00125
System.Web.UI.Control.PreRenderRecursiveInternal()
(unknown file): N 00125
System.Web.UI.Control.PreRenderRecursiveInternal()
(unknown file): N 00125
System.Web.UI.Page.ProcessRequestMain()
(unknown file): N 01545



Mark 'Rigger82' Christianson
US Paratrooper & Webmaster of Paratrooper.net
http://www.paratrooper.net
Post #6075
Posted 26/04/2005 07:36:08


IF.NET 4.2 Coming Soon

IF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming Soon

Group: Administrators
Last Login: 2 days ago @ 11:53:33
Posts: 1,959, Visits: 3,027
Many thanks Mark, I've seen this myself from our forums.

I'll keep you posted, this of course will be resolved before final release. 

You could update InstantASP_ExceptionLogMethod application setting within the web.config to ToFile as opposed to ToEmail, this will log the exceptions to a file within the root, it may ease the email flood from bots still looking for your old pages for the moment.


Kindest Regards,

Ryan Healey
Director / Developer

Explore our products...
http://demos.instantasp.co.uk/

Post #6079
Posted 26/04/2005 07:38:42
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: 14/10/2008 15:36:31
Posts: 582, Visits: 876
Is THAT what this is? Bots or people hitting old pages? Cripes... that would at least make me feel better knowing that there isnt some mysterious error that I cannot seem to get to reproduce.

Mark 'Rigger82' Christianson
US Paratrooper & Webmaster of Paratrooper.net
http://www.paratrooper.net
Post #6080
Posted 26/04/2005 07:58:21


IF.NET 4.2 Coming Soon

IF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming Soon

Group: Administrators
Last Login: 2 days ago @ 11:53:33
Posts: 1,959, Visits: 3,027
Yep, the Task querystring (doEmail, doPM) has now changed to an integer which represents values from an enumeration. It's attempting to convert the doEmail to an int and throwing the exception.

Don't panic it's not some mysterious bug


Kindest Regards,

Ryan Healey
Director / Developer

Explore our products...
http://demos.instantasp.co.uk/

Post #6083
Posted 26/04/2005 08:08:41
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: 14/10/2008 15:36:31
Posts: 582, Visits: 876
No panic.. just get a WHOLE lot of these (guess thats good, means the search engines like me)... but I am wondering if theres some way to sense bots and avoid errors or offer redirection or something rather than the bots hitting the error pages and generating all these emails (yes, I can move to file but right now I like the emails for testing and immediate notification of issues).

Mark 'Rigger82' Christianson
US Paratrooper & Webmaster of Paratrooper.net
http://www.paratrooper.net
Post #6087
Posted 11/06/2005 08:47:54
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: 14/10/2008 15:36:31
Posts: 582, Visits: 876
Has there been any development to redirect these things.. Im getting a TON of them.. its great to see that google is so diligent with my site but its getting a little annoying having all the emails and Im afraid that google isnt getting past that point.

Mark 'Rigger82' Christianson
US Paratrooper & Webmaster of Paratrooper.net
http://www.paratrooper.net
Post #7237
« Prev Topic | Next Topic »

Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ryan Healey, Mark Christianson, Bare, James Trott

Permissions Expand / Collapse

All times are GMT, Time now is 6:50pm

Powered by InstantForum.NET v4.1.4 © 2009
Execution: 0.141. 10 queries. Compression Disabled.
Home | Products | Purchase | Support | Company | Contact Us
Privacy Statement | © 1999-2007 InstantASP Limited. All Rights Reserved.