473,466 Members | 1,369 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Problems with Global.asax

we have a project which is kept in SourceSafe

but when "Get Latest Version" on a fresh development machine and try and run
the project i get the following error

Parser Error

Description: An Error occured during parsing of a resource required to
service this request. Please review the following specific parse error
details and modify your source file

Parse Error Message: Could not load type 'ICPWeb.Global'

Source Error:

Line 1 <%@ Application Codebehind="Global.asax.vb" Inherits="ICPWeb.Global"
%>

Source File: ..\global.asax


if i delete the global.asax file from the project and recreate it thru VS on
the developement PC it all works fine. but i was wondering what causes this
problem because if i had a lot of code in the Global.asax i wouldnt want to
be deleting and recreating all the time

Cheers,
Craig
Nov 19 '05 #1
2 1214
just rebuild solution...

--
Thanks,
Yunus Emre ALPÖZEN

"Craig G" <craig.gamble@y_arrasoftware.com> wrote in message
news:en**************@tk2msftngp13.phx.gbl...
we have a project which is kept in SourceSafe

but when "Get Latest Version" on a fresh development machine and try and
run
the project i get the following error

Parser Error

Description: An Error occured during parsing of a resource required to
service this request. Please review the following specific parse error
details and modify your source file

Parse Error Message: Could not load type 'ICPWeb.Global'

Source Error:

Line 1 <%@ Application Codebehind="Global.asax.vb"
Inherits="ICPWeb.Global"
%>

Source File: ..\global.asax


if i delete the global.asax file from the project and recreate it thru VS
on
the developement PC it all works fine. but i was wondering what causes
this
problem because if i had a lot of code in the Global.asax i wouldnt want
to
be deleting and recreating all the time

Cheers,
Craig

Nov 19 '05 #2
It needs to be compiles on the fresh development machine.
"Craig G" <craig.gamble@y_arrasoftware.com> wrote in message
news:en**************@tk2msftngp13.phx.gbl...
we have a project which is kept in SourceSafe

but when "Get Latest Version" on a fresh development machine and try and run the project i get the following error

Parser Error

Description: An Error occured during parsing of a resource required to
service this request. Please review the following specific parse error
details and modify your source file

Parse Error Message: Could not load type 'ICPWeb.Global'

Source Error:

Line 1 <%@ Application Codebehind="Global.asax.vb" Inherits="ICPWeb.Global" %>

Source File: ..\global.asax


if i delete the global.asax file from the project and recreate it thru VS on the developement PC it all works fine. but i was wondering what causes this problem because if i had a lot of code in the Global.asax i wouldnt want to be deleting and recreating all the time

Cheers,
Craig

Nov 19 '05 #3

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

Similar topics

12
by: Luther Hert | last post by:
While trying to work through textbook lessons for Vb.net Step by Step,Version 2003, Chapter 22, the first step is to create a new Web application Project,using the ASP.Net Application icon in the...
22
by: fd123456 | last post by:
Hi Tom ! Sorry about the messy quoting, Google is playing tricks on me at the moment. > Global.asax is where you normally have the Global Application > and Session variables and code to...
12
by: John M | last post by:
Hello, On Microsoft Visual Studio .NET 2003, I want to use some global elements, that can be used in each one of my pages. i.e I put a oleDBConnection on global.asax.vb How can I use it...
5
by: ad | last post by:
The Global.asax is code-inside with default. How to change Global.asax to code-behind?
0
by: Rick Hein | last post by:
I've got a problem with an app I've been working on, the Caching object and events not firing correctly. In a nutshell: When I'm debugging, and I set a breakpoint in the removed item call back, the...
3
by: Bragadiru | last post by:
Hi, I have 2 pbs : 1. When I'm using VS2005->Publish Web site => everything is pre-compiled fine (App_global.asax.dll is generated, too), except that I don't find Global.asax file in my...
11
by: Ron | last post by:
I have a web project compiled with the new "Web Deployment Projects" plugin for VS2005. I'm deploying the web project to one assembly and with updateable option set to ON. When I'm running the...
16
by: thefritz_j | last post by:
We just converted our VS2003 1.1 VB web project (which was working fine) to VS2005 2.0 and now I get: Parser Error Message: Could not load type '<Namespace>.'. Source Error: Line 1: <%@...
15
by: =?Utf-8?B?UGF0Qg==?= | last post by:
Just starting to move to ASP.NET 2.0 and having trouble with the Global.asax code file. In 1.1 I could have a code behind file for the global.asax file. This allow for shared variables of the...
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
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,...
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
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...
1
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,...
0
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...

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.