468,765 Members | 946 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,765 developers. It's quick & easy.

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 5624
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

43 posts views Thread by steve | last post: by
3 posts views Thread by Rod | last post: by
15 posts views Thread by David | last post: by
4 posts views Thread by Don Wash | last post: by
2 posts views Thread by VB Programmer | last post: by
6 posts views Thread by José Joye | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.