Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Problem running an ASP module (it runs on server but gives error on local machine LOCALHOST )


Message #1 by "Bharat Bindage" <bharatbindage@h...> on Wed, 4 Sep 2002 10:40:32 +0530
Dear all
I got a problem with a ASP module
This module when i run on local machine (localhost) it gives me error

"Expected End of Statement"
"Cannot use parentheses when calling a sub"

PART OF ASP MODULE at which the server points to
 <tr>
  <td align="center">
   <input type="button" value="Cancel"
onClick="window.location.replace('DisplayOpportunity.asp?ID=<%=Request.Query
String("ID")%>');" style="width:100px" />
   &nbsp;
   <input type="button" onClick="if (validateForm()) {
this.form.submit(); };" value="Save Details" style="width:100px" />
  </td>
 </tr>

But same ASP script when run on the server it runs correctly
Is there any problem with my server (localhost) setting. Please instruct
Please help me out, i being trying this for a week now.
Hope any experience will help me out.

Thanks and Regards
Bharat

  Return to Index