Redirecting to ASPX from ASP
While I'm an ASPX beginner, I've developed and maintained an ASP 3.0 app. So I wanted to try redirection to ASPX from ASP.
The client-side one via Response.Redirect looks OK. However, Server.Transfer fails:
<%@ Language=VBScript %>
The error message is "Invalid @ Command directive" that refers to the first line in default.aspx:
<%@ Page language="c#" Codebehind="default.aspx.cs" AutoEventWireup="false" Inherits="weblog._default" %>
Does it mean that the server-side redirection can't be used here or some special configuration is needed?