Hi all,
I have developed a site and i am deploying it it gives me error BC30002: "Type 'EventArgs' is not defined.". This works fine on my local pc but when i uploaded it gives me error. pls help as i need it solved asap. Thanx in advance.
The error page is like this
***************************************
Server Error in '/' Application.
--------------------------------------------------------------------------------
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: BC30002: Type 'EventArgs' is not defined.
Source Error:
Line 29: #End Region
Line 30:
Line 31: Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
Line 32: ' Fires when the application is started
Line 33: End Sub
Source File: \\10.0.0.111\adamony.com\public\Global.asax.
vb Line: 31
Show Detailed Compiler Output:
c:\windows\system32\inetsrv> "c:\windows\microsoft.net\framework\v1.1.4322\vbc. exe" /t:library /utf8output /R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a 5c561934e089\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" /R:"c:\windows\microsoft.net\framework\v1.1.4322\te mporary asp.net files\root\e6f826e8\2c48ad6c\assembly\dl2\88ed1fbd \006f596e_c4a7c401\fluent.listtransfer.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\te mporary asp.net files\root\e6f826e8\2c48ad6c\assembly\dl2\292c3ad9 \8035df5b_c4a7c401\sharpvectorobjectmodel.dll" /R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__ b77a5c561934e089\system.xml.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\te mporary asp.net files\root\e6f826e8\2c48ad6c\assembly\dl2\b685f5d9 \80ff7997_c4a7c401\eworld.ui.dll" /R:"c:\windows\assembly\gac\system.enterpriseservic es\1.0.5000.0__b03f5f7f11d50a3a\system.enterprises ervices.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\te mporary asp.net files\root\e6f826e8\2c48ad6c\assembly\dl2\b6938bf3 \8082cc1b_c5a7c401\prjadamo.dll" /R:"c:\windows\assembly\gac\system.web.services\1.0 .5000.0__b03f5f7f11d50a3a\system.web.services.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\te mporary asp.net files\root\e6f826e8\2c48ad6c\assembly\dl2\2ae7b4fd \00100474_ffa2c401\obout_asptreeview_2_net.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\te mporary asp.net files\root\e6f826e8\2c48ad6c\assembly\dl2\fe096b20 \80ca9966_c4a7c401\artcontrols.dll" /R:"c:\windows\assembly\gac\system.web.mobile\1.0.5 000.0__b03f5f7f11d50a3a\system.web.mobile.dll" /R:"c:\windows\assembly\gac\system.data\1.0.5000.0_ _b77a5c561934e089\system.data.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\te mporary asp.net files\root\e6f826e8\2c48ad6c\assembly\dl2\19281e03 \002bcda2_c4a7c401\skmmenu.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\te mporary asp.net files\root\e6f826e8\2c48ad6c\assembly\dl2\f8329ecd \00da9e63_c4a7c401\sharpziplib.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\ Temporary ASP.NET Files\root\e6f826e8\2c48ad6c\wttjlw2w.dll" /D:DEBUG=1 /debug+ "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temp orary ASP.NET Files\root\e6f826e8\2c48ad6c\wttjlw2w.0.
vb"
Microsoft (R) Visual Basic .NET Compiler version 7.10.6001.4
for Microsoft (R) .NET Framework version 1.1.4322.2032
Copyright (C) Microsoft Corporation 1987-2002. All rights reserved.
\\10.0.0.111\adamony.com\public\Global.asax.
vb(31) : error BC30002: Type 'EventArgs' is not defined.
Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
~~~~~~~~~
\\10.0.0.111\adamony.com\public\Global.asax.
vb(35) : error BC30002: Type 'EventArgs' is not defined.
Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs)
~~~~~~~~~
\\10.0.0.111\adamony.com\public\Global.asax.
vb(39) : error BC30002: Type 'EventArgs' is not defined.
Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs)
~~~~~~~~~
\\10.0.0.111\adamony.com\public\Global.asax.
vb(43) : error BC30002: Type 'EventArgs' is not defined.
Sub Application_AuthenticateRequest(ByVal sender As Object, ByVal e As EventArgs)
~~~~~~~~~
\\10.0.0.111\adamony.com\public\Global.asax.
vb(47) : error BC30002: Type 'EventArgs' is not defined.
Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs)
~~~~~~~~~
\\10.0.0.111\adamony.com\public\Global.asax.
vb(51) : error BC30002: Type 'EventArgs' is not defined.
Sub Session_End(ByVal sender As Object, ByVal e As EventArgs)
~~~~~~~~~
\\10.0.0.111\adamony.com\public\Global.asax.
vb(55) : error BC30002: Type 'EventArgs' is not defined.
Sub Application_End(ByVal sender As Object, ByVal e As EventArgs)
~~~~~~~~~
Show Complete Compilation Source:
Line 1: Imports System.Web
Line 2: Imports System.Web.SessionState
Line 3:
Line 4: Public Class Global
Line 5: Inherits System.Web.HttpApplication
Line 6:
Line 7: #Region " Component Designer Generated Code "
Line 8:
Line 9: Public Sub New()
Line 10: MyBase.New()
Line 11:
Line 12: 'This call is required by the Component Designer.
Line 13: InitializeComponent()
Line 14:
Line 15: 'Add any initialization after the InitializeComponent() call
Line 16:
Line 17: End Sub
Line 18:
Line 19: 'Required by the Component Designer
Line 20: Private components As System.ComponentModel.IContainer
Line 21:
Line 22: 'NOTE: The following procedure is required by the Component Designer
Line 23: 'It can be modified using the Component Designer.
Line 24: 'Do not modify it using the code editor.
Line 25: <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Line 26: components = New System.ComponentModel.Container()
Line 27: End Sub
Line 28:
Line 29: #End Region
Line 30:
Line 31: Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
Line 32: ' Fires when the application is started
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: End Sub
Line 38:
Line 39: Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs)
Line 40: ' Fires at the beginning of each request
Line 41: End Sub
Line 42:
Line 43: Sub Application_AuthenticateRequest(ByVal sender As Object, ByVal e As EventArgs)
Line 44: ' Fires upon attempting to authenticate the use
Line 45: End Sub
Line 46:
Line 47: Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs)
Line 48: ' Fires when an error occurs
Line 49: End Sub
Line 50:
Line 51: Sub Session_End(ByVal sender As Object, ByVal e As EventArgs)
Line 52: ' Fires when the session ends
Line 53: End Sub
Line 54:
Line 55: Sub Application_End(ByVal sender As Object, ByVal e As EventArgs)
Line 56: ' Fires when the application ends
Line 57: End Sub
Line 58:
Line 59: End Class
Line 60:
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
Jagdish Arya