473,756 Members | 2,703 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.v3xuy tsf, Version=1.0.245 3.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 ApplicationInst ance() As
ASP.global_asax
Line 88: Get
Line 89: Return
CType(Me.Contex t.ApplicationIn stance,ASP.glob al_asax)
Source File: C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 \Temporary ASP.NET
Files\newsite\b ea62603\9c73a00 a\App_Web_check out_payment.asp x.cdcab7d2.dyjw dwz8.0.vb
Line: 87

Show Detailed Compiler Output:

C:\WINDOWS\syst em32"C:\WINDOWS \Microsoft.NET\ Framework\v2.0. 50727\vbc.exe"
/t:library /utf8output
/R:"C:\WINDOWS\a ssembly\GAC_MSI L\System.Config uration\2.0.0.0 __b03f5f7f11d50 a3a\System.Conf iguration.dll"
/R:"C:\WINDOWS\M icrosoft.NET\Fr amework\v2.0.50 727\Temporary ASP.NET
Files\newsite\b ea62603\9c73a00 a\App_Code.kkqr pfs4.dll"
/R:"C:\WINDOWS\a ssembly\GAC_MSI L\System.Drawin g\2.0.0.0__b03f 5f7f11d50a3a\Sy stem.Drawing.dl l"
/R:"C:\WINDOWS\M icrosoft.NET\Fr amework\v2.0.50 727\Temporary ASP.NET
Files\newsite\b ea62603\9c73a00 a\assembly\dl3\ c942cf2f\00b272 91_ca5cc601\UOD OTNET.DLL"
/R:"C:\WINDOWS\a ssembly\GAC_MSI L\System.Xml\2. 0.0.0__b77a5c56 1934e089\System .Xml.dll"
/R:"C:\WINDOWS\a ssembly\GAC_32\ System.Enterpri seServices\2.0. 0.0__b03f5f7f11 d50a3a\System.E nterpriseServic es.dll"
/R:"C:\WINDOWS\a ssembly\GAC_MSI L\System.Web.Mo bile\2.0.0.0__b 03f5f7f11d50a3a \System.Web.Mob ile.dll"
/R:"C:\WINDOWS\a ssembly\GAC_32\ System.Data\2.0 .0.0__b77a5c561 934e089\System. Data.dll"
/R:"C:\WINDOWS\a ssembly\GAC_MSI L\System\2.0.0. 0__b77a5c561934 e089\System.dll "
/R:"C:\WINDOWS\M icrosoft.NET\Fr amework\v2.0.50 727\Temporary ASP.NET
Files\newsite\b ea62603\9c73a00 a\App_Web_pc_ma ster.master.cdc ab7d2.kpwbkwhe. dll"
/R:"C:\WINDOWS\a ssembly\GAC_32\ System.Web\2.0. 0.0__b03f5f7f11 d50a3a\System.W eb.dll"
/R:"C:\WINDOWS\a ssembly\GAC_MSI L\System.Web.Se rvices\2.0.0.0_ _b03f5f7f11d50a 3a\System.Web.S ervices.dll"
/R:"C:\WINDOWS\M icrosoft.NET\Fr amework\v2.0.50 727\Temporary ASP.NET
Files\newsite\b ea62603\9c73a00 a\App_global.as ax.k04l1r1u.dll "
/out:"C:\WINDOWS \Microsoft.NET\ Framework\v2.0. 50727\Temporary ASP.NET
Files\newsite\b ea62603\9c73a00 a\App_Web_check out_payment.asp x.cdcab7d2.dyjw dwz8.dll"
/D:DEBUG=1 /debug+
/win32resource:" C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 \Temporary
ASP.NET Files\newsite\b ea62603\9c73a00 a\8uvmvqyc.res"
/define:_MYTYPE= \"Web\"
/imports:Microso ft.VisualBasic, System,System.C ollections,Syst em.Collections. Specialized,Sys tem.Configurati on,System.Text, System.Text.Reg ularExpressions ,System.Web,Sys tem.Web.Caching ,System.Web.Ses sionState,Syste m.Web.Security, System.Web.Prof ile,System.Web. UI,System.Web.U I.WebControls,S ystem.Web.UI.We bControls.WebPa rts,System.Web. UI.HtmlControls ,Microsoft.Visu alBasic,System. Data,System.Dra wing
/define:Debug=Tr ue /define:Trace=Tr ue
/imports:Microso ft.VisualBasic, System,System.C ollections,Syst em.Configuratio n,System.Data,S ystem.Drawing,S ystem.Web,Syste m.Web.UI,System .Web.UI.HtmlCon trols,System.We b.UI.WebControl s
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v2.0.5072 7\Temporary ASP.NET
Files\newsite\b ea62603\9c73a00 a\App_Web_check out_payment.asp x.cdcab7d2.dyjw dwz8.0.vb"
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v2.0.5072 7\Temporary ASP.NET
Files\newsite\b ea62603\9c73a00 a\App_Web_check out_payment.asp x.cdcab7d2.dyjw dwz8.1.vb"
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v2.0.5072 7\Temporary ASP.NET
Files\newsite\b ea62603\9c73a00 a\App_Web_check out_payment.asp x.cdcab7d2.dyjw dwz8.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\Micr osoft.NET\Frame work\v2.0.50727 \Temporary ASP.NET
Files\newsite\b ea62603\9c73a00 a\App_Web_check out_payment.asp x.cdcab7d2.dyjw dwz8.0.vb(87)
: error BC30007: Reference required to assembly 'App_Code.v3xuy tsf,
Version=1.0.245 3.33287, Culture=neutral , PublicKeyToken= null' containing the
base class 'newsite.Global '. Add one to your project.

Protected ReadOnly Property ApplicationInst ance() As ASP.global_asax
~~~~~~~~~~~~~~~
C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 \Temporary ASP.NET
Files\newsite\b ea62603\9c73a00 a\App_Web_check out_payment.asp x.cdcab7d2.dyjw dwz8.0.vb(89)
: error BC30007: Reference required to assembly 'App_Code.v3xuy tsf,
Version=1.0.245 3.33287, Culture=neutral , PublicKeyToken= null' containing the
base class 'newsite.Global '. Add one to your project.

Return CType(Me.Contex t.ApplicationIn stance,ASP.glob al_asax)
~~~~~~~~~~~~~~~

Show Complete Compilation Source:



--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.507 27.42; ASP.NET
Version:2.0.507 27.42
Sep 20 '06 #1
1 5344
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******** ******@TK2MSFTN GP05.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.v3xuy tsf, Version=1.0.245 3.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 ApplicationInst ance() As
ASP.global_asax
Line 88: Get
Line 89: Return
CType(Me.Contex t.ApplicationIn stance,ASP.glob al_asax)
Source File: C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 \Temporary
ASP.NET
Files\newsite\b ea62603\9c73a00 a\App_Web_check out_payment.asp x.cdcab7d2.dyjw dwz8.0.vb
Line: 87

Show Detailed Compiler Output:

C:\WINDOWS\syst em32>
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v2.0.5072 7\vbc.exe" /t:library
/utf8output
/R:"C:\WINDOWS\a ssembly\GAC_MSI L\System.Config uration\2.0.0.0 __b03f5f7f11d50 a3a\System.Conf iguration.dll"
/R:"C:\WINDOWS\M icrosoft.NET\Fr amework\v2.0.50 727\Temporary ASP.NET
Files\newsite\b ea62603\9c73a00 a\App_Code.kkqr pfs4.dll"
/R:"C:\WINDOWS\a ssembly\GAC_MSI L\System.Drawin g\2.0.0.0__b03f 5f7f11d50a3a\Sy stem.Drawing.dl l"
/R:"C:\WINDOWS\M icrosoft.NET\Fr amework\v2.0.50 727\Temporary ASP.NET
Files\newsite\b ea62603\9c73a00 a\assembly\dl3\ c942cf2f\00b272 91_ca5cc601\UOD OTNET.DLL"
/R:"C:\WINDOWS\a ssembly\GAC_MSI L\System.Xml\2. 0.0.0__b77a5c56 1934e089\System .Xml.dll"
/R:"C:\WINDOWS\a ssembly\GAC_32\ System.Enterpri seServices\2.0. 0.0__b03f5f7f11 d50a3a\System.E nterpriseServic es.dll"
/R:"C:\WINDOWS\a ssembly\GAC_MSI L\System.Web.Mo bile\2.0.0.0__b 03f5f7f11d50a3a \System.Web.Mob ile.dll"
/R:"C:\WINDOWS\a ssembly\GAC_32\ System.Data\2.0 .0.0__b77a5c561 934e089\System. Data.dll"
/R:"C:\WINDOWS\a ssembly\GAC_MSI L\System\2.0.0. 0__b77a5c561934 e089\System.dll "
/R:"C:\WINDOWS\M icrosoft.NET\Fr amework\v2.0.50 727\Temporary ASP.NET
Files\newsite\b ea62603\9c73a00 a\App_Web_pc_ma ster.master.cdc ab7d2.kpwbkwhe. dll"
/R:"C:\WINDOWS\a ssembly\GAC_32\ System.Web\2.0. 0.0__b03f5f7f11 d50a3a\System.W eb.dll"
/R:"C:\WINDOWS\a ssembly\GAC_MSI L\System.Web.Se rvices\2.0.0.0_ _b03f5f7f11d50a 3a\System.Web.S ervices.dll"
/R:"C:\WINDOWS\M icrosoft.NET\Fr amework\v2.0.50 727\Temporary ASP.NET
Files\newsite\b ea62603\9c73a00 a\App_global.as ax.k04l1r1u.dll "
/out:"C:\WINDOWS \Microsoft.NET\ Framework\v2.0. 50727\Temporary ASP.NET
Files\newsite\b ea62603\9c73a00 a\App_Web_check out_payment.asp x.cdcab7d2.dyjw dwz8.dll"
/D:DEBUG=1 /debug+
/win32resource:" C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 \Temporary
ASP.NET Files\newsite\b ea62603\9c73a00 a\8uvmvqyc.res"
/define:_MYTYPE= \"Web\"
/imports:Microso ft.VisualBasic, System,System.C ollections,Syst em.Collections. Specialized,Sys tem.Configurati on,System.Text, System.Text.Reg ularExpressions ,System.Web,Sys tem.Web.Caching ,System.Web.Ses sionState,Syste m.Web.Security, System.Web.Prof ile,System.Web. UI,System.Web.U I.WebControls,S ystem.Web.UI.We bControls.WebPa rts,System.Web. UI.HtmlControls ,Microsoft.Visu alBasic,System. Data,System.Dra wing
/define:Debug=Tr ue /define:Trace=Tr ue
/imports:Microso ft.VisualBasic, System,System.C ollections,Syst em.Configuratio n,System.Data,S ystem.Drawing,S ystem.Web,Syste m.Web.UI,System .Web.UI.HtmlCon trols,System.We b.UI.WebControl s
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v2.0.5072 7\Temporary ASP.NET
Files\newsite\b ea62603\9c73a00 a\App_Web_check out_payment.asp x.cdcab7d2.dyjw dwz8.0.vb"
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v2.0.5072 7\Temporary ASP.NET
Files\newsite\b ea62603\9c73a00 a\App_Web_check out_payment.asp x.cdcab7d2.dyjw dwz8.1.vb"
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v2.0.5072 7\Temporary ASP.NET
Files\newsite\b ea62603\9c73a00 a\App_Web_check out_payment.asp x.cdcab7d2.dyjw dwz8.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\Micr osoft.NET\Frame work\v2.0.50727 \Temporary ASP.NET
Files\newsite\b ea62603\9c73a00 a\App_Web_check out_payment.asp x.cdcab7d2.dyjw dwz8.0.vb(87)
: error BC30007: Reference required to assembly 'App_Code.v3xuy tsf,
Version=1.0.245 3.33287, Culture=neutral , PublicKeyToken= null' containing
the base class 'newsite.Global '. Add one to your project.

Protected ReadOnly Property ApplicationInst ance() As ASP.global_asax
~~~~~~~~~~~~~~~
C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 \Temporary ASP.NET
Files\newsite\b ea62603\9c73a00 a\App_Web_check out_payment.asp x.cdcab7d2.dyjw dwz8.0.vb(89)
: error BC30007: Reference required to assembly 'App_Code.v3xuy tsf,
Version=1.0.245 3.33287, Culture=neutral , PublicKeyToken= null' containing
the base class 'newsite.Global '. Add one to your project.

Return CType(Me.Contex t.ApplicationIn stance,ASP.glob al_asax)
~~~~~~~~~~~~~~~

Show Complete Compilation Source:



--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.507 27.42;
ASP.NET Version:2.0.507 27.42

Sep 20 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
661
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 log as well as fire up my email class and generate an email to send me the error. But no matter what I do, I still get the icky looking yellow and white error screens. I’ve turned on customErrors in the web.config but not default URL setting....
3
19868
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 ---------------------------------------------------------------------------- ---- Server Error in '/test2' Application. ---------------------------------------------------------------------------- ----
5
2250
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 ASP.net web application and used the default name WebApplication1. Without doing !!anything!! to the WebForm1.aspx I build the project by going to File Menu Build\Build Solution (Ctr+Shift+B) : In the Output window I get:
2
1383
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 server, no compile errors. I thought that Visual Studio takes care of all assembly information and things like that. Do I need to load or register something before I can use this page? Any help would be wonderful. Daniel. Server Error in...
14
2398
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 experiencing than try to translate it. Here's the error: Line 1: <%@ Application Codebehind="Global.asax.vb" Inherits="netfraud.us.Global" %>
1
4680
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 matter how simple or complex. For example purposes, I even created a new app using all the defaults in VS.Net 2003 (WebApplication1, WebForm1) and dropped a label on WebForm1, did a Ctrl-F5 and still get the error. I have tried reinstalling the .NET...
5
1230
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 tried to log in, we have the error message in Exception : Thread was being aborted in Page_Load(). Page_Load()
4
3047
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 debugger unless I add a Global.asax file. When I do that and then try to run the debugger I receive error 403. If I remove the Global.asax file things work fine. The Global.asax file is the one generated by VS 2005 - I don't try to add anything...
4
7498
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#" Inherits="MyApp.Core.Global" Codefile="Global.asax.cs" %> But everything is running OK, the site is under a web application project.
1
1794
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 from vs 2005, it went through a conversion process and all seemed to go ok. when i attempt to run, i get first parser error on global.asax and cs. i still have global.asax and global.asax.cs attached together (as code-behind). after few...
0
9431
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10014
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9844
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9819
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8688
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7226
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5119
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5289
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3780
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.