🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.csharpbuilder.aspdotnet.general
Article #30

Re: Project.Global class could not be found

#30
From: Marc Rohloff [TeamB]
Date: Thu, 06 Jan 2005 21:13
17 lines
1530 bytes
"Andrew" <andrewgil@dodo.com.au> wrote:

>Though I don't know if it was compiled or not. Anyway I thought IIS 
>automatically compiles if there is only .cs files and not dlls
>

Generally you should compile from the IDE. You can check the resulting assembly in the bin directory with a reflection tool to make sure.

If you expect IIS to autmatically compile then your need to add the 'src' directive to the @Application tag like this:

<%@ Application Codebehind="Global.asax.cs" src="Global.asax.cs" Inherits="Project.Global" %>


-- 
Marc Rohloff [TeamB]
marc rohloff -at- myrealbox -dot- com 
Technical Details
Message-ID: <41dda9eb$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <41db21f9@newsgroups.borland.com> <140bowb7qnnyh$.dlg@marcrohloff.40tude.net> <41db3a4a@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 124d48,19d18d289ea55250
X-Google-Attributes: gid124d48,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Marc Rohloff [TeamB]" <nospam@nospam.invalid>
Sender: "Marc Rohloff [TeamB]" <nospam@nospam.invalid>
Reply-To: "Marc Rohloff [TeamB]" <nospam@nospam.invalid>
Subject: Re: Project.Global class could not be found
Newsgroups: borland.public.csharpbuilder.aspdotnet.general
X-User-Info: 156.63.134.4     
References: <41db21f9@newsgroups.borland.com> <140bowb7qnnyh$.dlg@marcrohloff.40tude.net> <41db3a4a@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <41dda9eb$1@newsgroups.borland.com>
Date: 6 Jan 2005 13:13:15 -0800
X-Trace: newsgroups.borland.com 1105045995 207.105.83.66 (6 Jan 2005 13:13:15 -0800)
Lines: 18
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail