troubleshooting Question

plesk asp jscript error

Avatar of krisdigitx
krisdigitx asked on
LinuxASPASP.NET
9 Comments2 Solutions730 ViewsLast Modified:
hi,

i am using plesk 9.2.1 , and ASP , ASP.NET are both installed.  I get this error when I run a test JSCRIPT page


2010-02-16 10:50:34 W3SVC15720 WINSRV01 193.109.192.194 GET /new/home/test.asp |1|ASP_0221|Invalid_@_Command_directive 80 - 193.109.199.2 HTTP/1.1 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-US;+rv:1.9.1.7)+Gecko/20091221+Firefox/3.5.7+(.NET+CLR+3.5.30729) ASPSESSIONIDAQQQQCRA=IILNDJDBIFMAGKKKOPGCJIDB - www.domain.com 500 0 0 1646 495 140


the domain is enabled with ASP,

can you please suggest what the problem is?

-Krisdigitx



<%@ Page Language="JScript" %>

<html>
  <head>
	<script language="JScript" runat="server" >
	function Page_Load(o : Object, e : EventArgs )
	{
		lbl.Text = "Click the Button below to see a welcome
message...";
	}
	function Show(o : Object, e : EventArgs)
	{
		lblMessage.Text = "Welcome to ASP+";
	}
	</script>

  </head>
  <body style="font-family:Verdana; font-size:10pt;
font-color:blue;">
   <center>
  <H3>Demonstration of an ASP+ page written in
JScript.NET</H3>
    <form method="post" action="JHelloWorld.aspx" runat="server">
      <p><asp:Label id=lbl Runat="server"/>
      <p><asp:Button id=cmdClick Runat="server" Text="Hello
World"
onClick="Show" />
      <p><asp:Label id=lblMessage Runat="server"/>
    </form>
  </center>
  </body>

</html>
ASKER CERTIFIED SOLUTION
Mark Franz
Project Manager

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 9 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros