MUSTAPHA
01-11-2011, 03:11 PM
Help,
i get this error while i was trying to make my website available on web.see the detail of the error.
How can i correct this error.
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 'ClassifiedsHttpApplication' is not defined.
Source Error:
Line 13: End If
Line 14:
Line 15: Dim cha As New ClassifiedsHttpApplication()
Line 16: cha.Application_Start(sender, e)
Line 17:
Source File: E:\web\classified1\htdocs\global.asax Line: 15
Compiler Warning Messages:
Warning: BC40056: Namespace or type specified in the Imports 'AspNet.StarterKits.Classifieds.Web' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Source Error:
C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\root\39dc17f7\898d74d3\App_global.asax.ot8nt trj.0.vb
Line 13: Option Explicit On
Line 14:
Line 15: Imports AspNet.StarterKits.Classifieds.Web
Line 16: Imports Microsoft.VisualBasic
Line 17: Imports System
Show Detailed Compiler Output:
C:\Windows\SysWOW64\inetsrv> "C:\Windows\Microsoft.NET\Framework\v2.0.50727\vbc. exe" /t:library /utf8output /R:"C:\Windows\assembly\GAC_MSIL\System.Configuration\ 2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Windows\assembly\GAC_32\System.Web\2.0.0.0__b03 f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.WorkflowServic es\3.5.0.0__31bf3856ad364e35\System.WorkflowServic es.dll" /R:"C:\Windows\assembly\GAC_32\System.Data\2.0.0.0__b7 7a5c561934e089\System.Data.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel.W eb\3.5.0.0__31bf3856ad364e35\System.ServiceModel.W eb.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.IdentityModel\ 3.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Xml\2.0.0.0__b 77a5c561934e089\System.Xml.dll" /R:"C:\Windows\assembly\GAC_32\System.EnterpriseServic es\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServ ices.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Services\2 .0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Runtime.Serial ization\3.0.0.0__b77a5c561934e089\System.Runtime.S erialization.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\root\39dc17f7\898d74d3\App_Code._lhsd2xa.dll" /R:"C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5 c561934e089\System.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel\3 .0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Drawing\2.0.0. 0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Mobile\2.0 .0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /out:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\root\39dc17f7\898d74d3\App_global.asax.ot8nt trj.dll" /D:DEBUG=1 /debug+ /define:_MYTYPE=\"Web\" /imports:Microsoft.VisualBasic,System,System.Collec tions,System.Collections.Specialized,System.Config uration,System.Text,System.Text.RegularExpressions ,System.Web,System.Web.Caching,System.Web.SessionS tate,System.Web.Security,System.Web.Profile,System .Web.UI,System.Web.UI.WebControls,System.Web.UI.We bControls.WebParts,System.Web.UI.HtmlControls "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\root\39dc17f7\898d74d3\App_global.asax.ot8nt trj.0.vb" "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\root\39dc17f7\898d74d3\App_global.asax.ot8nt trj.1.vb"
Microsoft (R) Visual Basic Compiler version 8.0.50727.4016
for Microsoft (R) .NET Framework version 2.0.50727.4206
Copyright (c) Microsoft Corporation. All rights reserved.
C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\root\39dc17f7\898d74d3\App_global.asax.ot8nt trj.0.vb(15) : warning BC40056: Namespace or type specified in the Imports 'AspNet.StarterKits.Classifieds.Web' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Imports AspNet.StarterKits.Classifieds.Web
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
E:\web\classified1\htdocs\global.asax(15) : error BC30002: Type 'ClassifiedsHttpApplication' is not defined.
Dim cha As New ClassifiedsHttpApplication()
~~~~~~~~~~~~~~~~~~~~~~~~~~
Show Complete Compilation Source:
Line 1: #ExternalChecksum("E:\web\classified1\htdocs\global.asax","{406ea660-64cf-4c82-b6f0-42d48172a799}","F6370A42B1B94C766F5CE4367643F3A2")
Line 2: '------------------------------------------------------------------------------
Line 3: ' <auto-generated>
Line 4: ' This code was generated by a tool.
Line 5: ' Runtime Version:2.0.50727.4206
Line 6: '
Line 7: ' Changes to this file may cause incorrect behavior and will be lost if
Line 8: ' the code is regenerated.
Line 9: ' </auto-generated>
Line 10: '------------------------------------------------------------------------------
Line 11:
Line 12: Option Strict Off
Line 13: Option Explicit On
Line 14:
Line 15: Imports AspNet.StarterKits.Classifieds.Web
Line 16: Imports Microsoft.VisualBasic
Line 17: Imports System
Line 18: Imports System.Collections
Line 19: Imports System.Collections.Specialized
Line 20: Imports System.Configuration
Line 21: Imports System.Text
Line 22: Imports System.Text.RegularExpressions
Line 23: Imports System.Web
Line 24: Imports System.Web.Caching
Line 25: Imports System.Web.Profile
Line 26: Imports System.Web.Security
Line 27: Imports System.Web.SessionState
Line 28: Imports System.Web.UI
Line 29: Imports System.Web.UI.HtmlControls
Line 30: Imports System.Web.UI.WebControls
Line 31: Imports System.Web.UI.WebControls.WebParts
Line 32:
Line 33: Namespace ASP
Line 34:
Line 35: <System.Runtime.CompilerServices.CompilerGlobalScop eAttribute()> _
Line 36: Public Class global_asax
Line 37: Inherits Global.System.Web.HttpApplication
Line 38:
Line 39: Private Shared __initialized As Boolean
Line 40:
Line 41:
Line 42: #ExternalSource("E:\web\classified1\htdocs\global.asax",4)
Line 43:
Line 44:
Line 45: Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
Line 46:
Line 47: If (Not Roles.RoleExists("Administrators")) Then
Line 48: Roles.CreateRole("Administrators")
Line 49: End If
Line 50: If (Not Roles.RoleExists("Guests")) Then
Line 51: Roles.CreateRole("Guests")
Line 52: End If
Line 53:
Line 54: Dim cha As New ClassifiedsHttpApplication()
Line 55: cha.Application_Start(sender, e)
Line 56:
Line 57: End Sub
Line 58:
Line 59:
Line 60:
Line 61:
Line 62: #End ExternalSource
Line 63:
Line 64:
Line 65: <System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Line 66: Public Sub New()
Line 67: MyBase.New
Line 68: If (Global.ASP.global_asax.__initialized = false) Then
Line 69: Global.ASP.global_asax.__initialized = true
Line 70: End If
Line 71: End Sub
Line 72:
Line 73: Protected ReadOnly Property Profile() As ProfileCommon
Line 74: Get
Line 75: Return CType(Me.Context.Profile,ProfileCommon)
Line 76: End Get
Line 77: End Property
Line 78: End Class
Line 79: End Namespace
Line 80:
Version Information: Microsoft .NET Framework Version:2.0.50727.4206; ASP.NET Version:2.0.50727.4209
i get this error while i was trying to make my website available on web.see the detail of the error.
How can i correct this error.
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 'ClassifiedsHttpApplication' is not defined.
Source Error:
Line 13: End If
Line 14:
Line 15: Dim cha As New ClassifiedsHttpApplication()
Line 16: cha.Application_Start(sender, e)
Line 17:
Source File: E:\web\classified1\htdocs\global.asax Line: 15
Compiler Warning Messages:
Warning: BC40056: Namespace or type specified in the Imports 'AspNet.StarterKits.Classifieds.Web' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Source Error:
C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\root\39dc17f7\898d74d3\App_global.asax.ot8nt trj.0.vb
Line 13: Option Explicit On
Line 14:
Line 15: Imports AspNet.StarterKits.Classifieds.Web
Line 16: Imports Microsoft.VisualBasic
Line 17: Imports System
Show Detailed Compiler Output:
C:\Windows\SysWOW64\inetsrv> "C:\Windows\Microsoft.NET\Framework\v2.0.50727\vbc. exe" /t:library /utf8output /R:"C:\Windows\assembly\GAC_MSIL\System.Configuration\ 2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Windows\assembly\GAC_32\System.Web\2.0.0.0__b03 f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.WorkflowServic es\3.5.0.0__31bf3856ad364e35\System.WorkflowServic es.dll" /R:"C:\Windows\assembly\GAC_32\System.Data\2.0.0.0__b7 7a5c561934e089\System.Data.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel.W eb\3.5.0.0__31bf3856ad364e35\System.ServiceModel.W eb.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.IdentityModel\ 3.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Xml\2.0.0.0__b 77a5c561934e089\System.Xml.dll" /R:"C:\Windows\assembly\GAC_32\System.EnterpriseServic es\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServ ices.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Services\2 .0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Runtime.Serial ization\3.0.0.0__b77a5c561934e089\System.Runtime.S erialization.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\root\39dc17f7\898d74d3\App_Code._lhsd2xa.dll" /R:"C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5 c561934e089\System.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel\3 .0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Drawing\2.0.0. 0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Mobile\2.0 .0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /out:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\root\39dc17f7\898d74d3\App_global.asax.ot8nt trj.dll" /D:DEBUG=1 /debug+ /define:_MYTYPE=\"Web\" /imports:Microsoft.VisualBasic,System,System.Collec tions,System.Collections.Specialized,System.Config uration,System.Text,System.Text.RegularExpressions ,System.Web,System.Web.Caching,System.Web.SessionS tate,System.Web.Security,System.Web.Profile,System .Web.UI,System.Web.UI.WebControls,System.Web.UI.We bControls.WebParts,System.Web.UI.HtmlControls "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\root\39dc17f7\898d74d3\App_global.asax.ot8nt trj.0.vb" "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\root\39dc17f7\898d74d3\App_global.asax.ot8nt trj.1.vb"
Microsoft (R) Visual Basic Compiler version 8.0.50727.4016
for Microsoft (R) .NET Framework version 2.0.50727.4206
Copyright (c) Microsoft Corporation. All rights reserved.
C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\root\39dc17f7\898d74d3\App_global.asax.ot8nt trj.0.vb(15) : warning BC40056: Namespace or type specified in the Imports 'AspNet.StarterKits.Classifieds.Web' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Imports AspNet.StarterKits.Classifieds.Web
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
E:\web\classified1\htdocs\global.asax(15) : error BC30002: Type 'ClassifiedsHttpApplication' is not defined.
Dim cha As New ClassifiedsHttpApplication()
~~~~~~~~~~~~~~~~~~~~~~~~~~
Show Complete Compilation Source:
Line 1: #ExternalChecksum("E:\web\classified1\htdocs\global.asax","{406ea660-64cf-4c82-b6f0-42d48172a799}","F6370A42B1B94C766F5CE4367643F3A2")
Line 2: '------------------------------------------------------------------------------
Line 3: ' <auto-generated>
Line 4: ' This code was generated by a tool.
Line 5: ' Runtime Version:2.0.50727.4206
Line 6: '
Line 7: ' Changes to this file may cause incorrect behavior and will be lost if
Line 8: ' the code is regenerated.
Line 9: ' </auto-generated>
Line 10: '------------------------------------------------------------------------------
Line 11:
Line 12: Option Strict Off
Line 13: Option Explicit On
Line 14:
Line 15: Imports AspNet.StarterKits.Classifieds.Web
Line 16: Imports Microsoft.VisualBasic
Line 17: Imports System
Line 18: Imports System.Collections
Line 19: Imports System.Collections.Specialized
Line 20: Imports System.Configuration
Line 21: Imports System.Text
Line 22: Imports System.Text.RegularExpressions
Line 23: Imports System.Web
Line 24: Imports System.Web.Caching
Line 25: Imports System.Web.Profile
Line 26: Imports System.Web.Security
Line 27: Imports System.Web.SessionState
Line 28: Imports System.Web.UI
Line 29: Imports System.Web.UI.HtmlControls
Line 30: Imports System.Web.UI.WebControls
Line 31: Imports System.Web.UI.WebControls.WebParts
Line 32:
Line 33: Namespace ASP
Line 34:
Line 35: <System.Runtime.CompilerServices.CompilerGlobalScop eAttribute()> _
Line 36: Public Class global_asax
Line 37: Inherits Global.System.Web.HttpApplication
Line 38:
Line 39: Private Shared __initialized As Boolean
Line 40:
Line 41:
Line 42: #ExternalSource("E:\web\classified1\htdocs\global.asax",4)
Line 43:
Line 44:
Line 45: Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
Line 46:
Line 47: If (Not Roles.RoleExists("Administrators")) Then
Line 48: Roles.CreateRole("Administrators")
Line 49: End If
Line 50: If (Not Roles.RoleExists("Guests")) Then
Line 51: Roles.CreateRole("Guests")
Line 52: End If
Line 53:
Line 54: Dim cha As New ClassifiedsHttpApplication()
Line 55: cha.Application_Start(sender, e)
Line 56:
Line 57: End Sub
Line 58:
Line 59:
Line 60:
Line 61:
Line 62: #End ExternalSource
Line 63:
Line 64:
Line 65: <System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Line 66: Public Sub New()
Line 67: MyBase.New
Line 68: If (Global.ASP.global_asax.__initialized = false) Then
Line 69: Global.ASP.global_asax.__initialized = true
Line 70: End If
Line 71: End Sub
Line 72:
Line 73: Protected ReadOnly Property Profile() As ProfileCommon
Line 74: Get
Line 75: Return CType(Me.Context.Profile,ProfileCommon)
Line 76: End Get
Line 77: End Property
Line 78: End Class
Line 79: End Namespace
Line 80:
Version Information: Microsoft .NET Framework Version:2.0.50727.4206; ASP.NET Version:2.0.50727.4209