By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,844 Members | 836 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,844 IT Pros & Developers. It's quick & easy.

Error in global.asax

P: n/a
Hello,

Writing a web app in asp.net using vb. Just created a new page, added a few
minor controls and now blamo, the below error: HELP

Server Error in '/newsite' 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: BC30007: Reference required to assembly
'App_Code.v3xuytsf, Version=1.0.2453.33287, Culture=neutral,
PublicKeyToken=null' containing the base class 'newsite.Global'. Add one to
your project.

Source Error:
Line 85: End Property
Line 86:
Line 87: Protected ReadOnly Property ApplicationInstance() As
ASP.global_asax
Line 88: Get
Line 89: Return
CType(Me.Context.ApplicationInstance,ASP.global_as ax)
Source File: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET
Files\newsite\bea62603\9c73a00a\App_Web_checkout_p ayment.aspx.cdcab7d2.dyjwdwz8.0.vb
Line: 87

Show Detailed Compiler Output:

C:\WINDOWS\system32"C:\WINDOWS\Microsoft.NET\Frame work\v2.0.50727\vbc.exe"
/t:library /utf8output
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configurati on\2.0.0.0__b03f5f7f11d50a3a\System.Configuration. dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\T emporary ASP.NET
Files\newsite\bea62603\9c73a00a\App_Code.kkqrpfs4. dll"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0 .0.0__b03f5f7f11d50a3a\System.Drawing.dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\T emporary ASP.NET
Files\newsite\bea62603\9c73a00a\assembly\dl3\c942c f2f\00b27291_ca5cc601\UODOTNET.DLL"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0 __b77a5c561934e089\System.Xml.dll"
/R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseSer vices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseS ervices.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.Data\2.0.0.0_ _b77a5c561934e089\System.Data.dll"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b7 7a5c561934e089\System.dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\T emporary ASP.NET
Files\newsite\bea62603\9c73a00a\App_Web_pc_master. master.cdcab7d2.kpwbkwhe.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.Service s\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dl l"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\T emporary ASP.NET
Files\newsite\bea62603\9c73a00a\App_global.asax.k0 4l1r1u.dll"
/out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 \Temporary ASP.NET
Files\newsite\bea62603\9c73a00a\App_Web_checkout_p ayment.aspx.cdcab7d2.dyjwdwz8.dll"
/D:DEBUG=1 /debug+
/win32resource:"C:\WINDOWS\Microsoft.NET\Framework\ v2.0.50727\Temporary
ASP.NET Files\newsite\bea62603\9c73a00a\8uvmvqyc.res"
/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,Micr osoft.VisualBasic,System.Data,System.Drawing
/define:Debug=True /define:Trace=True
/imports:Microsoft.VisualBasic,System,System.Collec tions,System.Configuration,System.Data,System.Draw ing,System.Web,System.Web.UI,System.Web.UI.HtmlCon trols,System.Web.UI.WebControls
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET
Files\newsite\bea62603\9c73a00a\App_Web_checkout_p ayment.aspx.cdcab7d2.dyjwdwz8.0.vb"
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET
Files\newsite\bea62603\9c73a00a\App_Web_checkout_p ayment.aspx.cdcab7d2.dyjwdwz8.1.vb"
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET
Files\newsite\bea62603\9c73a00a\App_Web_checkout_p ayment.aspx.cdcab7d2.dyjwdwz8.2.vb"
Microsoft (R) Visual Basic Compiler version 8.0.50727.42
for Microsoft (R) .NET Framework version 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET
Files\newsite\bea62603\9c73a00a\App_Web_checkout_p ayment.aspx.cdcab7d2.dyjwdwz8.0.vb(87)
: error BC30007: Reference required to assembly 'App_Code.v3xuytsf,
Version=1.0.2453.33287, Culture=neutral, PublicKeyToken=null' containing the
base class 'newsite.Global'. Add one to your project.

Protected ReadOnly Property ApplicationInstance() As ASP.global_asax
~~~~~~~~~~~~~~~
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET
Files\newsite\bea62603\9c73a00a\App_Web_checkout_p ayment.aspx.cdcab7d2.dyjwdwz8.0.vb(89)
: error BC30007: Reference required to assembly 'App_Code.v3xuytsf,
Version=1.0.2453.33287, Culture=neutral, PublicKeyToken=null' containing the
base class 'newsite.Global'. Add one to your project.

Return CType(Me.Context.ApplicationInstance,ASP.global_as ax)
~~~~~~~~~~~~~~~

Show Complete Compilation Source:



--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET
Version:2.0.50727.42
Sep 20 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
I recreated the file, put the same exact code in and its working now. weird
thanks
david
"David Lozzi" <dl****@nospam.nospamwrote in message
news:OL**************@TK2MSFTNGP05.phx.gbl...
Hello,

Writing a web app in asp.net using vb. Just created a new page, added a
few minor controls and now blamo, the below error: HELP

Server Error in '/newsite' 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: BC30007: Reference required to assembly
'App_Code.v3xuytsf, Version=1.0.2453.33287, Culture=neutral,
PublicKeyToken=null' containing the base class 'newsite.Global'. Add one
to your project.

Source Error:
Line 85: End Property
Line 86:
Line 87: Protected ReadOnly Property ApplicationInstance() As
ASP.global_asax
Line 88: Get
Line 89: Return
CType(Me.Context.ApplicationInstance,ASP.global_as ax)
Source File: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary
ASP.NET
Files\newsite\bea62603\9c73a00a\App_Web_checkout_p ayment.aspx.cdcab7d2.dyjwdwz8.0.vb
Line: 87

Show Detailed Compiler Output:

C:\WINDOWS\system32>
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\vbc .exe" /t:library
/utf8output
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configurati on\2.0.0.0__b03f5f7f11d50a3a\System.Configuration. dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\T emporary ASP.NET
Files\newsite\bea62603\9c73a00a\App_Code.kkqrpfs4. dll"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0 .0.0__b03f5f7f11d50a3a\System.Drawing.dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\T emporary ASP.NET
Files\newsite\bea62603\9c73a00a\assembly\dl3\c942c f2f\00b27291_ca5cc601\UODOTNET.DLL"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0 __b77a5c561934e089\System.Xml.dll"
/R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseSer vices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseS ervices.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.Data\2.0.0.0_ _b77a5c561934e089\System.Data.dll"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b7 7a5c561934e089\System.dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\T emporary ASP.NET
Files\newsite\bea62603\9c73a00a\App_Web_pc_master. master.cdcab7d2.kpwbkwhe.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.Service s\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dl l"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\T emporary ASP.NET
Files\newsite\bea62603\9c73a00a\App_global.asax.k0 4l1r1u.dll"
/out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 \Temporary ASP.NET
Files\newsite\bea62603\9c73a00a\App_Web_checkout_p ayment.aspx.cdcab7d2.dyjwdwz8.dll"
/D:DEBUG=1 /debug+
/win32resource:"C:\WINDOWS\Microsoft.NET\Framework\ v2.0.50727\Temporary
ASP.NET Files\newsite\bea62603\9c73a00a\8uvmvqyc.res"
/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,Micr osoft.VisualBasic,System.Data,System.Drawing
/define:Debug=True /define:Trace=True
/imports:Microsoft.VisualBasic,System,System.Collec tions,System.Configuration,System.Data,System.Draw ing,System.Web,System.Web.UI,System.Web.UI.HtmlCon trols,System.Web.UI.WebControls
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET
Files\newsite\bea62603\9c73a00a\App_Web_checkout_p ayment.aspx.cdcab7d2.dyjwdwz8.0.vb"
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET
Files\newsite\bea62603\9c73a00a\App_Web_checkout_p ayment.aspx.cdcab7d2.dyjwdwz8.1.vb"
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET
Files\newsite\bea62603\9c73a00a\App_Web_checkout_p ayment.aspx.cdcab7d2.dyjwdwz8.2.vb"
Microsoft (R) Visual Basic Compiler version 8.0.50727.42
for Microsoft (R) .NET Framework version 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET
Files\newsite\bea62603\9c73a00a\App_Web_checkout_p ayment.aspx.cdcab7d2.dyjwdwz8.0.vb(87)
: error BC30007: Reference required to assembly 'App_Code.v3xuytsf,
Version=1.0.2453.33287, Culture=neutral, PublicKeyToken=null' containing
the base class 'newsite.Global'. Add one to your project.

Protected ReadOnly Property ApplicationInstance() As ASP.global_asax
~~~~~~~~~~~~~~~
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET
Files\newsite\bea62603\9c73a00a\App_Web_checkout_p ayment.aspx.cdcab7d2.dyjwdwz8.0.vb(89)
: error BC30007: Reference required to assembly 'App_Code.v3xuytsf,
Version=1.0.2453.33287, Culture=neutral, PublicKeyToken=null' containing
the base class 'newsite.Global'. Add one to your project.

Return CType(Me.Context.ApplicationInstance,ASP.global_as ax)
~~~~~~~~~~~~~~~

Show Complete Compilation Source:



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

Sep 20 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.