HP Fortify 6.11 ASP.NET Compiler error "Encountered: Page" on default.aspx

I'm geting a warning from HP Fortify on my API page.  This is my whole default.aspx:

<%@ Page Language="C#" %>
<script runat="server">
  protected override void OnLoad(EventArgs e)
  {
      Response.Redirect("api/swagger-ui/index.html");
      base.OnLoad(e);
  }
</script>

and I get the following error in the translate page (this is taken from the logfile):

Building line numbers from source for: C:/git/Esb/Esb.Api/default.aspx
[2016-09-21 16:46:33.219 com.fortify.frontend.translator.dotnet.vb.VBParser.parse() Thread-15 Master FINE]
Starting to parse: C:\git\Esb\Esb.Api\default.aspx
[2016-09-21 16:46:33.219 com.fortify.frontend.translator.dotnet.vb.VBParserTokenManager.TokenLexicalActions() Thread-15 Master WARNING]
Bad character in: %; line: 1; col: 2
[2016-09-21 16:46:33.219 com.fortify.frontend.translator.dotnet.vb.VBParserTokenManager.TokenLexicalActions() Thread-15 Master WARNING]
Bad character in: @; line: 1; col: 3
[2016-09-21 16:46:33.219 com.fortify.frontend.translator.dotnet.DotnetSourceParser.reportParseError() Thread-15 Master WARNING 10000]
Parse error in file C:\git\Esb\Esb.Api\default.aspx at 1:5. Encountered: "Page".

I don't know why its invoking a VB parser, or why Page would be an invalid entry

Parents Reply Children
No Data