Re: Parser Error - Could not load type
From: Scott Allen (scott_at_nospam.odetocode.com)
Date: 02/02/05
- Next message: Shawn Berg: "Page "skins""
- Previous message: NuTcAsE: "Re: Return Values and SqlHelper"
- In reply to: dhnriverside: "Parser Error - Could not load type"
- Next in thread: dhnriverside: "Re: Parser Error - Could not load type"
- Reply: dhnriverside: "Re: Parser Error - Could not load type"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 02 Feb 2005 11:32:26 -0500
Hey Dan:
You probably do not want the secure subdirectory to be an application.
.NET will assume it has it's own bin directory and is looking for a
dll in secure\bin to find the code for the aspx file.
-- Scott http://www.OdeToCode.com/blogs/scott/ On Wed, 2 Feb 2005 07:45:07 -0800, dhnriverside <dan@musoswire.com> wrote: >Hi peeps > >Ok, I've got a web application running (lets call it MyApp, so its namespace >is MyApp). I've created a subdirectory within this application called >"secure", and made than an Application in IIS too. Plus I've added another >web.config in there. > >Then I added an aspx page (called UpdateLogin.aspx), which created itself in >the namespace "MyApp.secure", but when I try to load this page im getting... > >"Parser Error Message: Could not load type 'MyApp.secure.UpdateLogin'." > >Here's the line it's failing on... > ><%@ Page language="c#" Codebehind="UpdateLogin.aspx.cs" >AutoEventWireup="false" Inherits="MyApp.secure.UpdateLogin" %> > >All files are there, have tried taking out ".secure" from the namespace and >the reference, have tried adding the directory to the Codebehind option, but >all to no avail. > >What's going on? > >Cheers > > >Dan
- Next message: Shawn Berg: "Page "skins""
- Previous message: NuTcAsE: "Re: Return Values and SqlHelper"
- In reply to: dhnriverside: "Parser Error - Could not load type"
- Next in thread: dhnriverside: "Re: Parser Error - Could not load type"
- Reply: dhnriverside: "Re: Parser Error - Could not load type"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|