Applies To:
  • CitectSCADA
  • CitectSCADA Pocket 5.42 5.50

I am receiving the following message in my web browser when trying to browse it.

<% WebService Language='c#' Codebehingd="CtApiService.asmx.cs" Class="Citect.CtApiWebService.CtApiService"%>

What is causing this error message to appear?


This is not an error message. It is the information being displayed in its raw format, however Internet Explorer is not correctly associating the file types to convert and display as HTML instead.

To work around this, you simply need to register a dll file that is located in the C:\Windows\Microsoft.NET\Framework\v1.0.3705 folder called aspnet_isapi.dll

If you can not locate the file, then try and manually search for its location. Once located, simply go into the Command prompt and type in 

regsvr32 aspnet_isapi.dll " <ENTER>

to register the file. You will receive a prompt screen stating that the file has been registered. Once this is complete then simply click on OK.

You can now go into your web browser and bring up the page.