0% found this document useful (0 votes)
38 views1 page

SomeTimes Occurs Error

An exception occurred while enumerating over a collection that was modified during the enumeration. This led to an invalid operation exception. The exception happened when loading events on a portal page. The stack trace provided details on the specific code lines and methods where the exception occurred.

Uploaded by

Emre Mete Cengel
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views1 page

SomeTimes Occurs Error

An exception occurred while enumerating over a collection that was modified during the enumeration. This led to an invalid operation exception. The exception happened when loading events on a portal page. The stack trace provided details on the specific code lines and methods where the exception occurred.

Uploaded by

Emre Mete Cengel
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

10/7/13

Collection was modified; enumeration operation might not execute.

Server Error in '/' Application.


Collection was modified; enumeration operation might not execute.
Description: An unhandled exception occurred during the execution of the current w eb request. Please review the stack trace for more information about the error and w here it originated in the code. Exception Details: System.InvalidOperationException: Collection w as modified; enumeration operation might not execute. Source Error:

L i n e9 9 : L i n e1 0 0 : L i n e1 0 1 : L i n e1 0 2 : L i n e1 0 3 :

{ f o r e a c h( D a t a R o wd b R o wi nd t T o d a y . R o w s ) { E v e n t Xe v e n t X=n e wE v e n t X ( C o n v e r t . T o I n t 3 2 ( d b R o w [ " I D " ] ) ) ;


Line: 101

Source File: c:\Users\Emre\Desktop\COMw eb Core Projects\COMWebUI\Modules\Portal\Events.ascx.cs Stack Trace:

[ I n v a l i d O p e r a t i o n E x c e p t i o n :C o l l e c t i o nw a sm o d i f i e d ;e n u m e r a t i o no p e r a t i o nm i g h tn o te x e c u t e . ] S y s t e m . D a t a . R B T r e e E n u m e r a t o r . M o v e N e x t ( )+ 5 2 5 4 5 0 8 M o d u l e s _ P o r t a l _ E v e n t s . L o a d E v e n t s ( )i nc : \ U s e r s \ E m r e \ D e s k t o p \ C O M w e bC o r eP r o j e c t s \ C O M W e b U I \ M o d u l e s \ P o r t a l \ E v e n t s . a s c x . c s : 1 0 1 M o d u l e s _ P o r t a l _ E v e n t s . P a g e _ L o a d ( O b j e c ts e n d e r ,E v e n t A r g se )i nc : \ U s e r s \ E m r e \ D e s k t o p \ C O M w e bC o r eP r o j e c t s \ C O M W e b U I \ M o d u l e s \ P o r t a l \ E v e n t s . a s c x S y s t e m . W e b . U t i l . C a l l i E v e n t H a n d l e r D e l e g a t e P r o x y . C a l l b a c k ( O b j e c ts e n d e r ,E v e n t A r g se )+ 5 1 S y s t e m . W e b . U I . C o n t r o l . O n L o a d ( E v e n t A r g se )+ 9 2 B a s e U s e r C o n t r o l . O n L o a d ( E v e n t A r g se )i nc : \ U s e r s \ E m r e \ D e s k t o p \ C O M w e bC o r eP r o j e c t s \ C O M W e b U I \ C o d e \ B a s e U s e r C o n t r o l . c s : 1 6 S y s t e m . W e b . U I . C o n t r o l . L o a d R e c u r s i v e ( )+ 5 4 S y s t e m . W e b . U I . C o n t r o l . L o a d R e c u r s i v e ( )+ 1 4 5 S y s t e m . W e b . U I . C o n t r o l . L o a d R e c u r s i v e ( )+ 1 4 5 S y s t e m . W e b . U I . C o n t r o l . L o a d R e c u r s i v e ( )+ 1 4 5 S y s t e m . W e b . U I . C o n t r o l . L o a d R e c u r s i v e ( )+ 1 4 5 S y s t e m . W e b . U I . C o n t r o l . L o a d R e c u r s i v e ( )+ 1 4 5 S y s t e m . W e b . U I . C o n t r o l . L o a d R e c u r s i v e ( )+ 1 4 5 S y s t e m . W e b . U I . C o n t r o l . L o a d R e c u r s i v e ( )+ 1 4 5 S y s t e m . W e b . U I . C o n t r o l . L o a d R e c u r s i v e ( )+ 1 4 5 S y s t e m . W e b . U I . C o n t r o l . L o a d R e c u r s i v e ( )+ 1 4 5 S y s t e m . W e b . U I . C o n t r o l . L o a d R e c u r s i v e ( )+ 1 4 5 S y s t e m . W e b . U I . C o n t r o l . L o a d R e c u r s i v e ( )+ 1 4 5 S y s t e m . W e b . U I . P a g e . P r o c e s s R e q u e s t M a i n ( B o o l e a ni n c l u d e S t a g e s B e f o r e A s y n c P o i n t ,B o o l e a ni n c l u d e S t a g e s A f t e r A s y n c P o i n t )+ 7 7 2
Version Information: Microsoft .NET Framew ork Version:4.0.30319; ASP.NET Version:4.0.30319.18045

localhost:51131/MemberDefault.aspx

1/1

You might also like