Glad that worked for you Tim.  However, I am still having issues.  

I have had an mm.cfg file in my c:\users\username directory and have tried 
multiple things with it that I read online such as trying to specify a path to 
PreloadSwf, but I still keep getting the same error.  Any other thoughts?

I started out compiling my project under version 3.3 of the SDK, but recently 
compiled it under 3.2 to see if it would work, but to no avail.

Thanks,
Nate

--- In flexcoders@yahoogroups.com, Alex Harui <aha...@...> wrote:
>
> Glad that worked.  For the record if you kill a profiler session unexpectedly 
> (which can happen when the profiler barfs or hangs on a large app) it won't 
> clean up mm.cfg and you can run into this problem.  And even if you don't get 
> security errors in other configs, you'll find your debug sessions are running 
> really slowly.
> 
> Alex Harui
> Flex SDK Developer
> Adobe Systems Inc.<http://www.adobe.com/>
> Blog: http://blogs.adobe.com/aharui
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> Behalf Of Tim Hoff
> Sent: Wednesday, April 01, 2009 9:01 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Security sandbox violation error after upgrade to 
> SDK 3.2
> 
> 
> Nailed it!
> 
> C:\Users\Tim\mm.cfg:
> TraceOutputFileName=C:\Users\Tim\AppData\Roaming\Macromedia\Flash 
> Player\Logs\flashlog.txt
> ErrorReportingEnable=1
> MaxWarnings=0
> TraceOutputFileEnable=1
> PreloadSwf=C:/dev/workspace/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf?host=localhost&port=9999
> 
> Removed the last line and problem solved.  In thinking about it, this was 
> more of a technical support issue; that I could have investigated more  
> thoroughly.  Thank you very much for your continued help though Alex.  Hope 
> that this helps you too, Nate.
> 
> -TH
> 
> --- In flexcoders@yahoogroups.com, Alex Harui <aharui@> wrote:
> >
> > http://livedocs.adobe.com/flex/3/html/help.html?content=logging_04.html
> >
> > Looks like it will be in c:\users\username
> >
> > Alex Harui
> > Flex SDK Developer
> > Adobe Systems Inc.<http://www.adobe.com/>
> > Blog: http://blogs.adobe.com/aharui
> >
> > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> > Behalf Of Tim Hoff
> > Sent: Wednesday, April 01, 2009 6:23 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: Security sandbox violation error after upgrade to 
> > SDK 3.2
> >
> >
> > Actually, I couldn't find that specific file on my system (vista ultimate). 
> > The closest thing that I could find was 
> > C:/Windows/System32/Macromed/Flash/FlashAuthor.cfg. Any! clue where that 
> > file might be located? It didn't come up in a search.
> >
> > When I launch an Air app, this is what shows in the console:
> > [SWF] 
> > C:/dev/workspace/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf
> >  - 17,476 bytes after decompression
> > [SWF] MyApp.swf - 2,472,578 bytes after decompression
> >
> > -TH
> >
> > --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote:
> > >
> > > Is there a preloaderSWF in your mm.cfg or is one being written there as 
> > > you launch the app?
> > >
> > > Alex Harui
> > > Flex SDK Developer
> > > Adobe Systems Inc.<http://www.adobe.com/>
> > > Blog: http://blogs.adobe.com/aharui
> > >
> > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> > > Behalf Of Tim Hoff
> > > Sent: Wednesday, April 01, 2009 3:29 PM
> > > To: f! lexcod...@yahoogroups.com
> > > Subject: [flexcode! rs] Re: Security sandbox violation error after 
> > > upgrade to SDK 3.2
> > >
> > >
> > > Hi Nate,
> > >
> > > Unfortunately I'm still having the problem as well. The difference is
> > > that mine shows up only when launching an Air app. I'm able to run the
> > > profiler just fine, but for some reason the profiler swf is trying to be
> > > loaded with a regular l! aunch. I tried Alex's suggestion (mm.cfg) with
> > > no success yet.
> > >
> > > -TH
> > >
> > > --- In flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>, 
> > > "nateross83" nateross83@ wrote:
> > > >
> > > > I am experiencing the same problems trying to profile an AIR 1.5 app.
> > > Here is my stack trace:
> > > >
> > > > Error #2044: Unhandled securityError:. text=Error #2048: Security
> > > sandbox violation:
> > > file:///C<file:///\\C>! 
> > > ;|%2FUsers%2FNateR%2FDocuments%2FFlex%20Builder%203%2F.metadata%\
> > > 2F.plugins%2Fcom.adobe.flash.profiler%2FProfilerAgent.swf?host=localhost\
> > > &port=9998 cannot load data from localhost:9998.
> > > > at
> > > ProfilerAgent()[C:\SVN\branches\3.2.0\modules\profiler3\as\ProfilerAgent\
> > > .as:127]
> > > > at runtime::ContentPlayer/loadInitialContent(! )
> > > > at runtime::ContentPlayer/playRawContent()
> > > > at runtime::ContentPlayer/playContent()
> > > > at runtime::AppRunner/run()
> > > > at global/runtime::ADLEntry()
> > > >
> > > > I have tried changing the port from 9999 to other values without
> > > success, I disabled my firewall to try it (although I don't think
> > > localhost would be an issue). The strange thin! g is that a coworker of
> > > mine appears to have the ! same set up as I do and it works fine for him.
> > > >
> > > > Here is what I have:
> > > >
> > > > Flex Builder v 3.0.2
> > > > Flash Player 10
> > > > AIR 1.5.1
> > > >
> > > > If you have solved the problem Tim, or anyone else for the matter,
> > > please help me out.
> > > >
> > > > Thanks,
> > > > Nate
> > > >
> > > > --- In flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>, 
> > > > "Tim Hoff" TimHoff@ wrote:
> > > > >
> > > > >
> > &g! t; > > Hi all,
> > > > >
> > > > > I just updated the Flex SDK to version 3.2, and am now getting a
> > > > > Security sandbox violation error everytime that I launch an AIR
> > > > > application from Eclipse. I was wondering if anyone else has run
> > > into
> > > > > this ! and might know of a fix. The stack trace is listed below.
> > > > >
> > > > > Thanks,
> > > > > -TH
> > > > >
> > > > > Error #2044: Unhandled securityError:. text=Error #2048: Security
> > > > > sandbox violation:
> > > > >
> > > file:///C<file:///\\C>|%2Fdev%2Fworkspace%2F.metadata%2F.plugins%2Fcom.adobe.flash.pr\
> > > \
> > > > > ofiler%2FProfilerAgent.swf?host=localhost&port=9999
> > > > >
> > > <file:///C<file:///\\C>|%2Fdev%2Fworkspace%2F.metadata%2F.plugins%2Fcom.adobe.flash.p\
> > > \
> > > >! > rofiler%2FProfilerAgent.swf?host=localhost&! ;port=99 99> cannot load
> > > data
> > > > > from localhost:9999.
> > > > > at
> > > > >
> > > ProfilerAgent()[C:\faramir\flex\sdk\modules\profiler3\as\ProfilerAgent.a! 
> > > \
> > ; > \
> > > > > s:127]
> > > > > at runtime::ContentPlayer/loadInitialContent()
> > > > > at runtime::ContentPlayer/playRawContent()
> > > > > at runtime::ContentPlayer/playContent()
> > > > > at runtime::AppRunner/run()
> > > > > at global/runtime::ADLEntry()
> > > > >
> > > >
> > >
> >
>


Reply via email to