Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I running the HP Fortify tool on one application but i am getting error message.

[error]:No Parameter specified for argument -b
[error]:No Parameter specified for argument -b

Note : fortify require 'parameter specified for argument' in vs 2012 but not in vs 2010 for same application.

Please help for the same.

Note: My application created in MVC .

Thanks in advanced

Pramod Singh
Posted
Updated 14-Feb-18 11:55am
v4
Comments
Ranjeet Patel 29-Aug-14 3:56am    
I think you need to modify your tags from MVC C# add your HP Fortify in your question tags.. becausue this tool only some people are aware.. As I am not aware of this tool.
Pramod Singh (C) 31-Aug-14 23:41pm    
Please give me some ideas , How can i fix this issue.
I am running HP fortify in VS2012.
[no name] 29-Aug-14 9:08am    
This has nothing to do with MVC, C#5 or HTML5/CSS3. The error message is very clear and specific.
Pramod Singh (C) 1-Sep-14 1:49am    
Please give me some ideas , How can i fix this issue.
I am running HP fortify in VS2012.
Ranjeet Patel 1-Sep-14 1:09am    
Directly can not give answers without seeing the code. But I can say by seeing the error you are passing any wrong parameter in your web application or in the database.

Can you put the code here where the error is coming...

1 solution

Quote:
Hi, I have seen the same issue in VS 2010. The b parameter stands for build id. The solution / project that is being analysed needs to be checked out from source control explorer of Visual studio. When checking out, it will ask whether solution needs to be saved. Click ok and it should work.
Missing either of the steps - checking out / saving can cause this issue.

Click on HP Fortify icon on visual studio -> then click on options -> click on project settings -> click on advanced scan options and look at entry in scan command line preview.
( There will be blank argument after b. "b""" - this is how it looks when issue happens )

"b" "project or solution" - this is how it should look, where project or solution stands for name of project or solution that is being analysed.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900