| Author |
Message |
phfle1
Joined: 13 Oct 2010 Posts: 7
|
Posted: Thu Oct 14, 2010 6:29 pm Post subject: Value Specified for Threshold not Parsed |
|
|
Hi,
I tried to launch profile.exe from the command line but got the following error :
Error: The default value specified for /threshold could not be parsed as type 5: 0.1.
My command was :
"Profile.exe" /e:"C:\Program Files (x86)\Common Files\microsoft shared\DevServer\10.0\WebDev.WebServer40.EXE" /ll /csv:"D:\testing\results.csv"
Thanks,
Philippe |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6369 Location: Red Gate Software
|
Posted: Fri Oct 15, 2010 12:12 pm Post subject: |
|
|
Hi Phillipe,
Please see my answer to your previous topic. You're meant to use the arguments to do with "cassini" rather than trying to launch the webdev.webserver as an executable. I have never seen the error you had reported before -- I expect it's an error message thrown by webdev.webserver. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
phfle1
Joined: 13 Oct 2010 Posts: 7
|
Posted: Fri Oct 15, 2010 6:21 pm Post subject: Same Issue |
|
|
Hi,
I tried with the following command line and still have the same issue :
"C:\Program Files\Red Gate\ANTS Performance Profiler 6\Profile.exe" /ll /csv:"D:\testing\results.csv" /port:10101 /webdev /cpath:"D:\flp001Locataire\Dev\Src\Applications\Initialisateur.Web.UI\Initialisateur.Web.UI.vbproj" /cvd:"SoumissionLocataire"
Is there more documentation on the command line feature? I had seen the page with the parameters but there aren't any examples.
Thanks and have a good weekend,
Phil |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6369 Location: Red Gate Software
|
Posted: Mon Oct 18, 2010 9:17 am Post subject: |
|
|
I have checked the ANTS source code and that text does not appear in it, so the error is either being thrown by webdev.webserver, or your web application. The information you have given doesn't say which program threw out the error message.
Just to clarify, I believe that the /cpath argument is meant to be the directory of the web project files, rahter than the full path to the VB project file. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6369 Location: Red Gate Software
|
Posted: Mon Oct 18, 2010 1:54 pm Post subject: |
|
|
Small change to the above -- I'm told it's a bug in the Profiler's argument parser. You can try a patch from our FTP site. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
phfle1
Joined: 13 Oct 2010 Posts: 7
|
Posted: Mon Oct 18, 2010 6:36 pm Post subject: Thanks |
|
|
Hi Brian,
Thanks for the patch, it works now. I have another issue but I'll open another thread.
Have a good one.
Philippe |
|
| Back to top |
|
 |
|