Hi Kim,

It looks like you're using a Web Application Project as opposed to a
website.  A few things to check:

- Make sure that you've built the web application.  This can sometimes
happen when the page you're browsing to hasn't been compiled yet.

- Make sure your namespaces and class names match in all 3 files (see
below).

- If you've converted from a web site to a web application & you only
have 2 files (Default.aspx and Default.aspx.cs), right click on
Default.aspx and click 'Convert to web application'. Then rebuild.

- If you're trying to point IIS to the web application root as opposed
to publishing the application somewhere, make sure that your Bin
directory contains all of the project dlls and they are up-to-date (in
the bin directory itself, not subdirectories).  If you're explicitly
targeting x86 or x64, you might need to copy these files from
bin\x86\debug to bin\.  I usually do this in a Post Build Event: "copy
$(TargetPath) $(ProjectDir)bin\".

-ScottH

============
Default.aspx
============
<%@ Page Language="C#" CodeBehind="Default.aspx.cs"
Inherits="CasOwa._Default" %>

===============
Default.aspx.cs
===============
...
namespace CasOwa
{
    public partial class _Default : System.Web.UI.Page
    {
...
    }
}

========================
Default.aspx.designer.cs
========================
...
namespace CasOwa
{
    public partial class _Default
    {
...
    }
}


> -----Original Message-----
> From: Cary, Kim [mailto:[email protected]]
> Sent: Wednesday, May 26, 2010 2:43 PM
> To: [email protected]
> Cc: Scott M. Holodak
> Subject: Re: coa/auth not redirecting Re: [cas-user] CAS ClearPass
> Outlook .NETCASClient integration on IIS 7
> 
> All right, we've determined we're running in "Integrated Mode".
> 
> I believe the web config is correct (attached) - can someone look at
it
> to verify or suggest another approach to determining the problem?
> 
> The error we're getting is:
> Server Error in '/coa' Application.
> An error occurred during the parsing of a resource required to service
> this request...
> "Parser Error Message: Could not load type 'CasOwa._Default'.
> Source Error:
> Line 1: <%@ Page Language="C#" AutoEventWireup="true"
> CodeBehind="Default.aspx.cs" Inherits="CasOwa._Default" %>
> Line 2:
> Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> Source File: /coa/default.aspx
> 
> 
> 
> --
> You are currently subscribed to [email protected] as:
> [email protected]
> To unsubscribe, change settings or access archives, see http://www.ja-
> sig.org/wiki/display/JSG/cas-user

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to