Performance profiler doesnt work with 64 bit dev cassini

Code profiling for .NET developers.

Moderator: dom.smith

Performance profiler doesnt work with 64 bit dev cassini

Postby varunagg » Tue Feb 18, 2014 12:28 pm

Hi,

It seems Performance Profiler doesn't work with 64 bit dev cassini. It gives an error stating "RedGate.Profiler.UI.ErrorTarget - Timed out waiting for port 2257 on 127.0.0.1 to become available". Could you please confirm if there is any workaround or plan to support 64 bit of dev cassini?

Thanks,
Varun
varunagg
 
Posts: 2
Joined: Tue Feb 18, 2014 12:25 pm

Postby jessica.ramos » Wed Feb 19, 2014 8:28 pm

Hi Varun,

Thanks for your post!

There aren't any issues with 64-bit Cassini that I'm aware of. Can I please check a few things that might shed some light on what's going wrong..

-Is it .NET 4.0 Cassini? If so, do you have any problems if you just run it normally and then attach?

-Have you tried running the profiler explicitly as administrator to rule out any permissions issues? (you'll need to press shift as you right-click to get the 'run as administrator' option from the start menu)

-Do you get any errors in Event Viewer regarding the profiler or your application?
Jessica Ramos
Technical Support
Red Gate Software Ltd.
jessica.ramos
 
Posts: 235
Joined: Mon Apr 23, 2012 1:13 pm

Re:

Postby varunagg » Fri Feb 21, 2014 12:34 pm

Yes, it is .NET 4 Cassini. I tried attaching profiler to already running cassini process using "Attach to .NET 4+ process" but got an error "There is already a profiler attached to this process.".
Yes, I have been running profiler as administrator.
varunagg
 
Posts: 2
Joined: Tue Feb 18, 2014 12:25 pm

Postby jessica.ramos » Fri Feb 21, 2014 5:39 pm

Hi Varun,

Hm I see, do you have any monitoring tools that might be automatically hooking into your application? Or have you done a profiling session with Cassini before that may have ended badly (so that the profiler was not properly 'detached')?

Could you please:

-Download Process Explorer if you don't have it already - http://technet.microsoft.com/en-gb/sysi ... 96653.aspx
-Close down all instances of ANTS Performance Profiler running on your machine
-Start your application as normal
-Open Process Explorer, and look for the Cassini process
-Right click on the process, click Properties and then click the Environment tab.
-Look for the COR_ENABLE_PROFILING and COR_PROFILER variables and please let me know their values

That will hopefully give us an idea of what's currently attached!

Can I also check--when you get the original "Timed out waiting for port 2257 on 127.0.0.1 to become available" error, are there related errors in Event Viewer?
Jessica Ramos
Technical Support
Red Gate Software Ltd.
jessica.ramos
 
Posts: 235
Joined: Mon Apr 23, 2012 1:13 pm


Return to ANTS Performance Profiler 8

Who is online

Users browsing this forum: No registered users and 0 guests