COM error in IIS7
am 17.01.2008 22:57:42 von Norm
I have a few web sites running in IIS7 on Windows Server 2008 RC1 (I
think its RC1, build number is 6001). These websites are constantly
throwing the below error, and I cannot figure it out. Can anyone shed
some light on this?
Error: System.Runtime.InteropServices.COMException (0x800703E3): The I/
O operation has been aborted because of either a thread exit or an
application request. (Exception from HRESULT: 0x800703E3)
at
System.Runtime.InteropServices.Marshal.ThrowExceptionForHRIn ternal(Int32
errorCode, IntPtr errorInfo)
at System.Web.Hosting.IIS7WorkerRequest.ReadEntityCoreSync(Byte []
buffer, Int32 offset, Int32 size)
at System.Web.Hosting.IIS7WorkerRequest.ReadEntityBody(Byte[]
buffer, Int32 size)
at System.Web.HttpRequest.GetEntireRawContent()
at System.Web.HttpRequest.FillInFormCollection()
at System.Web.HttpRequest.get_Form()
at System.Web.HttpRequest.get_HasForm()
at System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean
dontReturnNull)
at System.Web.UI.Page.DeterminePostBackMode()
at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Re: COM error in IIS7
am 18.01.2008 00:43:47 von Alvin Bruney
I've not seen this before. What is your application doing with COM? It may
help shed some light. Also, have a look at the eventvwr log to see if there
are further details.
--
Regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
The O.W.C. Black Book, 2nd Edition
Exclusively on www.lulu.com/owc $19.99
-------------------------------------------------------
"Norm" wrote in message
news:654ba5b9-94e3-4a80-a691-aa45447949c6@d70g2000hsb.google groups.com...
>I have a few web sites running in IIS7 on Windows Server 2008 RC1 (I
> think its RC1, build number is 6001). These websites are constantly
> throwing the below error, and I cannot figure it out. Can anyone shed
> some light on this?
>
> Error: System.Runtime.InteropServices.COMException (0x800703E3): The I/
> O operation has been aborted because of either a thread exit or an
> application request. (Exception from HRESULT: 0x800703E3)
> at
> System.Runtime.InteropServices.Marshal.ThrowExceptionForHRIn ternal(Int32
> errorCode, IntPtr errorInfo)
> at System.Web.Hosting.IIS7WorkerRequest.ReadEntityCoreSync(Byte []
> buffer, Int32 offset, Int32 size)
> at System.Web.Hosting.IIS7WorkerRequest.ReadEntityBody(Byte[]
> buffer, Int32 size)
> at System.Web.HttpRequest.GetEntireRawContent()
> at System.Web.HttpRequest.FillInFormCollection()
> at System.Web.HttpRequest.get_Form()
> at System.Web.HttpRequest.get_HasForm()
> at System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean
> dontReturnNull)
> at System.Web.UI.Page.DeterminePostBackMode()
> at System.Web.UI.Page.ProcessRequestMain(Boolean
> includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Re: COM error in IIS7
am 18.01.2008 01:59:09 von Norm
The application does not use any COM objects. It only uses the .net
2.0 framework. It seems to me that IIS7 is using some COM objects
internally. My guess is that System.Web.Hosting.IIS7WorkerRequest
inherits System.Web.HttpWorkerRequest and ReadEntityCoreSync() is a
private method that is called by IIS7WorkerRequests implementation of
the ReadEntityBody() method. I think that it is a problem retrieving
the post variables from some underlying COM object. Notice the
"System.Web.HttpRequest.get_Form()" in the call stack. Here are some
links to how I got to this conclusion (I have been working on this
since after my first post):
http://msdn2.microsoft.com/en-us/library/system.web.httpwork errequest.aspx
http://msdn2.microsoft.com/en-us/library/system.web.httpwork errequest.readen=
titybody.aspx
Also, here is an error log entry:
- System
- Provider
[ Name] ASP.NET 2.0.50727.0
- EventID 1309
[ Qualifiers] 32768
Level 3
Task 3
Keywords 0x80000000000000
- TimeCreated
[ SystemTime] 2008-01-17T23:04:15.000Z
EventRecordID 7462
Channel Application
Computer ********
Security
- EventData
3005
An unhandled exception has occurred.
1/17/2008 3:04:15 PM
1/17/2008 11:04:15 PM
9187dd406b71470e8395bc78ab61a833
282
15
0
/LM/W3SVC/12/ROOT-6-128450243044816020
Full
/
D:\Websites\********** (folder)
************** (machine name)
1776
w3wp.exe
**************** (identity)
COMException
The I/O operation has been aborted because of either a thread exit
or an application request. (Exception from HRESULT: 0x800703E3)
http://www.acpartshouse.com/default.aspx
/default.aspx
**************** (ip)
False
**************** (identity)
59
**************** (identity)
False
at
System.Runtime.InteropServices.Marshal.ThrowExceptionForHRIn ternal(Int32
errorCode, IntPtr errorInfo) at
System.Web.Hosting.IIS7WorkerRequest.ReadEntityCoreSync(Byte [] buffer,
Int32 offset, Int32 size) at
System.Web.Hosting.IIS7WorkerRequest.ReadEntityBody(Byte[] buffer,
Int32 size) at System.Web.HttpRequest.GetEntireRawContent() at
System.Web.HttpRequest.FillInFormCollection() at
System.Web.HttpRequest.get_Form() at
System.Web.HttpRequest.get_HasForm() at
System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull)
at System.Web.UI.Page.DeterminePostBackMode() at
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Thanks for helping me out with this. Even a little nudge in the right
direction would be helpful.
Norm
On Jan 17, 3:43=A0pm, "Alvin Bruney [ASP.NET MVP]"
wrote:
> I've not seen this before. What is your application doing with COM? It may=
> help shed some light. Also, have a look at the eventvwr log to see if ther=
e
> are further details.
>
> --
>
> Regards,
> Alvin Bruney [MVP ASP.NET]
>
> [Shameless Author plug]
> The O.W.C. Black Book, 2nd Edition
> Exclusively onwww.lulu.com/owc$19.99
> -------------------------------------------------------
>
> "Norm" wrote in message
>
> news:654ba5b9-94e3-4a80-a691-aa45447949c6@d70g2000hsb.google groups.com...
>
>
>
> >I have a few web sites running in IIS7 on Windows Server 2008 RC1 (I
> > think its RC1, build number is 6001). These websites are constantly
> > throwing the below error, and I cannot figure it out. Can anyone shed
> > some light on this?
>
> > Error: System.Runtime.InteropServices.COMException (0x800703E3): The I/
> > O operation has been aborted because of either a thread exit or an
> > application request. (Exception from HRESULT: 0x800703E3)
> > =A0 at
> > System.Runtime.InteropServices.Marshal.ThrowExceptionForHRIn ternal(Int32=
> > errorCode, IntPtr errorInfo)
> > =A0 at System.Web.Hosting.IIS7WorkerRequest.ReadEntityCoreSync(Byte []
> > buffer, Int32 offset, Int32 size)
> > =A0 at System.Web.Hosting.IIS7WorkerRequest.ReadEntityBody(Byte[]
> > buffer, Int32 size)
> > =A0 at System.Web.HttpRequest.GetEntireRawContent()
> > =A0 at System.Web.HttpRequest.FillInFormCollection()
> > =A0 at System.Web.HttpRequest.get_Form()
> > =A0 at System.Web.HttpRequest.get_HasForm()
> > =A0 at System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean
> > dontReturnNull)
> > =A0 at System.Web.UI.Page.DeterminePostBackMode()
> > =A0 at System.Web.UI.Page.ProcessRequestMain(Boolean
> > includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)- Hi=
de quoted text -
>
> - Show quoted text -
Re: COM error in IIS7
am 18.01.2008 17:41:02 von brucebarker
most likely the sender (browser) is closing the connection early (aborting
the post). if this happens a lot, a network trace may give a hint.
are you pages heavy (large viewstate)?
-- bruce (sqlwork.com)
"Norm" wrote:
> The application does not use any COM objects. It only uses the .net
> 2.0 framework. It seems to me that IIS7 is using some COM objects
> internally. My guess is that System.Web.Hosting.IIS7WorkerRequest
> inherits System.Web.HttpWorkerRequest and ReadEntityCoreSync() is a
> private method that is called by IIS7WorkerRequests implementation of
> the ReadEntityBody() method. I think that it is a problem retrieving
> the post variables from some underlying COM object. Notice the
> "System.Web.HttpRequest.get_Form()" in the call stack. Here are some
> links to how I got to this conclusion (I have been working on this
> since after my first post):
>
> http://msdn2.microsoft.com/en-us/library/system.web.httpwork errequest.aspx
> http://msdn2.microsoft.com/en-us/library/system.web.httpwork errequest.readentitybody.aspx
>
> Also, here is an error log entry:
>
> - System
> - Provider
> [ Name] ASP.NET 2.0.50727.0
> - EventID 1309
> [ Qualifiers] 32768
> Level 3
> Task 3
> Keywords 0x80000000000000
> - TimeCreated
> [ SystemTime] 2008-01-17T23:04:15.000Z
> EventRecordID 7462
> Channel Application
> Computer ********
> Security
> - EventData
> 3005
> An unhandled exception has occurred.
> 1/17/2008 3:04:15 PM
> 1/17/2008 11:04:15 PM
> 9187dd406b71470e8395bc78ab61a833
> 282
> 15
> 0
> /LM/W3SVC/12/ROOT-6-128450243044816020
> Full
> /
> D:\Websites\********** (folder)
> ************** (machine name)
> 1776
> w3wp.exe
> **************** (identity)
> COMException
> The I/O operation has been aborted because of either a thread exit
> or an application request. (Exception from HRESULT: 0x800703E3)
> http://www.acpartshouse.com/default.aspx
> /default.aspx
> **************** (ip)
> False
> **************** (identity)
> 59
> **************** (identity)
> False
> at
> System.Runtime.InteropServices.Marshal.ThrowExceptionForHRIn ternal(Int32
> errorCode, IntPtr errorInfo) at
> System.Web.Hosting.IIS7WorkerRequest.ReadEntityCoreSync(Byte [] buffer,
> Int32 offset, Int32 size) at
> System.Web.Hosting.IIS7WorkerRequest.ReadEntityBody(Byte[] buffer,
> Int32 size) at System.Web.HttpRequest.GetEntireRawContent() at
> System.Web.HttpRequest.FillInFormCollection() at
> System.Web.HttpRequest.get_Form() at
> System.Web.HttpRequest.get_HasForm() at
> System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull)
> at System.Web.UI.Page.DeterminePostBackMode() at
> System.Web.UI.Page.ProcessRequestMain(Boolean
> includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
>
>
> Thanks for helping me out with this. Even a little nudge in the right
> direction would be helpful.
>
> Norm
>
> On Jan 17, 3:43 pm, "Alvin Bruney [ASP.NET MVP]"
> wrote:
> > I've not seen this before. What is your application doing with COM? It may
> > help shed some light. Also, have a look at the eventvwr log to see if there
> > are further details.
> >
> > --
> >
> > Regards,
> > Alvin Bruney [MVP ASP.NET]
> >
> > [Shameless Author plug]
> > The O.W.C. Black Book, 2nd Edition
> > Exclusively onwww.lulu.com/owc$19.99
> > -------------------------------------------------------
> >
> > "Norm" wrote in message
> >
> > news:654ba5b9-94e3-4a80-a691-aa45447949c6@d70g2000hsb.google groups.com...
> >
> >
> >
> > >I have a few web sites running in IIS7 on Windows Server 2008 RC1 (I
> > > think its RC1, build number is 6001). These websites are constantly
> > > throwing the below error, and I cannot figure it out. Can anyone shed
> > > some light on this?
> >
> > > Error: System.Runtime.InteropServices.COMException (0x800703E3): The I/
> > > O operation has been aborted because of either a thread exit or an
> > > application request. (Exception from HRESULT: 0x800703E3)
> > > at
> > > System.Runtime.InteropServices.Marshal.ThrowExceptionForHRIn ternal(Int32
> > > errorCode, IntPtr errorInfo)
> > > at System.Web.Hosting.IIS7WorkerRequest.ReadEntityCoreSync(Byte []
> > > buffer, Int32 offset, Int32 size)
> > > at System.Web.Hosting.IIS7WorkerRequest.ReadEntityBody(Byte[]
> > > buffer, Int32 size)
> > > at System.Web.HttpRequest.GetEntireRawContent()
> > > at System.Web.HttpRequest.FillInFormCollection()
> > > at System.Web.HttpRequest.get_Form()
> > > at System.Web.HttpRequest.get_HasForm()
> > > at System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean
> > > dontReturnNull)
> > > at System.Web.UI.Page.DeterminePostBackMode()
> > > at System.Web.UI.Page.ProcessRequestMain(Boolean
> > > includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)- Hide quoted text -
> >
> > - Show quoted text -
>
>
Re: COM error in IIS7
am 18.01.2008 20:58:34 von Norm
Thanks for the help Bruce. Its because of how often that it is
happening that I did not think that was the case. I will have to
verify that via a trace like you said. And yes, the pages are pretty
heavy. Viewstate is approaching 100KB (ick I know, we are cutting down
on this). The total HTML source is about 275KB. (Ugh that ratio is
horrible) But I'm confused as to how viewstate has an affect on this.
Are you talking client-side download/render time? Or is it something
else that a large viewstate can mess up?
On Jan 18, 8:41=A0am, bruce barker
wrote:
> most likely the sender (browser) is closing the connection early (aborting=
> the post). if this happens a lot, a network trace may give a hint.
>
> are you pages heavy (large viewstate)?
>
> -- bruce (sqlwork.com)
>
>
>
> "Norm" wrote:
> > The application does not use any COM objects. It only uses the .net
> > 2.0 framework. It seems to me that IIS7 is using some COM objects
> > internally. My guess is that System.Web.Hosting.IIS7WorkerRequest
> > inherits System.Web.HttpWorkerRequest and ReadEntityCoreSync() is a
> > private method that is called by IIS7WorkerRequests implementation of
> > the ReadEntityBody() method. I think that it is a problem retrieving
> > the post variables from some underlying COM object. Notice the
> > "System.Web.HttpRequest.get_Form()" in the call stack. =A0Here are some
> > links to how I got to this conclusion (I have been working on this
> > since after my first post):
>
> >http://msdn2.microsoft.com/en-us/library/system.web.httpwor kerrequest...
> >http://msdn2.microsoft.com/en-us/library/system.web.httpwor kerrequest...
>
> > Also, here is an error log entry:
>
> > - System
> > =A0 - Provider
> > =A0 =A0 =A0 [ Name] =A0ASP.NET 2.0.50727.0
> > =A0 - EventID 1309
> > =A0 =A0 =A0 [ Qualifiers] =A032768
> > =A0 =A0Level 3
> > =A0 =A0Task 3
> > =A0 =A0Keywords 0x80000000000000
> > =A0 - TimeCreated
> > =A0 =A0 [ SystemTime] =A02008-01-17T23:04:15.000Z
> > =A0 =A0EventRecordID 7462
> > =A0 =A0Channel Application
> > =A0 =A0Computer ********
> > =A0 =A0Security
> > - EventData
> > =A0 =A03005
> > =A0 =A0An unhandled exception has occurred.
> > =A0 =A01/17/2008 3:04:15 PM
> > =A0 =A01/17/2008 11:04:15 PM
> > =A0 =A09187dd406b71470e8395bc78ab61a833
> > =A0 =A0282
> > =A0 =A015
> > =A0 =A00
> > =A0 =A0/LM/W3SVC/12/ROOT-6-128450243044816020
> > =A0 =A0Full
> > =A0 =A0/
> > =A0 =A0D:\Websites\********** (folder)
> > =A0 =A0************** (machine name)
> > =A0 =A01776
> > =A0 =A0w3wp.exe
> > =A0 =A0**************** (identity)
> > =A0 =A0COMException
> > =A0 =A0The I/O operation has been aborted because of either a thread exi=
t
> > or an application request. (Exception from HRESULT: 0x800703E3)
> > =A0 =A0http://www.acpartshouse.com/default.aspx
> > =A0 =A0/default.aspx
> > =A0 =A0**************** (ip)
> > =A0 =A0False
> > =A0 =A0**************** (identity)
> > =A0 =A059
> > =A0 =A0**************** (identity)
> > =A0 =A0False
> > =A0 =A0at
> > System.Runtime.InteropServices.Marshal.ThrowExceptionForHRIn ternal(Int32=
> > errorCode, IntPtr errorInfo) at
> > System.Web.Hosting.IIS7WorkerRequest.ReadEntityCoreSync(Byte [] buffer,
> > Int32 offset, Int32 size) at
> > System.Web.Hosting.IIS7WorkerRequest.ReadEntityBody(Byte[] buffer,
> > Int32 size) at System.Web.HttpRequest.GetEntireRawContent() at
> > System.Web.HttpRequest.FillInFormCollection() at
> > System.Web.HttpRequest.get_Form() at
> > System.Web.HttpRequest.get_HasForm() at
> > System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull)
> > at System.Web.UI.Page.DeterminePostBackMode() at
> > System.Web.UI.Page.ProcessRequestMain(Boolean
> > includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
>
> > Thanks for helping me out with this. =A0Even a little nudge in the right=
> > direction would be helpful.
>
> > Norm
>
> > On Jan 17, 3:43 pm, "Alvin Bruney [ASP.NET MVP]"
> > wrote:
> > > I've not seen this before. What is your application doing with COM? It=
may
> > > help shed some light. Also, have a look at the eventvwr log to see if =
there
> > > are further details.
>
> > > --
>
> > > Regards,
> > > Alvin Bruney [MVP ASP.NET]
>
> > > [Shameless Author plug]
> > > The O.W.C. Black Book, 2nd Edition
> > > Exclusively onwww.lulu.com/owc$19.99
> > > -------------------------------------------------------
>
> > > "Norm" wrote in message
>
> > >news:654ba5b9-94e3-4a80-a691-aa45447949c6@d70g2000hsb.googl egroups.com.=
...
>
> > > >I have a few web sites running in IIS7 on Windows Server 2008 RC1 (I
> > > > think its RC1, build number is 6001). These websites are constantly
> > > > throwing the below error, and I cannot figure it out. Can anyone she=
d
> > > > some light on this?
>
> > > > Error: System.Runtime.InteropServices.COMException (0x800703E3): The=
I/
> > > > O operation has been aborted because of either a thread exit or an
> > > > application request. (Exception from HRESULT: 0x800703E3)
> > > > =A0 at
> > > > System.Runtime.InteropServices.Marshal.ThrowExceptionForHRIn ternal(I=
nt32
> > > > errorCode, IntPtr errorInfo)
> > > > =A0 at System.Web.Hosting.IIS7WorkerRequest.ReadEntityCoreSync(Byte [=
]
> > > > buffer, Int32 offset, Int32 size)
> > > > =A0 at System.Web.Hosting.IIS7WorkerRequest.ReadEntityBody(Byte[]
> > > > buffer, Int32 size)
> > > > =A0 at System.Web.HttpRequest.GetEntireRawContent()
> > > > =A0 at System.Web.HttpRequest.FillInFormCollection()
> > > > =A0 at System.Web.HttpRequest.get_Form()
> > > > =A0 at System.Web.HttpRequest.get_HasForm()
> > > > =A0 at System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean
> > > > dontReturnNull)
> > > > =A0 at System.Web.UI.Page.DeterminePostBackMode()
> > > > =A0 at System.Web.UI.Page.ProcessRequestMain(Boolean
> > > > includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)=
- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
Re: COM error in IIS7
am 18.01.2008 21:11:59 von Norm
Bruce,
I actually verified this pretty quickly by just testing and canceling
the post a couple of times. The error happened if I waited a bit then
canceled the post, much like a user would if they were sick of
waiting. The amount of these errors means that we are really pissing
people off! I'm going to work on cutting down the viewstate
immediately.
A note to everyone: Do not use webcontrols for static content without
setting EnableViewState to false!
Alvin, thanks to you too. Now you have seen this before!
Norm
On Jan 18, 11:58=A0am, Norm wrote:
> Thanks for the help Bruce. Its because of how often that it is
> happening that I did not think that was the case. =A0I will have to
> verify that via a trace like you said. And yes, the pages are pretty
> heavy. Viewstate is approaching 100KB (ick I know, we are cutting down
> on this). The total HTML source is about 275KB. (Ugh that ratio is
> horrible) But I'm confused as to how viewstate has an affect on this.
> Are you talking client-side download/render time? Or is it something
> else that a large viewstate can mess up?
>
> On Jan 18, 8:41=A0am, bruce barker
>
>
>
> wrote:
> > most likely the sender (browser) is closing the connection early (aborti=
ng
> > the post). if this happens a lot, a network trace may give a hint.
>
> > are you pages heavy (large viewstate)?
>
> > -- bruce (sqlwork.com)
>
> > "Norm" wrote:
> > > The application does not use any COM objects. It only uses the .net
> > > 2.0 framework. It seems to me that IIS7 is using some COM objects
> > > internally. My guess is that System.Web.Hosting.IIS7WorkerRequest
> > > inherits System.Web.HttpWorkerRequest and ReadEntityCoreSync() is a
> > > private method that is called by IIS7WorkerRequests implementation of
> > > the ReadEntityBody() method. I think that it is a problem retrieving
> > > the post variables from some underlying COM object. Notice the
> > > "System.Web.HttpRequest.get_Form()" in the call stack. =A0Here are som=
e
> > > links to how I got to this conclusion (I have been working on this
> > > since after my first post):
>
> > >http://msdn2.microsoft.com/en-us/library/system.web.httpwor kerrequest..=
..
> > >http://msdn2.microsoft.com/en-us/library/system.web.httpwor kerrequest..=
..
>
> > > Also, here is an error log entry:
>
> > > - System
> > > =A0 - Provider
> > > =A0 =A0 =A0 [ Name] =A0ASP.NET 2.0.50727.0
> > > =A0 - EventID 1309
> > > =A0 =A0 =A0 [ Qualifiers] =A032768
> > > =A0 =A0Level 3
> > > =A0 =A0Task 3
> > > =A0 =A0Keywords 0x80000000000000
> > > =A0 - TimeCreated
> > > =A0 =A0 [ SystemTime] =A02008-01-17T23:04:15.000Z
> > > =A0 =A0EventRecordID 7462
> > > =A0 =A0Channel Application
> > > =A0 =A0Computer ********
> > > =A0 =A0Security
> > > - EventData
> > > =A0 =A03005
> > > =A0 =A0An unhandled exception has occurred.
> > > =A0 =A01/17/2008 3:04:15 PM
> > > =A0 =A01/17/2008 11:04:15 PM
> > > =A0 =A09187dd406b71470e8395bc78ab61a833
> > > =A0 =A0282
> > > =A0 =A015
> > > =A0 =A00
> > > =A0 =A0/LM/W3SVC/12/ROOT-6-128450243044816020
> > > =A0 =A0Full
> > > =A0 =A0/
> > > =A0 =A0D:\Websites\********** (folder)
> > > =A0 =A0************** (machine name)
> > > =A0 =A01776
> > > =A0 =A0w3wp.exe
> > > =A0 =A0**************** (identity)
> > > =A0 =A0COMException
> > > =A0 =A0The I/O operation has been aborted because of either a thread e=
xit
> > > or an application request. (Exception from HRESULT: 0x800703E3)
> > > =A0 =A0http://www.acpartshouse.com/default.aspx
> > > =A0 =A0/default.aspx
> > > =A0 =A0**************** (ip)
> > > =A0 =A0False
> > > =A0 =A0**************** (identity)
> > > =A0 =A059
> > > =A0 =A0**************** (identity)
> > > =A0 =A0False
> > > =A0 =A0at
> > > System.Runtime.InteropServices.Marshal.ThrowExceptionForHRIn ternal(Int=
32
> > > errorCode, IntPtr errorInfo) at
> > > System.Web.Hosting.IIS7WorkerRequest.ReadEntityCoreSync(Byte [] buffer,=
> > > Int32 offset, Int32 size) at
> > > System.Web.Hosting.IIS7WorkerRequest.ReadEntityBody(Byte[] buffer,
> > > Int32 size) at System.Web.HttpRequest.GetEntireRawContent() at
> > > System.Web.HttpRequest.FillInFormCollection() at
> > > System.Web.HttpRequest.get_Form() at
> > > System.Web.HttpRequest.get_HasForm() at
> > > System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull)
> > > at System.Web.UI.Page.DeterminePostBackMode() at
> > > System.Web.UI.Page.ProcessRequestMain(Boolean
> > > includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
>
> > > Thanks for helping me out with this. =A0Even a little nudge in the rig=
ht
> > > direction would be helpful.
>
> > > Norm
>
> > > On Jan 17, 3:43 pm, "Alvin Bruney [ASP.NET MVP]"
> > > wrote:
> > > > I've not seen this before. What is your application doing with COM? =
It may
> > > > help shed some light. Also, have a look at the eventvwr log to see i=
f there
> > > > are further details.
>
> > > > --
>
> > > > Regards,
> > > > Alvin Bruney [MVP ASP.NET]
>
> > > > [Shameless Author plug]
> > > > The O.W.C. Black Book, 2nd Edition
> > > > Exclusively onwww.lulu.com/owc$19.99
> > > > -------------------------------------------------------
>
> > > > "Norm" wrote in message
>
> > > >news:654ba5b9-94e3-4a80-a691-aa45447949c6@d70g2000hsb.googl egroups.co=
m...
>
> > > > >I have a few web sites running in IIS7 on Windows Server 2008 RC1 (=
I
> > > > > think its RC1, build number is 6001). These websites are constantl=
y
> > > > > throwing the below error, and I cannot figure it out. Can anyone s=
hed
> > > > > some light on this?
>
> > > > > Error: System.Runtime.InteropServices.COMException (0x800703E3): T=
he I/
> > > > > O operation has been aborted because of either a thread exit or an=
> > > > > application request. (Exception from HRESULT: 0x800703E3)
> > > > > =A0 at
> > > > > System.Runtime.InteropServices.Marshal.ThrowExceptionForHRIn ternal=
(Int32
> > > > > errorCode, IntPtr errorInfo)
> > > > > =A0 at System.Web.Hosting.IIS7WorkerRequest.ReadEntityCoreSync(Byt=
e[]
> > > > > buffer, Int32 offset, Int32 size)
> > > > > =A0 at System.Web.Hosting.IIS7WorkerRequest.ReadEntityBody(Byte[]
> > > > > buffer, Int32 size)
> > > > > =A0 at System.Web.HttpRequest.GetEntireRawContent()
> > > > > =A0 at System.Web.HttpRequest.FillInFormCollection()
> > > > > =A0 at System.Web.HttpRequest.get_Form()
> > > > > =A0 at System.Web.HttpRequest.get_HasForm()
> > > > > =A0 at System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean
> > > > > dontReturnNull)
> > > > > =A0 at System.Web.UI.Page.DeterminePostBackMode()
> > > > > =A0 at System.Web.UI.Page.ProcessRequestMain(Boolean
> > > > > includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoin=
t)- Hide quoted text -
>
> > > > - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
Re: COM error in IIS7
am 19.01.2008 19:54:55 von Alvin Bruney
Good call Bruce.
--
Regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
The O.W.C. Black Book, 2nd Edition
Exclusively on www.lulu.com/owc $19.99
-------------------------------------------------------
"Norm" wrote in message
news:e655046a-94ce-4beb-bb96-80e33735f4c2@i12g2000prf.google groups.com...
Bruce,
I actually verified this pretty quickly by just testing and canceling
the post a couple of times. The error happened if I waited a bit then
canceled the post, much like a user would if they were sick of
waiting. The amount of these errors means that we are really pissing
people off! I'm going to work on cutting down the viewstate
immediately.
A note to everyone: Do not use webcontrols for static content without
setting EnableViewState to false!
Alvin, thanks to you too. Now you have seen this before!
Norm
On Jan 18, 11:58 am, Norm wrote:
> Thanks for the help Bruce. Its because of how often that it is
> happening that I did not think that was the case. I will have to
> verify that via a trace like you said. And yes, the pages are pretty
> heavy. Viewstate is approaching 100KB (ick I know, we are cutting down
> on this). The total HTML source is about 275KB. (Ugh that ratio is
> horrible) But I'm confused as to how viewstate has an affect on this.
> Are you talking client-side download/render time? Or is it something
> else that a large viewstate can mess up?
>
> On Jan 18, 8:41 am, bruce barker
>
>
>
> wrote:
> > most likely the sender (browser) is closing the connection early
> > (aborting
> > the post). if this happens a lot, a network trace may give a hint.
>
> > are you pages heavy (large viewstate)?
>
> > -- bruce (sqlwork.com)
>
> > "Norm" wrote:
> > > The application does not use any COM objects. It only uses the .net
> > > 2.0 framework. It seems to me that IIS7 is using some COM objects
> > > internally. My guess is that System.Web.Hosting.IIS7WorkerRequest
> > > inherits System.Web.HttpWorkerRequest and ReadEntityCoreSync() is a
> > > private method that is called by IIS7WorkerRequests implementation of
> > > the ReadEntityBody() method. I think that it is a problem retrieving
> > > the post variables from some underlying COM object. Notice the
> > > "System.Web.HttpRequest.get_Form()" in the call stack. Here are some
> > > links to how I got to this conclusion (I have been working on this
> > > since after my first post):
>
> > >http://msdn2.microsoft.com/en-us/library/system.web.httpwor kerrequest...
> > >http://msdn2.microsoft.com/en-us/library/system.web.httpwor kerrequest...
>
> > > Also, here is an error log entry:
>
> > > - System
> > > - Provider
> > > [ Name] ASP.NET 2.0.50727.0
> > > - EventID 1309
> > > [ Qualifiers] 32768
> > > Level 3
> > > Task 3
> > > Keywords 0x80000000000000
> > > - TimeCreated
> > > [ SystemTime] 2008-01-17T23:04:15.000Z
> > > EventRecordID 7462
> > > Channel Application
> > > Computer ********
> > > Security
> > > - EventData
> > > 3005
> > > An unhandled exception has occurred.
> > > 1/17/2008 3:04:15 PM
> > > 1/17/2008 11:04:15 PM
> > > 9187dd406b71470e8395bc78ab61a833
> > > 282
> > > 15
> > > 0
> > > /LM/W3SVC/12/ROOT-6-128450243044816020
> > > Full
> > > /
> > > D:\Websites\********** (folder)
> > > ************** (machine name)
> > > 1776
> > > w3wp.exe
> > > **************** (identity)
> > > COMException
> > > The I/O operation has been aborted because of either a thread exit
> > > or an application request. (Exception from HRESULT: 0x800703E3)
> > > http://www.acpartshouse.com/default.aspx
> > > /default.aspx
> > > **************** (ip)
> > > False
> > > **************** (identity)
> > > 59
> > > **************** (identity)
> > > False
> > > at
> > > System.Runtime.InteropServices.Marshal.ThrowExceptionForHRIn ternal(Int32
> > > errorCode, IntPtr errorInfo) at
> > > System.Web.Hosting.IIS7WorkerRequest.ReadEntityCoreSync(Byte [] buffer,
> > > Int32 offset, Int32 size) at
> > > System.Web.Hosting.IIS7WorkerRequest.ReadEntityBody(Byte[] buffer,
> > > Int32 size) at System.Web.HttpRequest.GetEntireRawContent() at
> > > System.Web.HttpRequest.FillInFormCollection() at
> > > System.Web.HttpRequest.get_Form() at
> > > System.Web.HttpRequest.get_HasForm() at
> > > System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull)
> > > at System.Web.UI.Page.DeterminePostBackMode() at
> > > System.Web.UI.Page.ProcessRequestMain(Boolean
> > > includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
>
> > > Thanks for helping me out with this. Even a little nudge in the right
> > > direction would be helpful.
>
> > > Norm
>
> > > On Jan 17, 3:43 pm, "Alvin Bruney [ASP.NET MVP]"
> > > wrote:
> > > > I've not seen this before. What is your application doing with COM?
> > > > It may
> > > > help shed some light. Also, have a look at the eventvwr log to see
> > > > if there
> > > > are further details.
>
> > > > --
>
> > > > Regards,
> > > > Alvin Bruney [MVP ASP.NET]
>
> > > > [Shameless Author plug]
> > > > The O.W.C. Black Book, 2nd Edition
> > > > Exclusively onwww.lulu.com/owc$19.99
> > > > -------------------------------------------------------
>
> > > > "Norm" wrote in message
>
> > > >news:654ba5b9-94e3-4a80-a691-aa45447949c6@d70g2000hsb.googl egroups.com...
>
> > > > >I have a few web sites running in IIS7 on Windows Server 2008 RC1
> > > > >(I
> > > > > think its RC1, build number is 6001). These websites are
> > > > > constantly
> > > > > throwing the below error, and I cannot figure it out. Can anyone
> > > > > shed
> > > > > some light on this?
>
> > > > > Error: System.Runtime.InteropServices.COMException (0x800703E3):
> > > > > The I/
> > > > > O operation has been aborted because of either a thread exit or an
> > > > > application request. (Exception from HRESULT: 0x800703E3)
> > > > > at
> > > > > System.Runtime.InteropServices.Marshal.ThrowExceptionForHRIn ternal(Int32
> > > > > errorCode, IntPtr errorInfo)
> > > > > at System.Web.Hosting.IIS7WorkerRequest.ReadEntityCoreSync(Byte []
> > > > > buffer, Int32 offset, Int32 size)
> > > > > at System.Web.Hosting.IIS7WorkerRequest.ReadEntityBody(Byte[]
> > > > > buffer, Int32 size)
> > > > > at System.Web.HttpRequest.GetEntireRawContent()
> > > > > at System.Web.HttpRequest.FillInFormCollection()
> > > > > at System.Web.HttpRequest.get_Form()
> > > > > at System.Web.HttpRequest.get_HasForm()
> > > > > at System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean
> > > > > dontReturnNull)
> > > > > at System.Web.UI.Page.DeterminePostBackMode()
> > > > > at System.Web.UI.Page.ProcessRequestMain(Boolean
> > > > > includeStagesBeforeAsyncPoint, Boolean
> > > > > includeStagesAfterAsyncPoint)- Hide quoted text -
>
> > > > - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -