Console mode issue with data parameter
Aaleksey
Posts: 3
Hi!
I'm using trial version ANTS performance profiler in console mode this way:
"C:Program FilesRed GateANTS Performance Profiler 9Profile.exe" /attach:2284 /timeout:5 /sampling /xml:c: empProfilerResults.xml /data:c: empProfilerResults.app9results /force
after execution an error has occurred:
Exception
=========
RedGate.Profiler.CommandLine.Exceptions.UnknownTargetTypeException:
Unknown target type in project.
at ⌂☼♣.▼☼♣.§â–ºâ™£(â†â˜¼â™£ , ISessionStarter`1 )
at ⌂☼♣.▼☼♣.¶â–ºâ™£(String , ?☼♣ , ISessionStarter`1 , IProfile , ↨☼♣ )
at ↓☼♣.¶?☻.►‼(Licence )
at ↓☼♣.¶?☻.??♥(String[] )
xml created ok, output file is absent.
How can i fix that?
I'm using trial version ANTS performance profiler in console mode this way:
"C:Program FilesRed GateANTS Performance Profiler 9Profile.exe" /attach:2284 /timeout:5 /sampling /xml:c: empProfilerResults.xml /data:c: empProfilerResults.app9results /force
after execution an error has occurred:
Exception
=========
RedGate.Profiler.CommandLine.Exceptions.UnknownTargetTypeException:
Unknown target type in project.
at ⌂☼♣.▼☼♣.§â–ºâ™£(â†â˜¼â™£ , ISessionStarter`1 )
at ⌂☼♣.▼☼♣.¶â–ºâ™£(String , ?☼♣ , ISessionStarter`1 , IProfile , ↨☼♣ )
at ↓☼♣.¶?☻.►‼(Licence )
at ↓☼♣.¶?☻.??♥(String[] )
xml created ok, output file is absent.
How can i fix that?
Comments
I've tested this and the data option does unfortunately appear to be broken when attaching via command line. Since "attach" is an unofficial/unsupported command line option though, I'm afraid this may not be fixed immediately, but I will let you know if there are any updates! (the issue is logged as PP-3355)
Jessica Ramos | Product Support Engineer | Redgate Software
Have you visited our Help Center?
Red Gate Software