Absent Member.
Absent Member.
5228 views

SCA Parse Error in file Encountered: "Namespace"

SCA is giving me an error: Parse error in file ... Encountered: "Namespace"

 

it's an asmx.vb file in my .NET web service project. Not understanding why it has a parse error for this. here's the code lines:

 

<System.Web.Script.Services.ScriptService()> _
<System.Web.Services.WebService(Namespace:="http://tempuri.org")> _
<System.Web.Services.WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _
<ToolboxItem(False)> _
Public Class services
    Inherits System.Web.Services.WebService

...

 

 

using Static Code Analyzer 6.10.0.0120.

 

Command line ran:

 

sourceanalyzer -b MyProject -Xmx1280M -Xss8M -debug -logfile trans.log devenv MyProject.sln /REBUILD BuildConfig

 

 

any help is appreciated

0 Likes
1 Reply
Absent Member.. Absent Member..
Absent Member..

Hi Cutiger,

That looks like a bug to me.  But it could also be a strange character in the code.  I would send the same information to the tech support team (fortifytechsupport@hp.com).  They will be able to confirm what is going on.  Sorry I can't be of more help.

Alec

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.