ASP .NET -- Parser error -- \bin folder not in the right place

From: R M (matta@metratech.com)
Date: 09/11/02


From: "R M" <matta@metratech.com>
Date: Wed, 11 Sep 2002 14:30:39 -0400


A newbie question:

I have a test client program that uses the asp.net framework. This is the
error message that I get:

------------------------------------------------------------
Server Error in '/MyApp' Application.

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 'MyApp.Global'.

Source Error: Line 1: <%@ Application Codebehind="Global.asax.cs"
Inherits="MyApp.Global" %>

Source File: S:\MTBatch\MyApp\global.asax Line: 1

Version Information: Microsoft .NET Framework Version:1.0.3705.288; ASP.NET
Version:1.0.3705.288
------------------------------------------------------------

Now after some searching I found the solution for this. Apparently I was
missing the bin folder on the virtual directory of the application with the
necessary project dlls. These dlls were in another location since they got
build directly, not using the IDE.

However, having those dlls in that folder will eventually become a problem
for me and I would like to have them in a central place on my system. To
accomplish this, I have tried to create a virtual directory pointing to
where these dlls are, on the same location with the name "bin", but it
didn't work.

Is it possible at all to avoid having my dlls in the bin folder of the web
service, and instead have them on a particular folder on my system?

Thanks and please let me know either by email at matta@metratech.com or just
reply to this post.

Thanks

-Raju



Relevant Pages

  • Re: Question about Visual Studio 2005, Bin folder, project references, and source control
    ... I don't see any .refresh files in my bin folder. ... Cowboy (Gregory A. Beamer) wrote: ... file would keep track of the dlls that are required by the project. ... This project file would then be checked into source control. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Compiled .ASPX page cannot reference an assembly in the GAC
    ... Our current set of framework .dlls ... Both assemblies are strongly named. ... exception that is presented by the .ASPX page compiler (we can build ...
    (microsoft.public.dotnet.general)
  • Re: Lsass.exe
    ... No there is no mention of any DLLs in the error message. ... Neil Crose ... > How to install and use the Recovery Console in Windows XP ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Followup: Native win32 apps still require .NET runtime?
    ... >>> I understand that VS.NET is supposed to compile native Win32 apps that ... > The error message is: "This application has failed to start because ... > that needs to be configured aside from simple copying of DLLs. ... First use dependency walker on the target machine to check wether any ...
    (microsoft.public.dotnet.languages.vc)
  • Anfängerfrage zu PInvoke auf dem Compact Framework
    ... im Moment experimentiere ich mit dem Ansteuern einer ... Win32-Dll vom Compact Framework aus. ... Können diese Dlls, die auf dem mobilen Gerät laufen ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)

Loading