Error message - why the...???

From: Mads Jacobsen (mads.jacobsen@get2net.dk)
Date: 10/20/02


From: "Mads Jacobsen" <mads.jacobsen@get2net.dk>
Date: 20 Oct 2002 13:29:13 +0100


Hi,

I'm using forms-authentication in the directory /Artistadmin (see web.config
file below), and I'm getting the following errormessage:

Parser Error Message: Could not load type 'aana.net.Artistadmin.login'.

Source Error:

Line 1: <%@ Page language="c#" Codebehind="login.aspx.cs"
AutoEventWireup="false" Inherits="aana.net.Artistadmin.login" %>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
Line 3: <HTML>

Source File: D:\aana\Artistadmin\login.aspx Line: 1

If I remove the "Inherits..." attribute, I don't get the errormessage, but
then of course my page does not work properly...
In an earlier post in this group, someone told to rebuild the project or try
to create a new project and then import the files.
I've tried to rebuild, I've tried to work offline and I've tried to make a
test.aspx file, and the same error appears.

Does anyone know how to correct this?

****
web.config:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <system.web>
    <compilation defaultLanguage="c#" debug="true" />
    <customErrors mode="Off" />

    <authentication mode="Forms">
    <forms name="ArtistAdm" loginUrl="login.aspx" />
  </authentication>

   <authorization>
    <deny users="?" />
   </authorization>

    <trace enabled="false" requestLimit="10" pageOutput="false"
        traceMode="SortByTime" localOnly="true" />
    <sessionState mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
            sqlConnectionString="data source=127.0.0.1;user id=sa;password="
            cookieless="false" timeout="20" />
    <globalization requestEncoding="utf-8" responseEncoding="utf-8" />
 </system.web>

 <location path="Artistadmin">
  <system.web>
   <authorization>
    <allow users="*" />
   </authorization>
  </system.web>
 </location>

</configuration>

 ****

Regards,
Mads