Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 2nd, 2004, 02:04 AM
Registered User
 
Join Date: Sep 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to j_arya Send a message via Yahoo to j_arya
Default Error in deploying a site (BC30002)

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
 
Old October 2nd, 2004, 07:04 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Jagdish,

This is a "classic ASP" forum. It is better to post that on .Net forum here. Check out this.

ASP.NET Application Design

Check for other ASP.NET forums under this category - P2P Forum > ASP
ASPX Beginners
ASP.NET 2.0
ASP.NET 1.1

Cheers!

_________________________
- Vijay G
Strive for Perfection





Similar Threads
Thread Thread Starter Forum Replies Last Post
Deploying the Site SoloEng BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 8 September 9th, 2007 09:39 PM
Error : BC30002: Type 'xxx' is not defined. cmualo ASP.NET 2.0 Basics 2 June 20th, 2007 08:25 AM
On deploying why do i get this particular error? abhishek1983 BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 0 May 16th, 2006 01:17 AM
Deploying the site MoeShall BOOK: ASP.NET Website Programming Problem-Design-Solution 3 April 20th, 2005 07:06 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.