Error in global.asax

D

David Lozzi

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_asax)


Source File: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\newsite\bea62603\9c73a00a\App_Web_checkout_payment.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.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary 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\Temporary ASP.NET
Files\newsite\bea62603\9c73a00a\assembly\dl3\c942cf2f\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.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.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__b77a5c561934e089\System.dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary 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.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\newsite\bea62603\9c73a00a\App_global.asax.k04l1r1u.dll"
/out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\newsite\bea62603\9c73a00a\App_Web_checkout_payment.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.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,Microsoft.VisualBasic,System.Data,System.Drawing
/define:Debug=True /define:Trace=True
/imports:Microsoft.VisualBasic,System,System.Collections,System.Configuration,System.Data,System.Drawing,System.Web,System.Web.UI,System.Web.UI.HtmlControls,System.Web.UI.WebControls
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\newsite\bea62603\9c73a00a\App_Web_checkout_payment.aspx.cdcab7d2.dyjwdwz8.0.vb"
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\newsite\bea62603\9c73a00a\App_Web_checkout_payment.aspx.cdcab7d2.dyjwdwz8.1.vb"
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\newsite\bea62603\9c73a00a\App_Web_checkout_payment.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\Temporary ASP.NET
Files\newsite\bea62603\9c73a00a\App_Web_checkout_payment.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\Temporary ASP.NET
Files\newsite\bea62603\9c73a00a\App_Web_checkout_payment.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_asax)
~~~~~~~~~~~~~~~





Show Complete Compilation Source:
 
D

David Lozzi

I recreated the file, put the same exact code in and its working now. weird


thanks
david
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,076
Latest member
OrderKetoBeez

Latest Threads

Top