this code is not work in IIS

hi all master

what is wrong in my writing this,
when I enter into IIS, this does not work

Global.asax

<%@ Application Language="C#" %>
<%@ Import Namespace="System.Web.Routing" %>
<script runat="server">

void Application_Start(object sender, EventArgs e)
{
RegisterRoutes(RouteTable.Routes);
}

public static void RegisterRoutes(RouteCollection routes)
{
routes.MapPageRoute("lembaga", "lembaga", "~/view_all.aspx");
routes.MapPageRoute("home", "home", "~/Default2.aspx");
routes.MapPageRoute("lembaga/viewdetails", "lembaga/viewdetails/{id_lembaga}", "~/view_lembaga_details.aspx");

}

</script>

view_all.aspx.aspx

<asp:HyperLinkField Text="Details" DataNavigateUrlFields="id_lembaga" DataNavigateUrlFormatString="~/lembaga/viewdetails/{0}" HeaderText="Details" />