Red Gate forums :: View topic - attach .net4 process get error
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Memory Profiler 7
ANTS Memory Profiler 7 forum

attach .net4 process get error

Search in ANTS Memory Profiler 7 forum
Post new topic   Reply to topic
Jump to:  
Author Message
hyang



Joined: 16 Aug 2012
Posts: 11

PostPosted: Wed Apr 24, 2013 5:14 pm    Post subject: attach .net4 process get error Reply with quote

I had modified my application.exe.config file as this:
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="SD.LLBLGen.Pro.ORMSupportClasses.NET20" publicKeyToken="CA73B74BA4E3FF27" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-3.1.0.0" newVersion="3.1.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="SD.LLBLGen.Pro.LinqSupportClasses.NET35" publicKeyToken="CA73B74BA4E3FF27" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-3.1.0.0" newVersion="3.1.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="SD.LLBLGen.Pro.DQE.SqlServer.NET20" publicKeyToken="CA73B74BA4E3FF27" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-3.1.0.0" newVersion="3.1.0.0"/>
</dependentAssembly>
</assemblyBinding>
<gcConcurrent enabled="false"/>
</runtime>




but I still got this error:
Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException
at ?.?.?(Object , ProfilerErrorEventArgs )
at RedGate.Profiler.Dispatch.EventExtn.?.??(IDispatchTask )
at ??.??.Dispatch(? )

Caused by:

Failed to attach: You cannot attach to a process running concurrent garbage collection. To disable concurrent garbage collection, see 'Attaching to a running .NET 4 process' in the help at http://redg.at/ddzd1q..
System.InvalidOperationException




any clue what's wrong?
Back to top
View user's profile Send private message
jessica.ramos



Joined: 23 Apr 2012
Posts: 231

PostPosted: Wed Apr 24, 2013 11:48 pm    Post subject: Reply with quote

Hi there,

I've just sent you an email. Smile
_________________
Jessica Ramos
Technical Support
Red Gate Software Ltd.
Back to top
View user's profile Send private message
hyang



Joined: 16 Aug 2012
Posts: 11

PostPosted: Thu Apr 25, 2013 6:10 pm    Post subject: Reply with quote

sorry, I made mistake for modifying wrong configuration file.

Thanks a lot for the help
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group