473,407 Members | 2,629 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Error in global.asax

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
1 5314
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: JP | last post by:
I need to be able to trap errors at the application level. I added this code to the Global.asax file. The code I wrote is supposed to get the last error that was generated and write to the event...
3
by: Pa Ji | last post by:
I just created a simple web application and tried to run it. Getting following...any idea what I'm missing Thanks in advance...
5
by: CES | last post by:
All, I've just started to use VBStudio, up tell now I've coded with note pad, so this is all new to me. I'm trying to create my first project but I'm running into problems. I've created a base...
2
by: Daniel Rimmelzwaan | last post by:
I receive the error below when I try to access my aspx page in a browser. I created the aspx page on my laptop (but the solution resides on a server) with VS.NET and it builds correctly on the...
14
by: Roland Hall | last post by:
Since I'm not getting any response from the community, I'm reposting this under my managed account. I've turned my web.config friendly error messages off and it may be easier to view what I'm...
1
by: Neil | last post by:
Hello - In every project I try to compile and run, I'm getting a parser error on global.asax (pasted below). I have rebuilt and recompiled, and this happens on every project on my machine, no...
5
by: Andrew | last post by:
Hello, friends, In our development machine, the .net web app worked fine. Then we deployed it to our server. However, it did not work on the server. After a user entered user name/pswd and...
4
by: Al Santino | last post by:
Hello, I've created a simple C# web services project using Visual Studio 2005. My service compiles and runs correctly when called by remote clients. I'm able to step through the service in the...
4
by: WT | last post by:
Hello, Using VS2005, when I open the global.asax file, the editor underlines in blue all the line with a tooltip saying 'Syntaxe error '. <%@ Application Language="C#"...
1
by: =?Utf-8?B?QWNl?= | last post by:
hello, i just converted old .net project (it was a solution with web project and class project) built in .net 1.0 and 1.1 framework to .net 2.0. as i expected, when i clicked on the solution file...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.