473,586 Members | 2,678 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VS 2008 app ( ASP, C# ) is breaking

the following keeps showing up in Application_Err or

I have re-installed VS2008 and it still happens

I do not know what this means, thank you your help.
>? e.GetType()
{Name = "EventArgs" FullName = "System.EventAr gs"}
[System.RuntimeT ype]: {Name = "EventArgs" FullName = "System.EventAr gs"}
base {System.Reflect ion.MemberInfo} : {Name = "EventArgs" FullName =
"System.EventAr gs"}
Assembly: {mscorlib, Version=2.0.0.0 , Culture=neutral ,
PublicKeyToken= b77a5c561934e08 9}
AssemblyQualifi edName: "System.EventAr gs, mscorlib, Version=2.0.0.0 ,
Culture=neutral , PublicKeyToken= b77a5c561934e08 9"
Attributes: Public | Serializable | BeforeFieldInit
BaseType: {Name = "Object" FullName = "System.Object" }
ContainsGeneric Parameters: false
DeclaringMethod : 'e.GetType().De claringMethod' threw an exception of
type 'System.Invalid OperationExcept ion'
DeclaringType: null
FullName: "System.EventAr gs"
GenericParamete rAttributes: 'e.GetType().Ge nericParameterA ttributes'
threw an exception of type 'System.Invalid OperationExcept ion'
GenericParamete rPosition: 'e.GetType().Ge nericParameterP osition' threw
an exception of type 'System.Invalid OperationExcept ion'
GUID: {3fb717af-9d21-3016-871a-df817abddd51}
HasElementType: false
IsAbstract: false
IsAnsiClass: true
IsArray: false
IsAutoClass: false
IsAutoLayout: true
IsByRef: false
IsClass: true
IsCOMObject: false
IsContextful: false
IsEnum: false
IsExplicitLayou t: false
IsGenericParame ter: false
IsGenericType: false
IsGenericTypeDe finition: false
IsImport: false
IsInterface: false
IsLayoutSequent ial: false
IsMarshalByRef: false
IsNested: false
IsNestedAssembl y: false
IsNestedFamANDA ssem: false
IsNestedFamily: false
IsNestedFamORAs sem: false
IsNestedPrivate : false
IsNestedPublic: false
IsNotPublic: false
IsPointer: false
IsPrimitive: false
IsPublic: true
IsSealed: false
IsSerializable: true
IsSpecialName: false
IsUnicodeClass: false
IsValueType: false
IsVisible: true
MemberType: TypeInfo
Module: {CommonLanguage RuntimeLibrary}
Namespace: "System"
ReflectedType: null
StructLayoutAtt ribute:
{System.Runtime .InteropService s.StructLayoutA ttribute}
TypeHandle: {System.Runtime TypeHandle}
TypeInitializer : {Void .cctor()}
UnderlyingSyste mType: {Name = "EventArgs" FullName = "System.EventAr gs"}
Sep 8 '08 #1
3 2541
"my cats, Gag and yak" <mr********@com cast.netwrote in message
news:nY******** *************** *******@comcast .com...
the following keeps showing up in Application_Err or

I have re-installed VS2008 and it still happens

I do not know what this means, thank you your help.
>>? e.GetType()
{Name = "EventArgs" FullName = "System.EventAr gs"}
[System.RuntimeT ype]: {Name = "EventArgs" FullName =
"System.EventAr gs"}
base {System.Reflect ion.MemberInfo} : {Name = "EventArgs" FullName =
"System.EventAr gs"}
Assembly: {mscorlib, Version=2.0.0.0 , Culture=neutral ,
PublicKeyToken= b77a5c561934e08 9}
AssemblyQualifi edName: "System.EventAr gs, mscorlib, Version=2.0.0.0 ,
Culture=neutral , PublicKeyToken= b77a5c561934e08 9"
Attributes: Public | Serializable | BeforeFieldInit
BaseType: {Name = "Object" FullName = "System.Object" }
ContainsGeneric Parameters: false
DeclaringMethod : 'e.GetType().De claringMethod' threw an exception of
type 'System.Invalid OperationExcept ion'
DeclaringType: null
FullName: "System.EventAr gs"
GenericParamete rAttributes: 'e.GetType().Ge nericParameterA ttributes'
threw an exception of type 'System.Invalid OperationExcept ion'
GenericParamete rPosition: 'e.GetType().Ge nericParameterP osition' threw
an exception of type 'System.Invalid OperationExcept ion'
GUID: {3fb717af-9d21-3016-871a-df817abddd51}
HasElementType: false
IsAbstract: false
IsAnsiClass: true
IsArray: false
IsAutoClass: false
IsAutoLayout: true
IsByRef: false
IsClass: true
IsCOMObject: false
IsContextful: false
IsEnum: false
IsExplicitLayou t: false
IsGenericParame ter: false
IsGenericType: false
IsGenericTypeDe finition: false
IsImport: false
IsInterface: false
IsLayoutSequent ial: false
IsMarshalByRef: false
IsNested: false
IsNestedAssembl y: false
IsNestedFamANDA ssem: false
IsNestedFamily: false
IsNestedFamORAs sem: false
IsNestedPrivate : false
IsNestedPublic: false
IsNotPublic: false
IsPointer: false
IsPrimitive: false
IsPublic: true
IsSealed: false
IsSerializable: true
IsSpecialName: false
IsUnicodeClass: false
IsValueType: false
IsVisible: true
MemberType: TypeInfo
Module: {CommonLanguage RuntimeLibrary}
Namespace: "System"
ReflectedType: null
StructLayoutAtt ribute:
{System.Runtime .InteropService s.StructLayoutA ttribute}
TypeHandle: {System.Runtime TypeHandle}
TypeInitializer : {Void .cctor()}
UnderlyingSyste mType: {Name = "EventArgs" FullName =
"System.EventAr gs"}
We don't need a stack trace. What line of code fails?
Sep 8 '08 #2
Application_Err or seems to be fired when an html page is accessed. It is an
html page with frames.

It happens some time between Response.Redire ct(..., true) and the html page
actually loading.

Interesting that with using a P3P header in the html page, Session_Start
fires only twice.

I say 'only' because without the P3P header, Session_Start fires once for
each frame.

In debug mode, I have not been able to identify an offending line of code.

I are confoosed, I thought frames do not have their own session.
Sep 9 '08 #3
I found a way to get this to work:

1. change the framed page from an .htm page to a .aspx page

2. replace the C# 3.5 codebehind with the code below so I can write a p3p
header before the page is rendered

3. also do #2 for each page that is a frame

the codebhind is:
using System;
using System.Web;
using myreader.Libs;

namespace myreader.browse r
{
/// <summary>
/// Summary description for MyReader.
/// </summary>
public partial class MyReader : System.Web.UI.P age
{

protected void Page_Load( object sender, System.EventArg s e )
{
}

#region Web Form Designer generated code
override protected void OnInit( EventArgs e )
{
//
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
//
InitializeCompo nent();
base.OnInit(e);
}

/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeCompo nent()
{
HttpContext.Cur rent.Response.A ddHeader("p3p", "CP=\"IDC DSP COR ADM DEVi
TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\"");
}
#endregion
}
}
John Bickmore
www.MyReader.net
"my cats, Gag and yak" <mr********@com cast.netwrote in message
news:zO******** *************** *******@comcast .com...
Application_Err or seems to be fired when an html page is accessed. It is
an html page with frames.

It happens some time between Response.Redire ct(..., true) and the html
page actually loading.

Interesting that with using a P3P header in the html page, Session_Start
fires only twice.

I say 'only' because without the P3P header, Session_Start fires once for
each frame.

In debug mode, I have not been able to identify an offending line of code.

I are confoosed, I thought frames do not have their own session.

Sep 9 '08 #4

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

Similar topics

0
2260
by: MarionEll | last post by:
--------------------------------------------------------- ************* Call for Participation ************** ************ Late Breaking News ************* *********** Extreme Markup Languages 2003 ************ --------------------------------------------------------- The regular (peer reviewed) part of the Extreme 2003...
0
1154
by: Amy | last post by:
I am looking for an rss feed that contains really important breaking news like "A large Tsunami just hit Asia" or "Terrorists attack the World Trade Center", but is empty if there really isn't anything that important going on. All the rss feeds I've looked at contain quite a few entries as breaking news or top headlines, none of which seem...
27
31397
by: The Bicycling Guitarist | last post by:
Hi. I found the following when trying to learn if there is such a thing as a non-breaking hyphen. Apparently Unicode has a ‑ but that is not well-supported, especially in older browsers. Somebody somewhere said: Alternately, you can use CSS to declare a class having: ..nowrap { white-space:nowrap } .... and then wrap the compound word...
22
7996
by: stevenkobes | last post by:
If a word has a hyphen in it, IE will permit a line break at the hyphen, but Firefox/Mozilla won't. Apparently the Firefox behavior is standards-compliant, but it is not what I want. Is there a way to denote a hyphen in HTML, that the line can be broken after? I've read some stuff about soft hyphens and non-breaking hyphens, but those...
4
1341
by: John Wood | last post by:
I saw that Microsoft have released a list of breaking changes in .Net here: http://msdn.microsoft.com/netframework/programming/breakingchanges/runtime/default.aspx While this is useful, it seems to be missing a change that has broken a lot of my applications, relating to the order in which members are returned by reflection. At least I can't...
49
2769
by: elmar | last post by:
Hi Clers, If I look at my ~200000 lines of C code programmed over the past 15 years, there is one annoying thing in this smart language, which somehow reduces the 'beauty' of the source code ;-): char *cp; void *vp; void **vpp;
4
4541
by: Rubin | last post by:
1) I want to show a breaking hyphen in Mozilla 1.5.0.4 How do I do that? "Unicode standard annex #14", <http://www.unicode.org/reports/tr14/>, defines 4 breaking hyphens. <quote> Breaking hyphens establish explicit break opportunities immediately after each occurrence.
6
2309
by: alf | last post by:
Hi, I want to add some library but it can not be comipled? Here is an output: D:\>cl Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for 80x86 Copyright (C) Microsoft Corporation. All rights reserved.
5
1556
by: Showjump | last post by:
Just wondering how many of you all are using VS2008 bETA 2 to work on 2.0 projects? I dl'd the beta 2 release but have not installed ityet because i was concerned about future uninstall when the RTM/RC version is out and the possibility of breaking 2.0 stuff when i uninstall. Any valid concerns? Ashok
1
1286
by: trint | last post by:
There are so many tags in the html pages of the aspx files that it would be very neccessary for me if Microsoft had an updating program of those pages in my project, or I will be spending months to go back and forth to figure out what is now required in this new version of Visual Studio. If anyone knows the existence of such a coversion...
0
7912
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8202
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. ...
0
8338
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7959
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...
0
8216
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5710
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...
0
5390
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3865
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1449
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.