Code Behind Class not working

Results 1 to 2 of 2

Thread: Code Behind Class not working

  1. #1
    Join Date
    Dec 1969

    Default Code Behind Class not working

    I am trying to use codebehind classes, but am having a little trouble. I get a page compiler error saying that the specifiec class cannot be used to inherit from.<BR><BR>I am not at my development computer right now, but the only thing that I can think of is that my bin directory is not in the base of my web. It is in a /web/bin subdirectory, where web holds all web content.<BR><BR>If I were to change my base to be /web, would this compile? It seems like the page is finding the class alright.<BR><BR>(I was comparing my work to example applications, and this is the only difference that I can find.)<BR><BR>Thanks.<BR><BR>Pete<BR>

  2. #2
    Doug Seven Guest

    Default RE: Code Behind Class not working

    Sounds like you have solved your own problem. The /bin directory must be in the root level of the application. Set IIS&#039s Hoe Directory to your /web directory, and providing the your compiled DLL is in the bin directory, everything should work fine.<BR><BR>Doug Seven<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts