R
Rob Meade
Hi all,
I have a webform containing about 9 web user controls, these primarily are
just html in a control thats used as the template etc..
A colleague has given me another control for our secure login, alas he's not
around to ask for help at the moment, but since adding his control I get an
error and I simply cannot decipher what it means, therefore I cannot find
where I need to look, the only thing I can confirm is that before I added
his control everything was fine (and I've not added any other since or made
any other changes since) - if I remove his control (and the associated code
in the html view) then my app works fine again....bit stuck...
I am receiving the following error message but I have no idea where to start
looking - any help is apprecated
Server Error in '/eNotifications' Application.
----------------------------------------------------------------------------
----
Input string was not in a correct format.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.FormatException: Input string was not in a correct
format.
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
Stack Trace:
[FormatException: Input string was not in a correct format.]
Microsoft.VisualBasic.CompilerServices.DecimalType.Parse(String Value,
NumberFormatInfo NumberFormat) +207
Microsoft.VisualBasic.CompilerServices.LongType.FromString(String Value)
+94
[InvalidCastException: Cast from string "/enotifications/notification.asp"
to type 'Long' is not valid.]
Microsoft.VisualBasic.CompilerServices.LongType.FromString(String Value)
+206
Microsoft.VisualBasic.CompilerServices.LongType.FromObject(Object Value)
+711
Microsoft.VisualBasic.CompilerServices.ObjectType.BitAndObj(Object obj1,
Object obj2) +880
eNotifications.SessionCheck.Page_Load(Object sender, EventArgs e) in
C:\Documents and
Settings\MeadeR.UBHT_NT.000\VSWebCache\avondev\eNotifications\Secure\Session
Check.ascx.vb:31
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Page.ProcessRequestMain() +731
Regards
Rob
I have a webform containing about 9 web user controls, these primarily are
just html in a control thats used as the template etc..
A colleague has given me another control for our secure login, alas he's not
around to ask for help at the moment, but since adding his control I get an
error and I simply cannot decipher what it means, therefore I cannot find
where I need to look, the only thing I can confirm is that before I added
his control everything was fine (and I've not added any other since or made
any other changes since) - if I remove his control (and the associated code
in the html view) then my app works fine again....bit stuck...
I am receiving the following error message but I have no idea where to start
looking - any help is apprecated
Server Error in '/eNotifications' Application.
----------------------------------------------------------------------------
----
Input string was not in a correct format.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.FormatException: Input string was not in a correct
format.
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
Stack Trace:
[FormatException: Input string was not in a correct format.]
Microsoft.VisualBasic.CompilerServices.DecimalType.Parse(String Value,
NumberFormatInfo NumberFormat) +207
Microsoft.VisualBasic.CompilerServices.LongType.FromString(String Value)
+94
[InvalidCastException: Cast from string "/enotifications/notification.asp"
to type 'Long' is not valid.]
Microsoft.VisualBasic.CompilerServices.LongType.FromString(String Value)
+206
Microsoft.VisualBasic.CompilerServices.LongType.FromObject(Object Value)
+711
Microsoft.VisualBasic.CompilerServices.ObjectType.BitAndObj(Object obj1,
Object obj2) +880
eNotifications.SessionCheck.Page_Load(Object sender, EventArgs e) in
C:\Documents and
Settings\MeadeR.UBHT_NT.000\VSWebCache\avondev\eNotifications\Secure\Session
Check.ascx.vb:31
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Page.ProcessRequestMain() +731
Regards
Rob