Right colleague at work just sent me some webpages in ASP, There for viewing a variable and its value on a PLC but i seem to get an error when i'm trying to view the page.
The code looks like this:
When i'm trying to view the page i'm getting a error that looks like this:
I myself am not amazing at ASP, but i cant seem to see anything wrong with it... Anyone with a trained eye notice anything wrong?
The code looks like this:
<html>
<body text="#000080" bgcolor="#FFFFFF">
</body>
<input type="text" name="txtDave" value="1" size="1">
<!--meta http-equiv="refresh" content="2"-->
<form method="POST" action="/goform/ReadWrite">
<input type=hidden name=redirect size=50 value="index.asp">
<p align="center"><img border="0" src="JTSystemsSmall.gif" align="left"></p>
<p align="left">
</p>
<p align="left">
</p>
<p align="left">
<font face="Verdana">
<b>Read / Write PLC Variables</b> </font>
</p>
<p><font face="Verdana">Variable Name</font><br>
<input type="text" name="variable" value="<% WebPrint("var"); %>" size="20"></p>
<p><font face="Verdana">Value</font><br>
<input type="text" name="value" value="<% WebPrint("val"); %>" size="20"></p>
<p dir="ltr"><input type="submit" value="Read" name="read"><font face="Verdana"><input type="submit" value="Writing" name="write"></font></p>
<p> </p>
</form>
When i'm trying to view the page i'm getting a error that looks like this:
I myself am not amazing at ASP, but i cant seem to see anything wrong with it... Anyone with a trained eye notice anything wrong?