[SWFObject] sendAndLoad conflict with flashvars in swfobject

Aran Rhee aran.rhee at qdc.net.au
Mon Oct 30 14:06:38 PST 2006


Troy.

Also, when I select county (Steele):

Client send:

stateAbbr: Undefined
stateName: Undefined
countyName: Steele

Server response:

Response: HTTP/1.1 500 Internal Server Error
Text:

html>
    <head>
        <title>Item has already been added. Key in dictionary: ''  Key
being added: ''</title>
        <style>
         body {font-family:"Verdana";font-weight:normal;font-size:
.7em;color:black;} 
         p {font-family:"Verdana";font-weight:normal;color:black;margin-top:
-5px}
         b {font-family:"Verdana";font-weight:bold;color:black;margin-top:
-5px}
         H1 {
font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
         H2 {
font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
         pre {font-family:"Lucida Console";font-size: .9em}
         .marker {font-weight: bold; color: black;text-decoration: none;}
         .version {color: gray;}
         .error {margin-bottom: 10px;}
         .expandable { text-decoration:underline; font-weight:bold;
color:navy; cursor:hand; }
        </style>
    </head>

    <body bgcolor="white">

            <span><H1>Server Error in '/' Application.<hr width=100% size=1
color=silver></H1>

            <h2> <i>Item has already been added. Key in dictionary: ''
 Key being added: ''</i> </h2></span>

            <font face="Arial, Helvetica, Geneva, SunSans-Regular,
sans-serif ">

            <b> Description: </b>An unhandled exception occurred during the
execution of the current web request. Please review the stack trace for more
information about the error and where it originated in the code.

            <br><br>

            <b> Exception Details: </b>System.ArgumentException: Item has
already been added. Key in dictionary: ''  Key being added: ''<br><br>

            <b>Source Error:</b> <br><br>

            <table width=100% bgcolor="#ffffcc">
               <tr>
                  <td>
                      <code>

An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.</code>

                  </td>
               </tr>
            </table>

            <br>

            <b>Stack Trace:</b> <br><br>

            <table width=100% bgcolor="#ffffcc">
               <tr>
                  <td>
                      <code><pre>

[ArgumentException: Item has already been added. Key in dictionary: ''  Key
being added: '']
   assessorDAO.PropertyPlatDAO.GetAllPropertyPlatsByStateAndCounty(String
state, String county) +308
   navigationData.switchCounty(String stateAbbr, String countyName) +219
   navigationData.Page_Load(Object sender, EventArgs e) +934
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o,
Object t, EventArgs e) +15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender,
EventArgs e) +34
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
</pre></code>

                  </td>
               </tr>
            </table>

            <br>

            <hr width=100% size=1 color=silver>

            <b>Version Information:</b> Microsoft .NET Framework
Version:2.0.50727.42; ASP.NET Version:2.0.50727.210

            </font>

    </body>
</html>
<!-- 
[ArgumentException]: Item has already been added. Key in dictionary: ''  Key
being added: ''
   at assessorDAO.PropertyPlatDAO.GetAllPropertyPlatsByStateAndCounty(String
state, String county)
   at navigationData.switchCounty(String stateAbbr, String countyName)
   at navigationData.Page_Load(Object sender, EventArgs e)
   at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object
o, Object t, EventArgs e)
   at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender,
EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
[HttpUnhandledException]: Exception of type
'System.Web.HttpUnhandledException' was thrown.
   at System.Web.UI.Page.HandleError(Exception e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at ASP.navigationdata_aspx.ProcessRequest(HttpContext context) in
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\root\631d048b\5830a305\App_Web_qogxfzan.17.cs:line 0
   at
System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplicati
on.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously)
--><!-- 
This error page might contain sensitive information because ASP.NET is
configured to show verbose error messages using <customErrors
mode="Off"/>. Consider using <customErrors mode="On"/> or
<customErrors mode="RemoteOnly"/> in production environments.--> 

> -----Original Message-----
> From: swfobject-bounces at lists.deconcept.com 
> [mailto:swfobject-bounces at lists.deconcept.com] On Behalf Of 
> Troy Beseman
> Sent: Tuesday, 31 October 2006 1:01 AM
> To: swfobject at lists.deconcept.com
> Subject: Re: [SWFObject] sendAndLoad conflict with flashvars 
> in swfobject
> 
> 
> Thanks for the quick response.  I went to post the code on a 
> test site and discovered that the object/embed does not work. 
>  So...I can't limit the issue to swfobject anymore.  But why 
> would the sendAndLoad work on my local machine but not when I 
> post the code?  I checked the referencing and it seems to be 
> right.  I'm using the GET...and I've tried the POST command 
> in the sendAndLoad statement.  
> 
> I apologize for this and I appreciate the time.  I know this 
> is no longer an swfobject issue, I'm just getting really frustrated.
> 
> If anyone has time, I have an example you can look at the 
> header at www.nationalassessor.com is my issue.
> 
> Thanks.
> 
> 
> 
> 
> ________________________________
> > From: aran.rhee at qdc.net.au
> > To: swfobject at lists.deconcept.com
> > Date: Mon, 30 Oct 2006 16:33:01 +1100
> > Subject: Re: [SWFObject] sendAndLoad conflict with flashvars in 
> > swfobject
> > 
> > Troy.
> > The addVariables call is exactly the same as flashvars 
> under normal object/embed (in fact addVariables just 
> constructs the flashVars params for you).
> > Are the two pages are identical except for the use of 
> swfObject vs. object/embed construction methods?
> > Can you post the two pages? We should be able to work out 
> what is happening a lot easier this way...
> > Cheers,
> > Aran
> > ________________________________
> > From: swfobject-bounces at lists.deconcept.com 
> > [mailto:swfobject-bounces at lists.deconcept.com] On Behalf Of Troy 
> > Beseman
> > Sent: Monday, 30 October 2006 4:25 PM
> > To: swfobject at lists.deconcept.com
> > Subject: [SWFObject] sendAndLoad conflict with flashvars in 
> swfobject 
> > I'm new to swfobject so I apologize if this has nothing to 
> do with anything, but after all the testing that I did it is 
> the only thing I can find different.
> > Basically I am using the sendAndLoad method to send a 
> stateName and countyName to/from an asp.net page that is 
> external of the file the flash is loading in.  It seems to 
> work when I don't use swfobject to insert the flash movie in 
> to a page.  If I publish directly to html it seems to work 
> just fine.  I have set up the add.variable and it passes the 
> initial variables in, but I'm unable to communicate with 
> asp.net after that.
> > Does anyone have any ideas as to what could be wrong?
> > Thanks,
> > Troy
> > ________________________________
> > Try the next generation of search with Windows LiveT Search 
> today! Try 
> > it!<http://search.live.com>
> 
> _________________________________________________________________
> Stay in touch with old friends and meet new ones with Windows 
> Live Spaces http://spaces.live.com/signup.aspx
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com



More information about the Swfobject mailing list