Thank you John and Natty for your help.
No, the bin directory was not in the bin directory of the target
server! Going on what you said I changed the location of the bin
directory from bsecs/management/ to bsecs/ , the target server and
this got things working together with moving global.asax into the root
bsecs folder.
I then decided to delete the'management' folder and copy the files
and folders of the project directly into the root bsecs folder and
this works OK.
However I think what I should have done is to add a reference in the
project properties as John was suggesting and I could then have used
my original folder configuration.
I really do appreciate the help I get from this forum,
Best wishes, John Morgan
On Mon, 14 Jun 2004 23:47:46 +0100, John Morgan
[quoted text, click to view] <jfm@XXwoodlander.co.uk> wrote:
>I am using Visual Studio with code behind to build files within an
>application. The name of the project is bsecsSql.
>
>Everything works fine on the local computer when I use 'copy project'
>to copy it to a folder and use an address such as :
>http://cms2/bsecsloc/management/electionPublic/candidateDetails.aspx
>
>but when I upload it to an internet server and attempt to access a
>page eg
>
http://www.bsecs.org.uk//management/electionPublic/candidateDetails.aspx:
>
> I get the message
> ""Could not load type 'bsecsSQL.candidateDetails" with the following
>line outlined in red as an error line
>
> <%@ Page Language="vb" AutoEventWireup="false"
>Codebehind="candidateDetails.aspx.vb"
>Inherits="bsecsSQL.candidateDetails" Trace="true" %>
>
> This is presumably because the address after 'Inherits' is
>"bsecsSQL.candidateDetails". However I cannot get the page to work if
>I merely put in
> inherits"candidateDetails".
>
> My question is how can ,I within or outside Visual Studio 2003,
>configure the 'inherits' property so that it will work with the URL
>shown above as well as on the local machine?
>
> Best wishes, John Morgan