473,386 Members | 1,835 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,386 software developers and data experts.

Inherits="WebApplication.Global"

My Web application is developed in C# Visual Studio 2005 Professional.

After deploying the application to the production server I am getting the
following error:
<%@ Application Codebehind="Global.asax.cs" Inherits="WebApplication.Global"
Language="C#" %>
I found numerous references to this problem on the web and tried what seems
like a few (tens) suggestions, at least the ones I was able to understand.
But alas no luck. Pleeeeeeeease help.

Regards,
Alex
Oct 22 '07 #1
4 5883
That's not an error, you need to post the error string. I've seen this
before, couple things you can do. How did you deploy the application?
redeploy. Make sure the global asax file for the application is deployed.

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless Author Plug
OWC Black Book 2nd Edition
Exclusively on www.lulu.com/owc
$24.99
"Alex Munk" <Al******@discussions.microsoft.comwrote in message
news:1E**********************************@microsof t.com...
My Web application is developed in C# Visual Studio 2005 Professional.

After deploying the application to the production server I am getting the
following error:
<%@ Application Codebehind="Global.asax.cs"
Inherits="WebApplication.Global"
Language="C#" %>
I found numerous references to this problem on the web and tried what
seems
like a few (tens) suggestions, at least the ones I was able to understand.
But alas no luck. Pleeeeeeeease help.

Regards,
Alex

Oct 22 '07 #2
Here is the full error

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

Parser Error Message: Could not load type 'WebApplication.Global'.

Source Error:
Line 1: <%@ Application Codebehind="Global.asax.cs"
Inherits="WebApplication.Global" Language="C#" %>

Source File: /WebAplication/global.asax Line: 1

"Alvin Bruney [MVP]" wrote:
That's not an error, you need to post the error string. I've seen this
before, couple things you can do. How did you deploy the application?
redeploy. Make sure the global asax file for the application is deployed.

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless Author Plug
OWC Black Book 2nd Edition
Exclusively on www.lulu.com/owc
$24.99
"Alex Munk" <Al******@discussions.microsoft.comwrote in message
news:1E**********************************@microsof t.com...
My Web application is developed in C# Visual Studio 2005 Professional.

After deploying the application to the production server I am getting the
following error:
<%@ Application Codebehind="Global.asax.cs"
Inherits="WebApplication.Global"
Language="C#" %>
I found numerous references to this problem on the web and tried what
seems
like a few (tens) suggestions, at least the ones I was able to understand.
But alas no luck. Pleeeeeeeease help.

Regards,
Alex


Oct 23 '07 #3
More Info. I created a deploy project and installed the MSI onto the server
which happens to be W2K server with the same version of the dot net framework
as the development machine which runns Win XP.
Oct 23 '07 #4
There are a couple of things that can cause this. To eliminate them, create
a SIMPLE test project with one form - hello world. Deploy it to the web
server. If that don't work, make sure your extensions are mapped correctly
on the webserver. If it does work, there's a problem with your code so you
should start stripping down the code to the bare minimum that works.

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless Author Plug
OWC Black Book 2nd Edition
Exclusively on www.lulu.com/owc
$24.99
"Alex Munk" <Al******@discussions.microsoft.comwrote in message
news:46**********************************@microsof t.com...
More Info. I created a deploy project and installed the MSI onto the
server
which happens to be W2K server with the same version of the dot net
framework
as the development machine which runns Win XP.


Oct 24 '07 #5

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

Similar topics

43
by: steve | last post by:
I am quite frustrated with php’s include, as I have spent a ton of time on it already... anyone can tell me why it was designed like this (or something I don’t get)? The path in include is...
24
by: Alf P. Steinbach | last post by:
The eighth chapter (chapter 2.1) of my attempted Correct C++ tutorial is now available, although for now only in Word format -- comments welcome! Use the free & system-independent Open Office...
3
by: Rod | last post by:
I am getting a strange error when I attempt to run my new ASP.NET application through an ISA server. If I go to the ISA server machine and open up IIS and perform a Browse on the virtual directory...
15
by: David | last post by:
is there some way to make a file (.cs) containing some common C# code classes being loaded on every .aspx page in my web without me having to declare it every time? Something in the config file...
4
by: Don Wash | last post by:
Hi All! I'm getting the following Error: No DLLs has been compiled yet and nothing in the \bin directory. So it is not the versioning problem or anything like that. And here are the...
2
by: VB Programmer | last post by:
I created a ASP.NET app locally and it works great. Uploaded it to my server and I get this error when trying to view a page. Any ideas? Server Error in '/earlyalert3' Application....
6
by: José Joye | last post by:
Hello, I'm currently reading the MS Developing Web applications with c# (and VB.net). In the chapter related to Error management, there is a sample about "Page-Level Error Pages" eg: In my...
5
by: Cas | last post by:
Hi, If i omit to mention e.g. the option 'debug' in the line below of an aspx file, does it means it's set to false? <%@ Page Language="VB" CodeFile="any.aspx.vb" Inherits="_Default" %> ...
11
by: eBob.com | last post by:
I have this nasty problem with Shared methods and what I think of as "global storage" - i.e. storage declared outside of any subroutines or functions. In the simple example below this "global"...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
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...

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.