krisdigitx
asked on
plesk asp jscript error
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_@_Comm and_direct ive 80 - 193.109.199.2 HTTP/1.1 Mozilla/5.0+(Windows;+U;+W indows+NT+ 5.1;+en-US ;+rv:1.9.1 .7)+Gecko/ 20091221+F irefox/3.5 .7+(.NET+C LR+3.5.307 29) ASPSESSIONIDAQQQQCRA=IILND JDBIFMAGKK KOPGCJIDB - www.domain.com 500 0 0 1646 495 140
the domain is enabled with ASP,
can you please suggest what the problem is?
-Krisdigitx
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_@_Comm
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You are trying to mix apples and oranges, that is an IIS configuration issue that I have never had to tackle. It is possible to run both .asp and .aspx pages on a hosting server but like I said, I have never ran across the problem
ASKER
ok cool, i have enabled ASP and ASP.NET from plesk control panel for the domain.. will check out the system....
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
on the old server, JSCRIPT pages run fine with *.asp extension? does anyone have any ideas what could be missing in the new server?
ASKER
i installed asp.NET 1.1 and enabled it in plesk and it worked like charm!!!
Cool, glad to help.
ASKER
fixed the issue, byt installing asp .net 1.1
ASKER
but *.asp pages don't work now? do i need to rename them to aspx file also?