<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Profiler Problems in Flex!</title>
	<atom:link href="http://www.betadesigns.co.uk/Blog/2008/06/19/profiler-problems-in-flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.betadesigns.co.uk/Blog/2008/06/19/profiler-problems-in-flex/</link>
	<description>Flex and Component Development</description>
	<lastBuildDate>Thu, 11 Feb 2010 08:15:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ahmad Hamid</title>
		<link>http://www.betadesigns.co.uk/Blog/2008/06/19/profiler-problems-in-flex/comment-page-1/#comment-3449</link>
		<dc:creator>Ahmad Hamid</dc:creator>
		<pubDate>Thu, 11 Feb 2010 08:15:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.betadesigns.co.uk/Blog/?p=19#comment-3449</guid>
		<description>This is my mm.cfg 
ErrorReportingEnable=1
TraceOutputFileEnable=1
MaxWarnings=0
ProfilingOutputFileEnable=1
ProfilingOutputDirectory=C:\flex\profiling
TraceOutputFileName=C:\flex\Logs\flashlog.txt
PreloadSwf=D:\WORK\WorkVW\.metadata\.plugins\com.adobe.flash.profiler\ProfilerAgent.swf?host=localhost&amp;port=9999
FrameProfilingEnable=0
ProfileFunctionEnable=0 


I use eclipse plugin so in the preferences i set the profile port to 9999</description>
		<content:encoded><![CDATA[<p>This is my mm.cfg<br />
ErrorReportingEnable=1<br />
TraceOutputFileEnable=1<br />
MaxWarnings=0<br />
ProfilingOutputFileEnable=1<br />
ProfilingOutputDirectory=C:\flex\profiling<br />
TraceOutputFileName=C:\flex\Logs\flashlog.txt<br />
PreloadSwf=D:\WORK\WorkVW\.metadata\.plugins\com.adobe.flash.profiler\ProfilerAgent.swf?host=localhost&amp;port=9999<br />
FrameProfilingEnable=0<br />
ProfileFunctionEnable=0 </p>
<p>I use eclipse plugin so in the preferences i set the profile port to 9999</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ziv</title>
		<link>http://www.betadesigns.co.uk/Blog/2008/06/19/profiler-problems-in-flex/comment-page-1/#comment-2071</link>
		<dc:creator>ziv</dc:creator>
		<pubDate>Tue, 07 Jul 2009 14:03:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.betadesigns.co.uk/Blog/?p=19#comment-2071</guid>
		<description>While I try to run my Flex Profiler I got this error message:

In the flash application I got the following exception:
Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: file:///C&#124;%2Fwork%2Flabsense%2Fbranches%2Frel%5F1%5F2%5F5%5FEA%2Fsources%2Fui%2F.metadata%2F.plugins%2Fcom.adobe.flash.profiler%2FProfilerAgent.swf?host=localhost&amp;port=9999 cannot load data from localhost:9999.
                at ProfilerAgent()[C:\SVN\branches\3.2.0\modules\profiler3\as\ProfilerAgent.as:127]


And in the flex Profiler console (at the eclipse) I got : Socket timeout.

I am run on windows vista,
Flex builder: 3.2
Flash debugger : 10,0,22,87

Things that I have done to resolve this issue:
•	Switch the connection port of the profiler to 9998 (and back)
•	Remove and reinstall the flash debugger player.
•	Install flex builder 3.2 (instead of 3.0)
•	Delete all the enters in the mm.cfg file
•	Add enter to the mm.cfg : PreloadSwf=C:\work\labsense\Sources\ui\.metadata\.plugins\com.adobe.flash.profiler\ProfilerAgent.swf?host=localhost&amp;port=9999 
or
PreloadSwf=C:\work\labsense\Sources\ui\.metadata\.plugins\com.adobe.flash.profiler\ProfilerAgent.swf?host=localhost&amp;port=9998
or
PreloadSwf=C:/work/labsense/Sources/ui/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf?host=localhost&amp;port=9999
or with spaces:
PreloadSwf=C: \ work \ labsense \ Sources \ ui \ .metadata \ .plugins \ com.adobe.flash.profiler \ ProfilerAgent.swf?host=localhost&amp;port=9999
or
C:\work\labsense\Sources\ui\.metadata\.plugins\com.adobe.flash.profiler\ProfilerAgent.swf?
or add all or some of the enters:
TraceOutputFileName=C:\Users\zivo\AppData\Roaming\Macromedia\Flash Player\Logs\flashlog.txt
ErrorReportingEnable=1
MaxWarnings=0
TraceOutputFileEnable=1
ProfilingFileOutputEnable=1
•	Turn on and off the vista firewall
•	Add exception for port 9999 in the vista firewall
•	Try to run the profiler SWF separately

Same result.

Try one last thing:

Because I have expreins problem little bit similar before with the flash debugger , the resolution then was :
1.	Right click on flash player (debugger),
2.	choose “Debugger”,
3.	choose “other machine” 
4.	add “127.0.0.1”
5.	click ok
then, it solve the issue (but apparently he connect to the debugger with host 127.0.0.1 instead of localhost (which is a same )
I now add to the mm.cfg file, the follow entry:
PreloadSwf=C:/work/labsense/branches/rel_1_2_5_EA/sources/ui/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf?host=127.0.0.1&amp;port=9999
Then, after saving , I run the profiler, and its work!!


And the resonse for all this was :
Some program change the file:
C:\Windows\System32\drivers\etc\hosts
To:
# Copyright (c) 1993-2006 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a &#039;#&#039; symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host


::1             localhost
127.0.0.1       iDBO # LMS GENERATED LINE


This means that localhost is not lead to 127.0.0.1!!!

Fixing is easy :

# ::1             localhost
# 127.0.0.1       iDBO # LMS GENERATED LINE
127.0.0.1       localhost

Instead (remark the problem and fix the problem


Thenks

Ziv</description>
		<content:encoded><![CDATA[<p>While I try to run my Flex Profiler I got this error message:</p>
<p>In the flash application I got the following exception:<br />
Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: file:///C|%2Fwork%2Flabsense%2Fbranches%2Frel%5F1%5F2%5F5%5FEA%2Fsources%2Fui%2F.metadata%2F.plugins%2Fcom.adobe.flash.profiler%2FProfilerAgent.swf?host=localhost&amp;port=9999 cannot load data from localhost:9999.<br />
                at ProfilerAgent()[C:\SVN\branches\3.2.0\modules\profiler3\as\ProfilerAgent.as:127]</p>
<p>And in the flex Profiler console (at the eclipse) I got : Socket timeout.</p>
<p>I am run on windows vista,<br />
Flex builder: 3.2<br />
Flash debugger : 10,0,22,87</p>
<p>Things that I have done to resolve this issue:<br />
•	Switch the connection port of the profiler to 9998 (and back)<br />
•	Remove and reinstall the flash debugger player.<br />
•	Install flex builder 3.2 (instead of 3.0)<br />
•	Delete all the enters in the mm.cfg file<br />
•	Add enter to the mm.cfg : PreloadSwf=C:\work\labsense\Sources\ui\.metadata\.plugins\com.adobe.flash.profiler\ProfilerAgent.swf?host=localhost&amp;port=9999<br />
or<br />
PreloadSwf=C:\work\labsense\Sources\ui\.metadata\.plugins\com.adobe.flash.profiler\ProfilerAgent.swf?host=localhost&amp;port=9998<br />
or<br />
PreloadSwf=C:/work/labsense/Sources/ui/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf?host=localhost&amp;port=9999<br />
or with spaces:<br />
PreloadSwf=C: \ work \ labsense \ Sources \ ui \ .metadata \ .plugins \ com.adobe.flash.profiler \ ProfilerAgent.swf?host=localhost&amp;port=9999<br />
or<br />
C:\work\labsense\Sources\ui\.metadata\.plugins\com.adobe.flash.profiler\ProfilerAgent.swf?<br />
or add all or some of the enters:<br />
TraceOutputFileName=C:\Users\zivo\AppData\Roaming\Macromedia\Flash Player\Logs\flashlog.txt<br />
ErrorReportingEnable=1<br />
MaxWarnings=0<br />
TraceOutputFileEnable=1<br />
ProfilingFileOutputEnable=1<br />
•	Turn on and off the vista firewall<br />
•	Add exception for port 9999 in the vista firewall<br />
•	Try to run the profiler SWF separately</p>
<p>Same result.</p>
<p>Try one last thing:</p>
<p>Because I have expreins problem little bit similar before with the flash debugger , the resolution then was :<br />
1.	Right click on flash player (debugger),<br />
2.	choose “Debugger”,<br />
3.	choose “other machine”<br />
4.	add “127.0.0.1”<br />
5.	click ok<br />
then, it solve the issue (but apparently he connect to the debugger with host 127.0.0.1 instead of localhost (which is a same )<br />
I now add to the mm.cfg file, the follow entry:<br />
PreloadSwf=C:/work/labsense/branches/rel_1_2_5_EA/sources/ui/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf?host=127.0.0.1&amp;port=9999<br />
Then, after saving , I run the profiler, and its work!!</p>
<p>And the resonse for all this was :<br />
Some program change the file:<br />
C:\Windows\System32\drivers\etc\hosts<br />
To:<br />
# Copyright (c) 1993-2006 Microsoft Corp.<br />
#<br />
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.<br />
#<br />
# This file contains the mappings of IP addresses to host names. Each<br />
# entry should be kept on an individual line. The IP address should<br />
# be placed in the first column followed by the corresponding host name.<br />
# The IP address and the host name should be separated by at least one<br />
# space.<br />
#<br />
# Additionally, comments (such as these) may be inserted on individual<br />
# lines or following the machine name denoted by a &#8216;#&#8217; symbol.<br />
#<br />
# For example:<br />
#<br />
#      102.54.94.97     rhino.acme.com          # source server<br />
#       38.25.63.10     x.acme.com              # x client host</p>
<p>::1             localhost<br />
127.0.0.1       iDBO # LMS GENERATED LINE</p>
<p>This means that localhost is not lead to 127.0.0.1!!!</p>
<p>Fixing is easy :</p>
<p># ::1             localhost<br />
# 127.0.0.1       iDBO # LMS GENERATED LINE<br />
127.0.0.1       localhost</p>
<p>Instead (remark the problem and fix the problem</p>
<p>Thenks</p>
<p>Ziv</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flex Profiler is not yet a friend of Mine. &#124; diamondTearz</title>
		<link>http://www.betadesigns.co.uk/Blog/2008/06/19/profiler-problems-in-flex/comment-page-1/#comment-620</link>
		<dc:creator>Flex Profiler is not yet a friend of Mine. &#124; diamondTearz</dc:creator>
		<pubDate>Tue, 09 Dec 2008 18:48:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.betadesigns.co.uk/Blog/?p=19#comment-620</guid>
		<description>[...] Profiler Problems in Flex  [...]</description>
		<content:encoded><![CDATA[<p>[...] Profiler Problems in Flex  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Profiler Causing Debugger Problems in Flex Builder 3 &#171; Rico on Flex</title>
		<link>http://www.betadesigns.co.uk/Blog/2008/06/19/profiler-problems-in-flex/comment-page-1/#comment-309</link>
		<dc:creator>Profiler Causing Debugger Problems in Flex Builder 3 &#171; Rico on Flex</dc:creator>
		<pubDate>Fri, 15 Aug 2008 02:58:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.betadesigns.co.uk/Blog/?p=19#comment-309</guid>
		<description>[...]       I had to blog this since we encountered this issue twice already. I found the solution from BetaDesigns but we encountered a slightly different case the 2nd time that requires a different [...]</description>
		<content:encoded><![CDATA[<p>[...]       I had to blog this since we encountered this issue twice already. I found the solution from BetaDesigns but we encountered a slightly different case the 2nd time that requires a different [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ryan</title>
		<link>http://www.betadesigns.co.uk/Blog/2008/06/19/profiler-problems-in-flex/comment-page-1/#comment-104</link>
		<dc:creator>ryan</dc:creator>
		<pubDate>Sun, 29 Jun 2008 15:07:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.betadesigns.co.uk/Blog/?p=19#comment-104</guid>
		<description>had many problems with the profiler. I found that modifying your mm.cfg was not neccacary and actually it was just my local security software.

I posted a bit that fixes this issue if you are running ESET Smart Security.

http://www.grindstonemedia.net/2008/06/29/flex-profiler-connection-problems/

What software configuration do you have? Are you running windows/mac/linux. What firewall/anti-virus software do you use?</description>
		<content:encoded><![CDATA[<p>had many problems with the profiler. I found that modifying your mm.cfg was not neccacary and actually it was just my local security software.</p>
<p>I posted a bit that fixes this issue if you are running ESET Smart Security.</p>
<p><a href="http://www.grindstonemedia.net/2008/06/29/flex-profiler-connection-problems/" rel="nofollow">http://www.grindstonemedia.net/2008/06/29/flex-profiler-connection-problems/</a></p>
<p>What software configuration do you have? Are you running windows/mac/linux. What firewall/anti-virus software do you use?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: A &#187; Blog Archive &#187; Profiler Problems in Flex!</title>
		<link>http://www.betadesigns.co.uk/Blog/2008/06/19/profiler-problems-in-flex/comment-page-1/#comment-57</link>
		<dc:creator>A &#187; Blog Archive &#187; Profiler Problems in Flex!</dc:creator>
		<pubDate>Thu, 19 Jun 2008 05:04:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.betadesigns.co.uk/Blog/?p=19#comment-57</guid>
		<description>[...] Profiler Problems in Flex!  After reading an example chapter from Training from the Source : Profiling Flex Applications on InsideRIA I thought ooo! I like using the profiler but i didnt know you could do that! So away I went and opend up one of my apps and clicked Profile&#8230;. O no whats going on? No Profiler prompt just straight into the application Socket closed. Socket closed. Socket closed. Flex Profiler No activity 60 seconds after connection. and then quiet I was at a loss why had my Profiler failed me? Could [...]</description>
		<content:encoded><![CDATA[<p>[...] Profiler Problems in Flex!  After reading an example chapter from Training from the Source : Profiling Flex Applications on InsideRIA I thought ooo! I like using the profiler but i didnt know you could do that! So away I went and opend up one of my apps and clicked Profile&#8230;. O no whats going on? No Profiler prompt just straight into the application Socket closed. Socket closed. Socket closed. Flex Profiler No activity 60 seconds after connection. and then quiet I was at a loss why had my Profiler failed me? Could [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
