View Single Post
  #4 (permalink)  
Old 09-30-2008, 02:45 PM
aidan6969 aidan6969 is offline
WebProWorld Member
 
Join Date: Nov 2006
Location: Toronto
Posts: 34
aidan6969 RepRank 0
Default Re: 301 Redirect for .aspx pages

I've replaced the code on www.clemmer.net/keynotes/Default.aspx with the following:

<%@ Language=VBScript %>
<%
Response.Status="301 Moved Permanently"
Response.AddHeader "Location","http://www.jimclemmer.com"
%>

And I'm getting an error:

"Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30800: Method arguments must be enclosed in parentheses."

What am I doing wrong?
Reply With Quote