473,326 Members | 2,680 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

VS 2008 app ( ASP, C# ) is breaking

the following keeps showing up in Application_Error

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.EventArgs"}
[System.RuntimeType]: {Name = "EventArgs" FullName = "System.EventArgs"}
base {System.Reflection.MemberInfo}: {Name = "EventArgs" FullName =
"System.EventArgs"}
Assembly: {mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089}
AssemblyQualifiedName: "System.EventArgs, mscorlib, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089"
Attributes: Public | Serializable | BeforeFieldInit
BaseType: {Name = "Object" FullName = "System.Object"}
ContainsGenericParameters: false
DeclaringMethod: 'e.GetType().DeclaringMethod' threw an exception of
type 'System.InvalidOperationException'
DeclaringType: null
FullName: "System.EventArgs"
GenericParameterAttributes: 'e.GetType().GenericParameterAttributes'
threw an exception of type 'System.InvalidOperationException'
GenericParameterPosition: 'e.GetType().GenericParameterPosition' threw
an exception of type 'System.InvalidOperationException'
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
IsExplicitLayout: false
IsGenericParameter: false
IsGenericType: false
IsGenericTypeDefinition: false
IsImport: false
IsInterface: false
IsLayoutSequential: false
IsMarshalByRef: false
IsNested: false
IsNestedAssembly: false
IsNestedFamANDAssem: false
IsNestedFamily: false
IsNestedFamORAssem: 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: {CommonLanguageRuntimeLibrary}
Namespace: "System"
ReflectedType: null
StructLayoutAttribute:
{System.Runtime.InteropServices.StructLayoutAttrib ute}
TypeHandle: {System.RuntimeTypeHandle}
TypeInitializer: {Void .cctor()}
UnderlyingSystemType: {Name = "EventArgs" FullName = "System.EventArgs"}
Sep 8 '08 #1
3 2519
"my cats, Gag and yak" <mr********@comcast.netwrote in message
news:nY******************************@comcast.com. ..
the following keeps showing up in Application_Error

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.EventArgs"}
[System.RuntimeType]: {Name = "EventArgs" FullName =
"System.EventArgs"}
base {System.Reflection.MemberInfo}: {Name = "EventArgs" FullName =
"System.EventArgs"}
Assembly: {mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089}
AssemblyQualifiedName: "System.EventArgs, mscorlib, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089"
Attributes: Public | Serializable | BeforeFieldInit
BaseType: {Name = "Object" FullName = "System.Object"}
ContainsGenericParameters: false
DeclaringMethod: 'e.GetType().DeclaringMethod' threw an exception of
type 'System.InvalidOperationException'
DeclaringType: null
FullName: "System.EventArgs"
GenericParameterAttributes: 'e.GetType().GenericParameterAttributes'
threw an exception of type 'System.InvalidOperationException'
GenericParameterPosition: 'e.GetType().GenericParameterPosition' threw
an exception of type 'System.InvalidOperationException'
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
IsExplicitLayout: false
IsGenericParameter: false
IsGenericType: false
IsGenericTypeDefinition: false
IsImport: false
IsInterface: false
IsLayoutSequential: false
IsMarshalByRef: false
IsNested: false
IsNestedAssembly: false
IsNestedFamANDAssem: false
IsNestedFamily: false
IsNestedFamORAssem: 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: {CommonLanguageRuntimeLibrary}
Namespace: "System"
ReflectedType: null
StructLayoutAttribute:
{System.Runtime.InteropServices.StructLayoutAttrib ute}
TypeHandle: {System.RuntimeTypeHandle}
TypeInitializer: {Void .cctor()}
UnderlyingSystemType: {Name = "EventArgs" FullName =
"System.EventArgs"}
We don't need a stack trace. What line of code fails?
Sep 8 '08 #2
Application_Error seems to be fired when an html page is accessed. It is an
html page with frames.

It happens some time between Response.Redirect(..., 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.browser
{
/// <summary>
/// Summary description for MyReader.
/// </summary>
public partial class MyReader : System.Web.UI.Page
{

protected void Page_Load( object sender, System.EventArgs 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.
//
InitializeComponent();
base.OnInit(e);
}

/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
HttpContext.Current.Response.AddHeader("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********@comcast.netwrote in message
news:zO******************************@comcast.com. ..
Application_Error seems to be fired when an html page is accessed. It is
an html page with frames.

It happens some time between Response.Redirect(..., 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
by: MarionEll | last post by:
--------------------------------------------------------- ************* Call for Participation ************** ************ Late Breaking News ************* *********** Extreme...
0
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...
27
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...
22
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...
4
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...
49
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...
4
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...
6
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...
5
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...
1
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.