<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0" xml:base="http://www.red-gate.com/MessageBoard/" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Red Gate forums: ANTS Performance Profiler 7</title>
 <link>http://www.red-gate.com/MessageBoard/</link>
 <description>Product Support and Discussion</description>
 <language>en</language>
 <copyright>Copyright Red Gate Software Ltd</copyright>
 <managingEditor>internalsupport@red-gate.com</managingEditor>
 <webMaster>internalsupport@red-gate.com</webMaster>
 <docs>http://blogs.law.harvard.edu/tech/rss</docs>
 <ttl>60</ttl>
 <lastBuildDate>Sat, 18 May 2013 19:54:33 GMT</lastBuildDate>
 <pubDate>Sat, 18 May 2013 19:54:33 GMT</pubDate>
 <image>
  <url>http://www.red-gate.com/messageboard/templates/subRed/images/logo_phpBB.gif</url>
  <title>Red Gate forums: ANTS Performance Profiler 7</title>
  <link>http://www.red-gate.com/MessageBoard/</link>
 </image>
 <item>
  <title>RE: &amp;quot;Common Language Runtime detected an invalid program.&amp;quot; error</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61978#61978</link>
  <description>I'm afraid we're still investigating precisely how to fix this in the tool - the IL that gets rewritten apparently doesn't look in any way &amp;quot;wrong&amp;quot; but investigations are ongoing. 
&lt;br /&gt;

&lt;br /&gt;
A little more information was discovered today though - it seems the problem can be triggered by something as simple as an empty try/catch block in the constructor for a generic. Other causes are using, lock or foreach statements.
&lt;br /&gt;

&lt;br /&gt;
Another workaround asides from turning off line-level may be to move the constructor code into it's own method, and call this from within the constructor. It seems in some scenarios that is enough to stop the problem happening.</description>
  <category>ANTS Performance Profiler 7</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=16466</comments>
  <dc:creator>james.billings</dc:creator>
  <pubDate>Thu, 16 May 2013 18:18:20 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61978#61978</guid>
 </item>
 <item>
  <title>RE: &amp;quot;Common Language Runtime detected an invalid program.&amp;quot; error</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61977#61977</link>
  <description>Any update on the timeline for fixing this? I desperately need line-level timings (and it's not an option for me to remove Windows updates). Thanks.</description>
  <category>ANTS Performance Profiler 7</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=16466</comments>
  <dc:creator>JBrown16</dc:creator>
  <pubDate>Thu, 16 May 2013 17:31:52 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61977#61977</guid>
 </item>
 <item>
  <title>RE: ANTS Crashing ASPNET Dev IIS Server on Profiler Launch</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61819#61819</link>
  <description>I just downloaded the trial of ANTS 7.4 last night and am encountering this same issue. When I attempt to profile my Silverlight 5 through the ANTS menu in Visual Studio 2012, WebDev.WebServer40.exe immediately crashes. The only thing I can determine is that it is launching the Visual Studio 2010 version of webdev.webserver40.exe.
&lt;br /&gt;

&lt;br /&gt;
However when I run the Performance Analyzer it launches the correct version of the web server, and does not crash. Only Memory Analyzer is crashing for me.
&lt;br /&gt;

&lt;br /&gt;
I'm on windows 7 64, visual studio 2012.</description>
  <category>ANTS Performance Profiler 7</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=15553</comments>
  <dc:creator>JoshSommers</dc:creator>
  <pubDate>Wed, 08 May 2013 19:01:42 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61819#61819</guid>
 </item>
 <item>
  <title>RE: &amp;quot;Common Language Runtime detected an invalid program.&amp;quot; error</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61629#61629</link>
  <description>Hi,
&lt;br /&gt;
Currently this issue is indeed slated to be fixed in 8.1 - I don't have a precise lead time on 8.1 but it's in the order of a few weeks rather than a few months. 
&lt;br /&gt;
Unless anything disasterous happens, I'd hope this is indeed fixed soon.</description>
  <category>ANTS Performance Profiler 7</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=16466</comments>
  <dc:creator>james.billings</dc:creator>
  <pubDate>Mon, 29 Apr 2013 16:19:15 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61629#61629</guid>
 </item>
 <item>
  <title>RE: &amp;quot;Common Language Runtime detected an invalid program.&amp;quot; error</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61628#61628</link>
  <description>Hi James,
&lt;br /&gt;

&lt;br /&gt;
I noticed you released ANTS 8.0, congratulation!
&lt;br /&gt;

&lt;br /&gt;
Could you let me know the road-map for 8.1? I would like to know when you plan to release it and whether it will contain a fix for our issue.
&lt;br /&gt;

&lt;br /&gt;
Thank you.</description>
  <category>ANTS Performance Profiler 7</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=16466</comments>
  <dc:creator>sf</dc:creator>
  <pubDate>Mon, 29 Apr 2013 16:17:10 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61628#61628</guid>
 </item>
 <item>
  <title>ANTS Performance Profiler 8.0 released</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61376#61376</link>
  <description>We're pleased to announce the release of ANTS Performance Profiler 8.0. You can get the new version from &lt;a href=&quot;http://www.red-gate.com/products/dotnet-development/ants-performance-profiler/&quot; target=&quot;_blank&quot; class=&quot;postlink&quot;&gt;http://www.red-gate.com/products/dotnet-development/ants-performance-profiler/&lt;/a&gt;
&lt;br /&gt;

&lt;br /&gt;
ANTS Performance Profiler 8 includes:
&lt;br /&gt;
&lt;ul&gt;New startup screen
&lt;br /&gt;
Redesigned timeline
&lt;br /&gt;
New 'Live bookmarks' feature
&lt;br /&gt;
Support for the async keyword in C#5
&lt;br /&gt;
Profile websites in a choice of installed browsers
&lt;br /&gt;
Profile webservices without launching a browser
&lt;br /&gt;
Profile HTTP web requests
&lt;br /&gt;
Profile Microsoft Windows Store apps (requires a valid Windows Store developer license)
&lt;br /&gt;
Profile SharePoint 2013
&lt;br /&gt;
Profile applications running on Microsoft IIS 8&lt;/ul&gt;
&lt;br /&gt;
ANTS Performance Profiler now supports Windows 8 and Windows Server 2012.
&lt;br /&gt;
The Visual Studio add-in now supports Microsoft Visual Studio 2012.
&lt;br /&gt;

&lt;br /&gt;
More details can be found in the release notes &lt;a href=&quot;https://documentation.red-gate.com/display/APP80/ANTS+Performance+Profiler+8.0+release+notes&quot; target=&quot;_blank&quot; class=&quot;postlink&quot;&gt;here&lt;/a&gt;, and a guide to the new functionality for upgraders is &lt;a href=&quot;https://documentation.red-gate.com/display/APP80/What%27s+new+in+version+8.0&quot; target=&quot;_blank&quot; class=&quot;postlink&quot;&gt;here&lt;/a&gt;.
&lt;br /&gt;

&lt;br /&gt;
Thanks to everyone who was involved in the beta testing for this release. We hope you enjoy using it.</description>
  <category>ANTS Performance Profiler 7</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=16873</comments>
  <dc:creator>dom.smith</dc:creator>
  <pubDate>Wed, 17 Apr 2013 14:25:40 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61376#61376</guid>
 </item>
 <item>
  <title>RE: Deactivate tool</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61372#61372</link>
  <description>I'd suggest using the request additional activation page:
&lt;br /&gt;
&lt;a href=&quot;http://www.red-gate.com/Dynamic/auth/login?ReturnUrl=%2fdynamic%2faccount%2fserials%2frequestactivations&quot; target=&quot;_blank&quot;&gt;http://www.red-gate.com/Dynamic/auth/login?ReturnUrl=%2fdynamic%2faccount%2fserials%2frequestactivations&lt;/a&gt;</description>
  <category>ANTS Performance Profiler 7</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=16821</comments>
  <dc:creator>Brian Donahue</dc:creator>
  <pubDate>Wed, 17 Apr 2013 10:52:57 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61372#61372</guid>
 </item>
 <item>
  <title>RE: Problem starting prog from Ants profiler 6</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61330#61330</link>
  <description>One of my colleagues mentioned that log4net may well utilise the AllowPartiallyTrustedCallers attribute; which may explain the problem. 
&lt;br /&gt;

&lt;br /&gt;
Are you able to easily disable references to log4net for testing? The other option may be to strong-name sign your assemblies.</description>
  <category>ANTS Performance Profiler 7</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=16762</comments>
  <dc:creator>james.billings</dc:creator>
  <pubDate>Mon, 15 Apr 2013 11:19:54 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61330#61330</guid>
 </item>
 <item>
  <title>RE: Deactivate tool</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61324#61324</link>
  <description>&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Brian Donahue wrote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;I believe you need this:
&lt;br /&gt;
&lt;a href=&quot;http://www.red-gate.com/supportcenter/GeneralContent/all_products/articles/deactivating_products&quot; target=&quot;_blank&quot;&gt;http://www.red-gate.com/supportcenter/GeneralContent/all_products/articles/deactivating_products&lt;/a&gt;
&lt;br /&gt;
Same information applies - if the disk is formatted and computer renamed you may not be able to use it.&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
Thanks for your support.
&lt;br /&gt;
However my PCs can't start anymore, I can't use this tool.
&lt;br /&gt;
What way can't deactivate license on all activated PCs without opening them?</description>
  <category>ANTS Performance Profiler 7</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=16821</comments>
  <dc:creator>Duy</dc:creator>
  <pubDate>Mon, 15 Apr 2013 09:20:10 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61324#61324</guid>
 </item>
 <item>
  <title>RE: Deactivate tool</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61318#61318</link>
  <description>I believe you need this:
&lt;br /&gt;
&lt;a href=&quot;http://www.red-gate.com/supportcenter/GeneralContent/all_products/articles/deactivating_products&quot; target=&quot;_blank&quot;&gt;http://www.red-gate.com/supportcenter/GeneralContent/all_products/articles/deactivating_products&lt;/a&gt;
&lt;br /&gt;
Same information applies - if the disk is formatted and computer renamed you may not be able to use it.</description>
  <category>ANTS Performance Profiler 7</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=16821</comments>
  <dc:creator>Brian Donahue</dc:creator>
  <pubDate>Mon, 15 Apr 2013 08:11:37 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61318#61318</guid>
 </item>
 <item>
  <title>RE: Problem starting prog from Ants profiler 6</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61278#61278</link>
  <description>Hello James,
&lt;br /&gt;

&lt;br /&gt;
Thanks for looking into this.
&lt;br /&gt;

&lt;br /&gt;
We do not use any security model attributes in our code.
&lt;br /&gt;
The windows event logs does not give any extra information. They do not register anything of the crash.
&lt;br /&gt;

&lt;br /&gt;
I Did install our program on a different (VMWare vritual) XP machine, and installed the Ants 8 Beta on it. 
&lt;br /&gt;
Without profiling our program runs fine. When I start our program from within Ants profiler it will crash after a few seconds.
&lt;br /&gt;
Attaching to the program once it is started is not posible on XP as you know.
&lt;br /&gt;

&lt;br /&gt;
What more can we do to find out what is the problem?
&lt;br /&gt;

&lt;br /&gt;
Only profiling via attach (on win7) is no option for us. Profiling the startup sequence is much harder then. But the biggest problem is the lack of detail and the hitcount that is not available then.
&lt;br /&gt;

&lt;br /&gt;
Thanks,
&lt;br /&gt;
Jaap</description>
  <category>ANTS Performance Profiler 7</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=16762</comments>
  <dc:creator>jfaber</dc:creator>
  <pubDate>Fri, 12 Apr 2013 08:42:33 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61278#61278</guid>
 </item>
 <item>
  <title>Deactivate tool</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61275#61275</link>
  <description>I have the license of ANTS Performance Profiler v7.0 for 10 PC. I were activated for 10 PC. But a few PC is error, I must re-install them then can't deactivate before re-installing. 
&lt;br /&gt;
I consult at link &amp;quot;http://www.red-gate.com/messageboard/viewtopic.php?t=9906&amp;quot; and deal with the utility that can use to deactivate license on server.
&lt;br /&gt;
Please send for me that utility.
&lt;br /&gt;

&lt;br /&gt;
Thanks a lot.</description>
  <category>ANTS Performance Profiler 7</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=16821</comments>
  <dc:creator>Duy</dc:creator>
  <pubDate>Fri, 12 Apr 2013 02:03:14 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61275#61275</guid>
 </item>
 <item>
  <title>RE: Common Language Runtime detected an invalid program</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61134#61134</link>
  <description>Ah okay, it's good to hear that sampling at least works!
&lt;br /&gt;

&lt;br /&gt;
I think you may have already read about how certain security updates have caused similar errors recently. May I ask what operating system you are running? The update KB2742596 was causing problems on Windows XP and Windows Server but you can also find it's equivalent on other OS's here: &lt;a href=&quot;http://technet.microsoft.com/en-us/security/bulletin/ms13-004&quot; target=&quot;_blank&quot;&gt;http://technet.microsoft.com/en-us/security/bulletin/ms13-004&lt;/a&gt;
&lt;br /&gt;

&lt;br /&gt;
Could you kindly check if you have that update or it's equivalent installed and try uininstalling it?</description>
  <category>ANTS Performance Profiler 7</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=16742</comments>
  <dc:creator>jessica.ramos</dc:creator>
  <pubDate>Thu, 04 Apr 2013 16:07:41 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61134#61134</guid>
 </item>
 <item>
  <title>RE: Problem starting prog from Ants profiler 6</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61129#61129</link>
  <description>Hi - thanks for posting, and sorry you're having some problems.
&lt;br /&gt;

&lt;br /&gt;
Unfortunately if the application crashes under profiling, there's no simple answer. A whole host of possible causes exist.
&lt;br /&gt;

&lt;br /&gt;
Firstly- can you try the new APP 8 Beta to see if the problem still occurs? You can find that &lt;a href=&quot;http://www.red-gate.com/labs/ants-performance-profiler/&quot; target=&quot;_blank&quot; class=&quot;postlink&quot;&gt;here&lt;/a&gt;
&lt;br /&gt;

&lt;br /&gt;
If so, then it's more likely something specific to your application. If it worked OK in .NET 2.0 but not on a newer framework, then one possible cause is differences in the .NET security model. Specifically, do you have any assemblies where you're using the &amp;quot;AllowPartiallyTrustedCallers&amp;quot; attribute? This is know to cause problems.
&lt;br /&gt;

&lt;br /&gt;
If not, then can you check the Windows event log to see if there are any messages from around the time the application terminated, as these can often be useful.</description>
  <category>ANTS Performance Profiler 7</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=16762</comments>
  <dc:creator>james.billings</dc:creator>
  <pubDate>Thu, 04 Apr 2013 14:20:31 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61129#61129</guid>
 </item>
 <item>
  <title>RE: Common Language Runtime detected an invalid program</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61108#61108</link>
  <description>If I change the profiling mode to &amp;quot;Sample method-level timings (fastest, least detail, no hit counts)&amp;quot; then profiling does work. However, not much detail is provided. Any idea as to how I can get one of the other, more detailed methods to work?</description>
  <category>ANTS Performance Profiler 7</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=16742</comments>
  <dc:creator>coallen</dc:creator>
  <pubDate>Wed, 03 Apr 2013 21:33:54 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61108#61108</guid>
 </item>
</channel>
</rss>
