# Server Error in '/' Application

## Compilation Error

Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error.

Compiler Error Message: /tmp/grendel-temp-aspnet-0/b74f48c5/App_Web_463b76b8_0.vb(12,18) : warning VBNC99998: Option Strict Off will probably fail.
/tmp/grendel-temp-aspnet-0/b74f48c5/App_Web_463b76b8_1.vb(12,18) : warning VBNC99998: Option Strict Off will probably fail.
/tmp/grendel-temp-aspnet-0/b74f48c5/App_Web_463b76b8_0.vb(78,58) : error VBNC30451: Could not resolve the name 'Redirect'
/tmp/grendel-temp-aspnet-0/b74f48c5/App_Web_463b76b8_1.vb(78,58) : error VBNC30451: Could not resolve the name 'Redirect'

Source Error:

`
    Line 10:
    Line 11: Option Explicit On
    Line 12: Option Strict Off
    Line 13:
    Line 14: Imports System
`

Source File: /tmp/grendel-temp-aspnet-0/b74f48c5/App_Web_463b76b8_0.vb Line: 12

Show Complete Compilation Source:

`
    Line 1: '------------------------------------------------------------------------------
    Line 2: ' <autogenerated>
    Line 3: '     This code was generated by a tool.
    Line 4: '     Mono Runtime Version: 2.0.50727.42
    Line 5: '
    Line 6: '     Changes to this file may cause incorrect behavior and will be lost if
    Line 7: '     the code is regenerated.
    Line 8: ' </autogenerated>
    Line 9: '------------------------------------------------------------------------------
    Line 10:
    Line 11: Option Explicit On
    Line 12: Option Strict Off
    Line 13:
    Line 14: Imports System
    Line 15: Imports System.Collections
    Line 16: Imports System.Collections.Specialized
    Line 17: Imports System.Configuration
    Line 18: Imports System.Text
    Line 19: Imports System.Text.RegularExpressions
    Line 20: Imports System.Web
    Line 21: Imports System.Web.Caching
    Line 22: Imports System.Web.SessionState
    Line 23: Imports System.Web.Security
    Line 24: Imports System.Web.Profile
    Line 25: Imports System.Web.UI
    Line 26: Imports System.Web.UI.WebControls
    Line 27: Imports System.Web.UI.HtmlControls
    Line 28:
    Line 29: Namespace ASP
    Line 30:
    Line 31:     Public Class failed_aspx
    Line 32:         Inherits System.Web.UI.Page
    Line 33:         Implements System.Web.SessionState.IRequiresSessionState, System.Web.IHttpHandler
    Line 34:
    Line 35:         Private Shared __initialized As Boolean = false
    Line 36:
    Line 37:         Private Shared __fileDependencies As Object = Nothing
    Line 38:
    Line 39:         Private Shared __autoHandlers As Integer
    Line 40:
    Line 41:         Public Sub New()
    Line 42:             MyBase.New
    Line 43:             Dim dependencies As String()
    Line 44:             CType(Me, System.Web.UI.Page).AppRelativeVirtualPath = "~/Failed.aspx"
    Line 45:             If (ASP.failed_aspx.__initialized = false) Then
    Line 46:                 dependencies = New String((1) - 1) {}
    Line 47:                 dependencies(0) = "~/Failed.aspx"
    Line 48:                 ASP.failed_aspx.__fileDependencies = Me.GetWrappedFileDependencies(dependencies)
    Line 49:                 ASP.failed_aspx.__initialized = true
    Line 50:             End If
    Line 51:         End Sub
    Line 52:
    Line 53:         <System.Obsolete()>  _
    Line 54:         Protected Overrides Property AutoHandlers() As Integer
    Line 55:             Get
    Line 56:                 Return ASP.failed_aspx.__autoHandlers
    Line 57:             End Get
    Line 58:             Set
    Line 59:                 ASP.failed_aspx.__autoHandlers = Value
    Line 60:             End Set
    Line 61:         End Property
    Line 62:
    Line 63:         Protected ReadOnly Property ApplicationInstance() As System.Web.HttpApplication
    Line 64:             Get
    Line 65:                 Return CType(Me.Context.ApplicationInstance, System.Web.HttpApplication)
    Line 66:             End Get
    Line 67:         End Property
    Line 68:
    Line 69:         Protected ReadOnly Property Profile() As System.Web.Profile.DefaultProfile
    Line 70:             Get
    Line 71:                 Return CType(Me.Context.Profile, System.Web.Profile.DefaultProfile)
    Line 72:             End Get
    Line 73:         End Property
    Line 74:
    Line 75:         Private Sub __RenderTree(ByVal __output As System.Web.UI.HtmlTextWriter, ByVal parameterContainer As System.Web.UI.Control)
    Line 76:
    Line 77:             #ExternalSource(/usr/src/tmp/tests/Bugs/Bug353976/Testpage/Failed.aspx, 2)
    Line 78: If CBool(Session("IsAdminLogined")) = False Then Redirect("Login.aspx")
    Line 79:
    Line 80:             #End ExternalSource
    Line 81:
    Line 82:             #ExternalSource(/usr/src/tmp/tests/Bugs/Bug353976/Testpage/Failed.aspx, 1)
    Line 83:             __output.Write(""&Microsoft.VisualBasic.ChrW(10)&"<html>"&Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW(10)&"<head>"&Microsoft.VisualBasic.ChrW(10)&"<meta http-equiv=""Content-Type"" content=""text/html; charset=utf-8"">"&Microsoft.VisualBasic.ChrW(10)&"<title>HBS 后端管理</title>"&Microsoft.VisualBasic.ChrW(10)&"</head>"&Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW(10)&"<frameset cols=""173,*"" framespacing=""0"" border=""0"" frameborder=""0"">"&Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW(9)&"<frame name=""contents"" target=""main"" src=""Function.aspx"" marginwidth=""1"" marginheight=""1"" scrolling=""auto"" noresize=""noresize"">"&Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW(9)&"<frameset rows=""*,5%,83%"">"&Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW(9)&"<frame name=""top"" marginwidth=""1"" marginheight=""1"" scrolling=""no"" noresize="""" src=""Top.aspx"" target=""_self"">"&Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW(9)&Microsoft.VisualBasic.ChrW(9)&"<frame name=""Status"" src=""Status.aspx"" marginwidth=""1"" marginheight=""1"" scrolling=""no"" noresize>"&Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW(9)&"<frame name=""main"" src=""Home.aspx"">"&Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW(9)&"</frameset>"&Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW(9)&"<noframes>"&Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW(9)&"<body>"&Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW(9)&"<p>此网页使用框架，但是您的浏览器不支持框架。</p>"&Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW(9)&"</body>"&Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW(9)&"</noframes>"&Microsoft.VisualBasic.ChrW(10)&"</frameset>"&Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW(10)&"</html>"&Microsoft.VisualBasic.ChrW(10))
    Line 84:             #End ExternalSource
    Line 85:         End Sub
    Line 86:
    Line 87:         Private Sub __BuildControlTree(ByVal __ctrl As failed_aspx)
    Line 88:
    Line 89:             #ExternalSource(/usr/src/tmp/tests/Bugs/Bug353976/Testpage/Failed.aspx, 1)
    Line 90:             Me.InitializeCulture()
    Line 91:             #End ExternalSource
    Line 92:             __ctrl.SetRenderMethodDelegate(AddressOf Me.__RenderTree)
    Line 93:         End Sub
    Line 94:
    Line 95:         Protected Overrides Sub FrameworkInitialize()
    Line 96:             MyBase.FrameworkInitialize()
    Line 97:             Me.__BuildControlTree(Me)
    Line 98:             Me.AddWrappedFileDependencies(ASP.failed_aspx.__fileDependencies)
    Line 99:             Me.Request.ValidateInput()
    Line 100:         End Sub
    Line 101:
    Line 102:         Public Overrides Function GetTypeHashCode() As Integer
    Line 103:             Return 578000947
    Line 104:         End Function
    Line 105:     End Class
    Line 106: End Namespace
`

Version information: Mono Version: 2.0.50727.42; ASP.NET Version: 2.0.50727.42