Gonzalo's fix took care of my initial codebehind problems, but a new one has come up. I went back to the original code I was attempting to run, and now I get

---

System.Web.HttpException: ---> System.NullReferenceException: A null value was found where an object instance was required
in <0x00138> 00 System.Web.Compilation.AspGenerator:PageDirective (System.Web.Compilation.TagAttributes)
in <0x0038a> 00 System.Web.Compilation.AspGenerator:ProcessDirective ()
in <0x00093> 00 System.Web.Compilation.AspGenerator:JustDoIt ()
in <0x00011> 00 System.Web.Compilation.AspGenerator:ProcessElements ()
in <0x00128> 00 System.Web.Compilation.PageCompiler:GenerateSourceFile ()
in <0x0004f> 00 System.Web.Compilation.PageCompiler:GetCompiledType ()
in <0x000e8> 00 System.Web.Compilation.PageCompiler:CompilePageType (System.Web.UI.PageParser)
in <0x0000e> 00 System.Web.UI.PageParser:CompileIntoType ()
in <0x0004e> 00 System.Web.UI.TemplateControlParser:GetCompiledInstance (string,string,System.Web.HttpContext)
in <0x0004c> 00 System.Web.UI.PageParser:GetCompiledPageInstance (string,string,System.Web.HttpContext)
in <0x00014> 00 System.Web.UI.PageHandlerFactory:GetHandler (System.Web.HttpContext,string,string,string)
in <0x001a5> 00 System.Web.HttpApplication:CreateHttpHandler (System.Web.HttpContext,string,string,string)
in <0x00094> 00 .CreateHandlerState:Execute ()
in <0x00092> 00 .StateMachine:ExecuteState (IStateHandler,bool&)
--- End of inner exception stack trace ---

---

I notice the PageDirective, so here is the top of index.asp:

---

<%@ Page Language="C#" inherits="eZine.Framework.CodeBehind.index" EnableSessionState="false" %>
<%@ Register TagPrefix="ez" TagName="header" Src="uc_header.ascx" %>
<%@ Register TagPrefix="ez" TagName="vertical_nav" Src="uc_vertical_nav.ascx" %>
<%@ Register TagPrefix="ez" TagName="footer" Src="uc_footer.ascx" %>
<%@ Register TagPrefix="ez" TagName="signup" Src="uc_newsletter_signup.ascx" %>

---

What could cause this?

--
David B. Bitton
[EMAIL PROTECTED]
www.codenoevil.com

Code Made Fresh Daily�


_______________________________________________
Mono-list maillist - [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to