Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Error in IDE during running of program

0 views
Skip to first unread message

Andrew Ressler

unread,
Mar 11, 2002, 3:25:29 PM3/11/02
to
I get an exception thrown on a particular page
sporadically. It appears to be some kind of parsing
error on the first declaration in my aspx file.

Here is the error message:
:A first chance exception of
type 'System.ArgumentException' occurred in system.dll

Additional information: An entry with the same key
already exists."

Here is the first line:
<%@ Page Language="c#" CodeBehind="MnFrm.aspx.cs"
AutoEventWireup="false" Inherits="ISHelp.Home.MnFrm" %>

I may have narrowed it down to only happening after I
have done a rebuild of my source code. After getting the
error, if I continue past it and than stop debugging and
start again, I don't get the error.

Also, I am only visually seeing the error because I have
break execution on for all exceptions.

I don't get this error for any other pages. Including
several others that are coded similarly to this one.

Anybody else see this bug. It seems to screw up my
system when that happens. However, it is pretty random
when it happens.

Here is a stack trace.

> system.dll!
System.Collections.Specialized.ListDictionary::Add
(System.Object key = {String*}, System.Object value =
{String*}) + 0xee bytes
system.web.dll!
System.Web.UI.TemplateParser::ProcessAttributes
(System.Text.RegularExpressions.Match match =
{System.Text.RegularExpressions.Match},
System.Collections.IDictionary attribs =
{System.Collections.Specialized.ListDictionary}, bool
fDirective = false, String* duplicateAttribute = null) +
0x25f bytes
system.web.dll!
System.Web.UI.TemplateParser::ProcessBeginTag
(System.Text.RegularExpressions.Match match =
{System.Text.RegularExpressions.Match}, String* inputText
= "<%@ Page Language="c#" CodeBehind="MnFrm.aspx.cs"
AutoEventWireup="false" Inherits="ISHelp.Home.MnFrm" %>")
+ 0x474 bytes
system.web.dll!
System.Web.UI.TemplateParser::ParseString(String* text
= "<%@ Page Language="c#" CodeBehind="MnFrm.aspx.cs"
AutoEventWireup="false" Inherits="ISHelp.Home.MnFrm" %>",
String* virtualPath = "/ISHelp/Home/MnFrm.aspx", String*
basePhysicalDir = "c:\inetpub\wwwroot\ISHelp\Home") +
0xa5 bytes
system.web.dll!
System.Web.UI.TemplateParser::ParseReader
(System.IO.TextReader input = {System.IO.StreamReader},
String* virtualPath = "/ISHelp/Home/MnFrm.aspx", String*
basePhysicalDir = "c:\inetpub\wwwroot\ISHelp\Home") +
0x34 bytes

.


Fred_P

unread,
Mar 12, 2002, 12:10:08 PM3/12/02
to
I get a similar behavior on all new pages I create. When I start adding
controls and the problems goes aways sometimes but I would like to know the
exact cause.

Fred


"Andrew Ressler" <and...@microoutsource.com> wrote in message
news:177501c1c93a$e32d7da0$37ef2ecf@TKMSFTNGXA13...

Josh Cassell

unread,
Mar 12, 2002, 3:30:29 PM3/12/02
to
Did you have Vs.Net Beta on the same machine previously?

Josh Cassell
Asp.Net Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All rights
reserved.

0 new messages