Rank: Member
Joined: 1/10/2005(UTC) Posts: 714
Thanks: 14 times Was thanked: 1 time(s) in 1 post(s)
|
I got two orders last night. When i try to view them in the admin i get this server error below. A simple reset to the web.config fixes it but im just curious...
<H1>Server Error in '/' Application. <HR width="100%" color=silver SIZE=1> </H1> <H2>Index was outside the bounds of the array. </H2>[color=#ffffcc>
[tr ][td ]<CODE>[/code] Line]Line 61: Dim bvin As String = Me.BvinField.Value.ToString [color=red>Line 62: Dim o As Orders.Order = Orders.Order.FindByBvin(bvin) [/color]Line 63: If o IsNot Nothing Then Line 64: If o.Bvin <> String.Empty Then</PRE>[/td][/tr]</TABLE>
Stack Trace:
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
I've seen this kind of thing before, where the error seems almost random and a reset of some kind (overwriting the file, new Web.config, reset App Pool, etc) fixes it. I never spent much time trying to figure it out but I'm guessing that is has something to do with partial page compilation in ASP.NET 2.0. Overwriting the offending page file (or performing another, more aggressive reset) causes ASP.NET to recompile that page and overwrite the file in its temporary folder. That's my working theory anyway... |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.