Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: Internal ASP.NET error in 'ProcessData', urgent help needed.


Message #1 by "matthew mcewan" <matthew.mcewan@r...> on Fri, 27 Sep 2002 09:33:53
A variety of web controls, many of which are 'custom' controls inherited
from System.Web.UI.Controls consisting mainly of other
System.Web.UI.Controls and some HTMLControls.
Nothing fancy, just large pages with some Javascript written out using
HTMLGenericControl.
When I view the HTML, everything looks great in the IDE, no erros, and the
syncronise view all looks good too. All the html tags are as you'd expect
in the correct place.

It works on 95% of our screens but we cannot find a pattern for the ones in
error as there is nothibng special about them.

Matt.



-----Original Message-----
From: Philip Steel [mailto:PhilipS@t...]
Sent: 27 September 2002 13:25
To: ASPX_Professional
Subject: [aspx_professional] RE: Internal ASP.NET error in 'ProcessDat
a', urgent help needed.


Can you describe what data you're posting in the pages
that this is happening?

-----Original Message-----
From: matthew.mcewan@R... [mailto:matthew.mcewan@R...]
Sent: 27 September 2002 13:11
To: ASPX_Professional
Subject: [aspx_professional] RE: Internal ASP.NET error in 'ProcessDat
a', urgent help needed.


Hi paul, 
Yes thanks, I'm aware of cast errors, but this is an internal dot.net cast
error which is out of my try/catch control.  The ProcessData is a private
function in the System.Web.UI.Page class and runs somewhere between the
system driven Page_Load and LoadViewState events.

Matt.

-----Original Message-----
From: Philip Steel [mailto:PhilipS@t...]
Sent: 27 September 2002 12:15
To: ASPX_Professional
Subject: [aspx_professional] RE: Internal ASP.NET error in
'ProcessData', urgent help needed.


Hi Matthew

Invalid cast type usually means you are trying to pass a procedure a
parameter value
of the wrong type, for example an integer when it is expecting a string.

P

-----Original Message-----
From: matthew mcewan [mailto:matthew.mcewan@r...]
Sent: 27 September 2002 10:34
To: ASPX_Professional
Subject: [aspx_professional] Internal ASP.NET error in 'ProcessData',
urgent help needed.


Hello, 

I'm getting an internal ASP.NET error in a method called ProcessData as 
follows:-

Specified cast is not valid. 
...
Stack Trace: 


[InvalidCastException: Specified cast is not valid.]
   System.Web.UI.Page.ProcessPostData(NameValueCollection postData, 
Boolean fBeforeLoad) +633
   System.Web.UI.Page.ProcessRequestMain() +885

It's bizarre as we have many aspx pages and we cannot find a pattern to 
this problem.

Has anyone else had this? I would be grateful if you could lend a hand,
Many thanks!
---

ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442

ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450

These books are a complete reference to the ASP.NET namespaces 
for developers who are already familiar with using ASP.NET. 
There is no trivial introductory material or useless .NET 
hype and the presentation of the namespaces, in an easy-to use 
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes, 
giving you those real-world tips that the documentation doesn't 
offer, and demonstrating complex techniques with simple 
examples.  

---

---

ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442

ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450

These books are a complete reference to the ASP.NET namespaces 
for developers who are already familiar with using ASP.NET. 
There is no trivial introductory material or useless .NET 
hype and the presentation of the namespaces, in an easy-to use 
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes, 
giving you those real-world tips that the documentation doesn't 
offer, and demonstrating complex techniques with simple 
examples.  

---

---

ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442

ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450

These books are a complete reference to the ASP.NET namespaces 
for developers who are already familiar with using ASP.NET. 
There is no trivial introductory material or useless .NET 
hype and the presentation of the namespaces, in an easy-to use 
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes, 
giving you those real-world tips that the documentation doesn't 
offer, and demonstrating complex techniques with simple 
examples.  

---

---

ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442

ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450

These books are a complete reference to the ASP.NET namespaces 
for developers who are already familiar with using ASP.NET. 
There is no trivial introductory material or useless .NET 
hype and the presentation of the namespaces, in an easy-to use 
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes, 
giving you those real-world tips that the documentation doesn't 
offer, and demonstrating complex techniques with simple 
examples.  

---

  Return to Index