Link to home
Start Free TrialLog in
Avatar of ksfok
ksfok

asked on

ASP.NET 2.0 App_Code/Compilation problem

After I copy a sucessfully built web site from my dev box to my web server, I run the new site and see 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: BC30451: Name 'ConfigManager' is not declared.

Source Error:

 

Line 38:         lbBInfo.Text = ""
Line 39:         lbBInfo.Text = lbBInfo.Text + Session("auth_level") + ":" + Session("uname") + " ("
Line 40:         If ConfigManager.Mode = "Demo" Then
Line 41:             lbBInfo.Text = lbBInfo.Text + "<b>" + ConfigManager.Mode + "</b> mode)."
Line 42:         Else
 

Source File: C:\Inetpub\BNDWebApps\PO\MenuBar.ascx.vb    Line: 40



Show Detailed Compiler Output:


c:\windows\system32\inetsrv> "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\vbc.exe" /t:library /utf8output /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.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions.Design\1.0.61025.0__31bf3856ad364e35\System.Web.Extensions.Design.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\1.0.61025.0__31bf3856ad364e35\System.Web.Extensions.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Design\2.0.0.0__b03f5f7f11d50a3a\System.Design.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing.Design\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.Design.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b30de75e\84054b4e\App_Web_0gh1tu7b.dll" /D:DEBUG=1 /debug+ /win32resource:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b30de75e\84054b4e\0gh1tu7b.res" /define:_MYTYPE=\"Web\" /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Specialized,System.Configuration,System.Text,System.Text.RegularExpressions,System.Web,System.Web.Caching,System.Web.SessionState,System.Web.Security,System.Web.Profile,System.Web.UI,System.Web.UI.WebControls,System.Web.UI.WebControls.WebParts,System.Web.UI.HtmlControls  "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b30de75e\84054b4e\App_Web_0gh1tu7b.12.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b30de75e\84054b4e\App_Web_0gh1tu7b.3.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b30de75e\84054b4e\App_Web_0gh1tu7b.14.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b30de75e\84054b4e\App_Web_0gh1tu7b.0.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b30de75e\84054b4e\App_Web_0gh1tu7b.1.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b30de75e\84054b4e\App_Web_0gh1tu7b.13.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b30de75e\84054b4e\App_Web_0gh1tu7b.11.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b30de75e\84054b4e\App_Web_0gh1tu7b.2.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b30de75e\84054b4e\App_Web_0gh1tu7b.10.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b30de75e\84054b4e\App_Web_0gh1tu7b.8.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b30de75e\84054b4e\App_Web_0gh1tu7b.5.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b30de75e\84054b4e\App_Web_0gh1tu7b.6.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b30de75e\84054b4e\App_Web_0gh1tu7b.7.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b30de75e\84054b4e\App_Web_0gh1tu7b.4.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b30de75e\84054b4e\App_Web_0gh1tu7b.9.vb"


Microsoft (R) Visual Basic Compiler version 8.0.50727.832
for Microsoft (R) .NET Framework version 2.0.50727.832
Copyright (c) Microsoft Corporation.  All rights reserved.

C:\Inetpub\BNDWebApps\PO\BudgetViewer.ascx.vb(48) : error BC30002: Type 'Budget' is not defined.

    Dim b As Budget = Query.GetBudget(BranchID, ClassID)
             ~~~~~~                                    
C:\Inetpub\BNDWebApps\PO\MenuBar.ascx.vb(40) : error BC30451: Name 'ConfigManager' is not declared.

        If ConfigManager.Mode = "Demo" Then
           ~~~~~~~~~~~~~                  
C:\Inetpub\BNDWebApps\PO\MenuBar.ascx.vb(41) : error BC30451: Name 'ConfigManager' is not declared.

            lbBInfo.Text = lbBInfo.Text + "<b>" + ConfigManager.Mode + "</b> mode)."
                                                  ~~~~~~~~~~~~~                    
C:\Inetpub\BNDWebApps\PO\MenuBar.ascx.vb(43) : error BC30451: Name 'ConfigManager' is not declared.

            lbBInfo.Text = lbBInfo.Text + ConfigManager.Mode + " mode)."
                                          ~~~~~~~~~~~~~                
C:\Inetpub\BNDWebApps\PO\MenuBar.ascx.vb(45) : error BC30451: Name 'Color' is not declared.

        lbBInfo.ForeColor = Color.AliceBlue
                            ~~~~~          
C:\Inetpub\BNDWebApps\PO\Vendor.aspx.vb(32) : error BC30451: Name 'Query' is not declared.

            Dim v As View = Query.GetVendor(lbVendor.Text, lbBranch.Text)
                            ~~~~~                                        

 



Show Complete Compilation Source:


Line 1:    #ExternalChecksum("C:\Inetpub\BNDWebApps\PO\MenuBar.ascx","{406ea660-64cf-4c82-b6f0-42d48172a799}","66DF8CD878A839263587C93933B25D1D")
Line 2:    '------------------------------------------------------------------------------
Line 3:    ' <auto-generated>
Line 4:    '     This code was generated by a tool.
Line 5:    '     Runtime Version:2.0.50727.832
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 Microsoft.VisualBasic
Line 16:   Imports System
Line 17:   Imports System.Collections
Line 18:   Imports System.Collections.Specialized
Line 19:   Imports System.Configuration
Line 20:   Imports System.Data
Line 21:   Imports System.Drawing
Line 22:   Imports System.Text
Line 23:   Imports System.Text.RegularExpressions
Line 24:   Imports System.Web
Line 25:   Imports System.Web.Caching
Line 26:   Imports System.Web.Profile
Line 27:   Imports System.Web.Security
Line 28:   Imports System.Web.SessionState
Line 29:   Imports System.Web.UI
Line 30:   Imports System.Web.UI.HtmlControls
Line 31:   Imports System.Web.UI.WebControls
Line 32:   Imports System.Web.UI.WebControls.WebParts
Line 33:  
Line 34:  
Line 35:   Partial Public Class MenuBar
Line 36:      
Line 37:      
Line 38:       #ExternalSource("C:\Inetpub\BNDWebApps\PO\MenuBar.ascx",44)
Line 39:       Protected WithEvents lbMode As Global.System.Web.UI.WebControls.Label
Line 40:      
Line 41:       #End ExternalSource
Line 42:      
Line 43:      
Line 44:       #ExternalSource("C:\Inetpub\BNDWebApps\PO\MenuBar.ascx",47)
Line 45:       Protected WithEvents lbTInfo As Global.System.Web.UI.WebControls.Label
Line 46:      
Line 47:       #End ExternalSource
Line 48:      
Line 49:      
Line 50:       #ExternalSource("C:\Inetpub\BNDWebApps\PO\MenuBar.ascx",96)
Line 51:       Protected WithEvents lbBInfo As Global.System.Web.UI.WebControls.Label
Line 52:      
Line 53:       #End ExternalSource
Line 54:      
Line 55:       Protected ReadOnly Property Profile() As System.Web.Profile.DefaultProfile
Line 56:           Get
Line 57:               Return CType(Me.Context.Profile,System.Web.Profile.DefaultProfile)
Line 58:           End Get
Line 59:       End Property
Line 60:      
Line 61:       Protected ReadOnly Property ApplicationInstance() As System.Web.HttpApplication
Line 62:           Get
Line 63:               Return CType(Me.Context.ApplicationInstance,System.Web.HttpApplication)
Line 64:           End Get
Line 65:       End Property
Line 66:   End Class
Line 67:  
Line 68:   Namespace ASP
Line 69:      
Line 70:       <System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()>  _
Line 71:       Public Class po_menubar_ascx
Line 72:           Inherits Global.MenuBar
Line 73:          
Line 74:           Private Shared __initialized As Boolean
Line 75:          
Line 76:           Private Shared __stringResource As Object
Line 77:          
Line 78:           Public Sub New()
Line 79:               MyBase.New
Line 80:              
Line 81:               #ExternalSource("C:\Inetpub\BNDWebApps\PO\MenuBar.ascx.vb",912304)
Line 82:               CType(Me,System.Web.UI.UserControl).AppRelativeVirtualPath = "~/PO/MenuBar.ascx"
Line 83:              
Line 84:               #End ExternalSource
Line 85:               If (Global.ASP.po_menubar_ascx.__initialized = false) Then
Line 86:                   Global.ASP.po_menubar_ascx.__stringResource = Me.ReadStringResource
Line 87:                   Global.ASP.po_menubar_ascx.__initialized = true
Line 88:               End If
Line 89:           End Sub
Line 90:          
Line 91:           Protected Overrides ReadOnly Property SupportAutoEvents() As Boolean
Line 92:               Get
Line 93:                   Return false
Line 94:               End Get
Line 95:           End Property
Line 96:          
Line 97:           Private Function __BuildControllbMode() As Global.System.Web.UI.WebControls.Label
Line 98:               Dim __ctrl As Global.System.Web.UI.WebControls.Label
Line 99:              
Line 100:              #ExternalSource("C:\Inetpub\BNDWebApps\PO\MenuBar.ascx",44)
Line 101:              __ctrl = New Global.System.Web.UI.WebControls.Label
Line 102:              
Line 103:              #End ExternalSource
Line 104:              Me.lbMode = __ctrl
Line 105:              __ctrl.ApplyStyleSheetSkin(Me.Page)
Line 106:              
Line 107:              #ExternalSource("C:\Inetpub\BNDWebApps\PO\MenuBar.ascx",44)
Line 108:              __ctrl.ID = "lbMode"
Line 109:              
Line 110:              #End ExternalSource
Line 111:              
Line 112:              #ExternalSource("C:\Inetpub\BNDWebApps\PO\MenuBar.ascx",44)
Line 113:              __ctrl.ForeColor = CType(System.Drawing.Color.FromArgb(6, 43, 127),System.Drawing.Color)
Line 114:              
Line 115:              #End ExternalSource
Line 116:              
Line 117:              #ExternalSource("C:\Inetpub\BNDWebApps\PO\MenuBar.ascx",44)
Line 118:              __ctrl.Visible = true
Line 119:              
Line 120:              #End ExternalSource
Line 121:              Return __ctrl
Line 122:          End Function
Line 123:          
Line 124:          Private Function __BuildControllbTInfo() As Global.System.Web.UI.WebControls.Label
Line 125:              Dim __ctrl As Global.System.Web.UI.WebControls.Label
Line 126:              
Line 127:              #ExternalSource("C:\Inetpub\BNDWebApps\PO\MenuBar.ascx",47)
Line 128:              __ctrl = New Global.System.Web.UI.WebControls.Label
Line 129:              
Line 130:              #End ExternalSource
Line 131:              Me.lbTInfo = __ctrl
Line 132:              __ctrl.ApplyStyleSheetSkin(Me.Page)
Line 133:              
Line 134:              #ExternalSource("C:\Inetpub\BNDWebApps\PO\MenuBar.ascx",47)
Line 135:              __ctrl.ID = "lbTInfo"
Line 136:              
Line 137:              #End ExternalSource
Line 138:              
Line 139:              #ExternalSource("C:\Inetpub\BNDWebApps\PO\MenuBar.ascx",47)
Line 140:              __ctrl.ForeColor = CType(System.Drawing.Color.FromArgb(6, 43, 127),System.Drawing.Color)
Line 141:              
Line 142:              #End ExternalSource
Line 143:              
Line 144:              #ExternalSource("C:\Inetpub\BNDWebApps\PO\MenuBar.ascx",47)
Line 145:              __ctrl.BackColor = System.Drawing.Color.Yellow
Line 146:              
Line 147:              #End ExternalSource
Line 148:              
Line 149:              #ExternalSource("C:\Inetpub\BNDWebApps\PO\MenuBar.ascx",47)
Line 150:              __ctrl.BorderStyle = System.Web.UI.WebControls.BorderStyle.Ridge
Line 151:              
Line 152:              #End ExternalSource
Line 153:              
Line 154:              #ExternalSource("C:\Inetpub\BNDWebApps\PO\MenuBar.ascx",47)
Line 155:              __ctrl.BorderWidth = New System.Web.UI.WebControls.Unit(3, System.Web.UI.WebControls.UnitType.Pixel)
Line 156:              
Line 157:              #End ExternalSource
Line 158:              
Line 159:              #ExternalSource("C:\Inetpub\BNDWebApps\PO\MenuBar.ascx",47)
Line 160:              __ctrl.BorderColor = System.Drawing.Color.Blue
Line 161:              
Line 162:              #End ExternalSource
Line 163:              
Line 164:              #ExternalSource("C:\Inetpub\BNDWebApps\PO\MenuBar.ascx",47)
Line 165:              __ctrl.Visible = true
Line 166:              
Line 167:              #End ExternalSource
Line 168:              Return __ctrl
Line 169:          End Function
Line 170:          
Line 171:          Private Function __BuildControllbBInfo() As Global.System.Web.UI.WebControls.Label
Line 172:              Dim __ctrl As Global.System.Web.UI.WebControls.Label
Line 173:              
Line 174:              #ExternalSource("C:\Inetpub\BNDWebApps\PO\MenuBar.ascx",96)
Line 175:              __ctrl = New Global.System.Web.UI.WebControls.Label
Line 176:              
Line 177:              #End ExternalSource
Line 178:              Me.lbBInfo = __ctrl
Line 179:              __ctrl.ApplyStyleSheetSkin(Me.Page)
Line 180:              
Line 181:              #ExternalSource("C:\Inetpub\BNDWebApps\PO\MenuBar.ascx",96)
Line 182:              __ctrl.ID = "lbBInfo"
Line 183:              
Line 184:              #End ExternalSource
Line 185:              Return __ctrl
Line 186:          End Function
Line 187:          
Line 188:          Private Sub __BuildControlTree(ByVal __ctrl As po_menubar_ascx)
Line 189:              Dim __ctrl1 As Global.System.Web.UI.WebControls.Label
Line 190:              
Line 191:              #ExternalSource("C:\Inetpub\BNDWebApps\PO\MenuBar.ascx",1)
Line 192:              __ctrl1 = Me.__BuildControllbMode
Line 193:              
Line 194:              #End ExternalSource
Line 195:              Dim __parser As System.Web.UI.IParserAccessor = CType(__ctrl,System.Web.UI.IParserAccessor)
Line 196:              
Line 197:              #ExternalSource("C:\Inetpub\BNDWebApps\PO\MenuBar.ascx",1)
Line 198:              __parser.AddParsedSubObject(__ctrl1)
Line 199:              
Line 200:              #End ExternalSource
Line 201:              Dim __ctrl2 As Global.System.Web.UI.WebControls.Label
Line 202:              
Line 203:              #ExternalSource("C:\Inetpub\BNDWebApps\PO\MenuBar.ascx",1)
Line 204:              __ctrl2 = Me.__BuildControllbTInfo
Line 205:              
Line 206:              #End ExternalSource
Line 207:              
Line 208:              #ExternalSource("C:\Inetpub\BNDWebApps\PO\MenuBar.ascx",1)
Line 209:              __parser.AddParsedSubObject(__ctrl2)
Line 210:              
Line 211:              #End ExternalSource
Line 212:              Dim __ctrl3 As Global.System.Web.UI.WebControls.Label
Line 213:              
Line 214:              #ExternalSource("C:\Inetpub\BNDWebApps\PO\MenuBar.ascx",1)
Line 215:              __ctrl3 = Me.__BuildControllbBInfo
Line 216:              
Line 217:              #End ExternalSource
Line 218:              
Line 219:              #ExternalSource("C:\Inetpub\BNDWebApps\PO\MenuBar.ascx",1)
Line 220:              __parser.AddParsedSubObject(__ctrl3)
Line 221:              
Line 222:              #End ExternalSource
Line 223:              __ctrl.SetRenderMethodDelegate(AddressOf Me.__Render__control1)
Line 224:          End Sub
Line 225:          
Line 226:          Private Sub __Render__control1(ByVal __w As System.Web.UI.HtmlTextWriter, ByVal parameterContainer As System.Web.UI.Control)
Line 227:              Me.WriteUTF8ResourceString(__w, 1136, 868, true)
Line 228:              
Line 229:              #ExternalSource("C:\Inetpub\BNDWebApps\PO\MenuBar.ascx",31)
Line 230:                  __w.Write(menucolor )
Line 231:  
Line 232:              
Line 233:              #End ExternalSource
Line 234:              __w.Write(""">"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"            <td bgcolor=""")
Line 235:              
Line 236:              #ExternalSource("C:\Inetpub\BNDWebApps\PO\MenuBar.ascx",32)
Line 237:                      __w.Write(menucolor )
Line 238:  
Line 239:              
Line 240:              #End ExternalSource
Line 241:              __w.Write(""" nowrap align=""center"" width=""100%"">"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"                <table border=""0"" cellpadd"& _
Line 242:                      "ing=""0"" cellspacing=""0"" id=""Table1"" width=""100%"">"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"                    <tr>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"   "& _
Line 243:                      "                     <td bgcolor=""")
Line 244:              
Line 245:              #ExternalSource("C:\Inetpub\BNDWebApps\PO\MenuBar.ascx",35)
Line 246:                                  __w.Write(menucolor )
Line 247:  
Line 248:              
Line 249:              #End ExternalSource
Line 250:              __w.Write(""" nowrap align=""center"">"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"                            <table border=""0"" cellpaddi"& _
Line 251:                      "ng=""0"" cellspacing=""0"" id=""Table2"">"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"                                <tr>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"     "& _
Line 252:                      "                               <td bgcolor=""")
Line 253:              
Line 254:              #ExternalSource("C:\Inetpub\BNDWebApps\PO\MenuBar.ascx",38)
Line 255:                                              __w.Write(menucolor )
Line 256:  
Line 257:              
Line 258:              #End ExternalSource
Line 259:              Me.WriteUTF8ResourceString(__w, 2004, 523, true)
Line 260:              parameterContainer.Controls(0).RenderControl(__w)
Line 261:              __w.Write(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"                                        </b></font>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"                          "& _
Line 262:                      "              <br>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"                                        ")
Line 263:              parameterContainer.Controls(1).RenderControl(__w)
Line 264:              Me.WriteUTF8ResourceString(__w, 2527, 2242, true)
Line 265:              
Line 266:              #ExternalSource("C:\Inetpub\BNDWebApps\PO\MenuBar.ascx",85)
Line 267:                  __w.Write(menucolor2 )
Line 268:  
Line 269:              
Line 270:              #End ExternalSource
Line 271:              Me.WriteUTF8ResourceString(__w, 4769, 894, true)
Line 272:              parameterContainer.Controls(2).RenderControl(__w)
Line 273:              Me.WriteUTF8ResourceString(__w, 5663, 3852, true)
Line 274:          End Sub
Line 275:          
Line 276:          
Line 277:          #ExternalSource("C:\Inetpub\BNDWebApps\PO\MenuBar.ascx.vb",912304)
Line 278:          Protected Overrides Sub FrameworkInitialize()
Line 279:              MyBase.FrameworkInitialize
Line 280:              SetStringResourcePointer(Global.ASP.po_menubar_ascx.__stringResource, 0)
Line 281:              Me.__BuildControlTree(Me)
Line 282:          End Sub
Line 283:          
Line 284:          #End ExternalSource
Line 285:      End Class
Line 286:  End Namespace
Line 287:  
 




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832

All the above classes/structures are present in App_Code folder of both my dev box and web server. What could be wrong? Thanks.
Avatar of RedKelvin
RedKelvin

It appears that ConfigManager is in another assembly/dll. ensure that the dll has been copied to the required location on the server, and that it is added to the GAC, usually c:\windows\assembly

RedK
Avatar of ksfok

ASKER

The web server the site is on contains several folders where others sites sit. I don't know where the GAC of the server is. Would a bin folder under the site's folder help?
The GAC would be
c:\windows\assembly
Avatar of ksfok

ASKER

Under the said GAC I don't see any dll for other sites hosted by the same server. I suspect "copy site" didn't work as expected because the site in question was converted from an ASP.NET 1.x web project. But the site works fine on my dev box. Any better idea?
ASKER CERTIFIED SOLUTION
Avatar of RedKelvin
RedKelvin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ksfok

ASKER

IIS is OK. All required dll are installed. I have built other ASP.NET 2.0 sites that run on the same server.
The errors displayed basically say some class object variables are not defined in some ascx/aspx. Those oblect classes are visibly present in the App_Code folder on both my box and the server. Do I need to declare those objects explicitly? How can I do that? With <%@ Reference ObjectClass="~/ObjectClass.vb" %>? Thanks.

your project would not compile if the references were missing on your dev machine. Do you think it could be a dll version issue?