Inherits="WebApplication.Global"

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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.
 
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
 
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.
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top