Parse Error in Global.asax

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Lots of problems ive managed to work through, but this one is causing
me much grief.


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 'My.Namespace.Global'.

Source Error:

Line 1: <%@ Application Codebehind="Global.asax.cs"
Inherits="My.Namespace.Global" %>
Source File: D:\WebPath\global.asax

-
Looking on the web the answer all seems to be "Build the application"
and then it should work - but i've done this and it doesn't.
I have the original 'My.NameSpace.dll' which works fine.
I have built a new version of this dll with some modifications and
when i stick it into the /bin folder on the web path i get the error
above.

This error only occurs when i upload the dll to the IIS server. It
works fine when i testing within Visual Studio.


Any ideas for me?

.



Relevant Pages

  • Re: Help tracking error
    ... You should produce debug information for the DLL, ... on the target system. ... You might be asked for the path to the source file. ...
    (microsoft.public.vc.debugger)
  • Re: Linking a LIB file
    ... <apellerin AT adeneo DOT adetelgroup DOT com> ... The dll source file contains: ... I even have a .def file for this dll file ... libraries. ...
    (microsoft.public.windowsce.embedded)
  • Re: how to protect source code of an application
    ... In ASP.NET 2.0 you can precompile everything and deploy little more than DLL ... .java file with the source), deployed on the client web server, and the ... have the source file and the only source files they have ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Reverse Engineering
    ... produce a readable resource from it, ... instead of vomitting on RosAsm Disassembler ... Actually, to have a *correct* runnable PE, produced from a source file ...
    (alt.lang.asm)
  • Re: NdisMInitializeWrapper Problem?
    ... The PCX500 driver from private folder is create PCX500.lib file. ... to create DLL already there is DLL but i am changing some code as to ... And my PCX500 Driver source file is: ...
    (microsoft.public.windowsce.platbuilder)