There are currently: 65 Guests. 0 of 6,455 Members.
I am working on asp.net/vb.net after a very long time.
I am unable to resolve the following error. Could some one help ?
Line 28: #End Region Line 29: Line 30: Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs) Line 31: ' Fires when the application is started Line 32: Application("Time") = System.DateTime.Now
c:\windows\system32\inetsrv> "c:\windows\microsoft.net\framework\v1.1.4322\vbc.exe" /t:library /utf8output /R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\system.web.mobile.dll" /R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll" /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll" /R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.dll" /R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll" /R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll" /R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\c339c3d3\745a3c3b\kxlrxl-j.dll" /D:DEBUG=1 /debug+ "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\c339c3d3\745a3c3b\kxlrxl-j.0.vb" Microsoft (R) Visual Basic .NET Compiler version 7.10.7017.4 for Microsoft (R) .NET Framework version 1.1.4322.2379 Copyright (C) Microsoft Corporation 1987-2002. All rights reserved. c:\Inetpub\vhosts\iresume.ca\httpdocs\Global.asax.vb(30) : error BC30002: Type 'EventArgs' is not defined. Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs) ~~~~~~~~~ c:\Inetpub\vhosts\iresume.ca\httpdocs\Global.asax.vb(35) : error BC30002: Type 'EventArgs' is not defined. Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs) ~~~~~~~~~ c:\Inetpub\vhosts\iresume.ca\httpdocs\Global.asax.vb(40) : error BC30002: Type 'EventArgs' is not defined. Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs) ~~~~~~~~~ c:\Inetpub\vhosts\iresume.ca\httpdocs\Global.asax.vb(46) : error BC30002: Type 'EventArgs' is not defined. Sub Application_AuthenticateRequest(ByVal sender As Object, ByVal e As EventArgs) ~~~~~~~~~ c:\Inetpub\vhosts\iresume.ca\httpdocs\Global.asax.vb(51) : error BC30002: Type 'EventArgs' is not defined. Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs) ~~~~~~~~~ c:\Inetpub\vhosts\iresume.ca\httpdocs\Global.asax.vb(56) : error BC30002: Type 'EventArgs' is not defined. Sub Session_End(ByVal sender As Object, ByVal e As EventArgs) ~~~~~~~~~ c:\Inetpub\vhosts\iresume.ca\httpdocs\Global.asax.vb(61) : error BC30002: Type 'EventArgs' is not defined. Sub Application_End(ByVal sender As Object, ByVal e As EventArgs) ~~~~~~~~~
Line 1: Imports System.Web Line 2: Imports System.Web.SessionState Line 3: Public Class Global Line 4: Inherits System.Web.HttpApplication Line 5: Line 6: #Region " Component Designer Generated Code " Line 7: Line 8: Public Sub New() Line 9: MyBase.New() Line 10: Line 11: 'This call is required by the Component Designer. Line 12: InitializeComponent() Line 13: Line 14: 'Add any initialization after the InitializeComponent() call Line 15: Line 16: End Sub Line 17: Line 18: 'Required by the Component Designer Line 19: Private components As System.ComponentModel.IContainer Line 20: Line 21: 'NOTE: The following procedure is required by the Component Designer Line 22: 'It can be modified using the Component Designer. Line 23: 'Do not modify it using the code editor. Line 24: Private Sub InitializeComponent() Line 25: components = New System.ComponentModel.Container() Line 26: End Sub Line 27: Line 28: #End Region Line 29: Line 30: Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs) Line 31: ' Fires when the application is started Line 32: Application("Time") = System.DateTime.Now Line 33: End Sub Line 34: Line 35: Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs) Line 36: ' Fires when the session is started Line 37: Response.Write("Session is starting...") Line 38: End Sub Line 39: Line 40: Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs) Line 41: ' Fires at the beginning of each request Line 42: Response.Write("Process") Line 43: Response.Write("Request is starting...") Line 44: End Sub Line 45: Line 46: Sub Application_AuthenticateRequest(ByVal sender As Object, ByVal e As EventArgs) Line 47: ' Fires upon attempting to authenticate the use Line 48: Response.Write("Authenticating request... ") Line 49: End Sub Line 50: Line 51: Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs) Line 52: ' Fires when an error occurs Line 53: Response.Write(sender.Request.isauthenticated & " is authenticating request...") Line 54: End Sub Line 55: Line 56: Sub Session_End(ByVal sender As Object, ByVal e As EventArgs) Line 57: ' Fires when the session ends Line 58: Line 59: End Sub Line 60: Line 61: Sub Application_End(ByVal sender As Object, ByVal e As EventArgs) Line 62: ' Fires when the application ends Line 63: End Sub Line 64: Line 65: End Class Line 66:
") Line 43: Response.Write("Request is starting...") Line 44: End Sub Line 45: Line 46: Sub Application_AuthenticateRequest(ByVal sender As Object, ByVal e As EventArgs) Line 47: ' Fires upon attempting to authenticate the use Line 48: Response.Write("Authenticating request... ") Line 49: End Sub Line 50: Line 51: Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs) Line 52: ' Fires when an error occurs Line 53: Response.Write(sender.Request.isauthenticated & " is authenticating request...") Line 54: End Sub Line 55: Line 56: Sub Session_End(ByVal sender As Object, ByVal e As EventArgs) Line 57: ' Fires when the session ends Line 58: Line 59: End Sub Line 60: Line 61: Sub Application_End(ByVal sender As Object, ByVal e As EventArgs) Line 62: ' Fires when the application ends Line 63: End Sub Line 64: Line 65: End Class Line 66:
Version Information: Microsoft .NET Framework Version:1.1.4322.2379; ASP.NET Version:1.1.4322.2379