Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspdotnet_website_programming thread: Server Error in '/ThePhile' Application.


Message #1 by "Joshi, Sunit" <sjoshi@i...> on Wed, 9 Oct 2002 17:41:00 -0500
Hello All
	I have compiled the whole solution but when I try to display the default page I get an error with the Navigator Server Control. The
/bin has all the diff. DLL files compiled in it.

Server Error in '/ThePhile' Application.
Parser Error Message: The base class includes the field 'MenuNav', but its type (Wrox.ThePhile.Web.Controls.Server.Navigator) is not
compatible with the type of control (Wrox.ThePhile.Web.Controls.Server.Navigator).

Source Error: 

 Line 28:       <BR> Line 29:      </td> Line 30:      <td align="right"><WROX:NAVIGATOR id="MenuNav"
runat="server" TransformFile="Transforms/NavMenu.xslt" SourceFile="Config/NavMenu.xml"></WROX:NAVIGATOR></td> Line
31:     </tr> Line 32:    </table>	


Any pointers on what may be wrong here are greatly appreciated.

thanks
Sunit 
sjoshi@i...
sunitjoshi@n...

Message #2 by "Sunit" <sjoshi@i...> on Thu, 10 Oct 2002 15:05:59
Ok never mind I solved it. The problem was I had included the Navigator.cs also in ThePhile solution. So
it was included 2 times, once in the Controls Solution and next in ThePhile solution. Once I excluded it from ThePhile and recompile
all the solutions everything worked fine.

So far this book has been great except for some frustations with the code setup which is not explained clearly. I'm not using their
solution directly, but as a reference, and building my own as I progress thru. the book. This really makes you think about the code
and also how to get rid of all the errors. I would recommend this approach to others too.

Sunit

> Hello All
	I have compiled the whole solution but when I try to display the default page I get an error with the Navigator Server Control. The
/bin has all the diff. DLL files compiled in it.

Server Error in '/ThePhile' Application.
Parser Error Message: The base class includes the field 'MenuNav', but its type (Wrox.ThePhile.Web.Controls.Server.Navigator) is not
compatible with the type of control (Wrox.ThePhile.Web.Controls.Server.Navigator).

Source Error: 

 Line 28:       <BR> Line 29:      </td> Line 30:      <td align="right"><WROX:NAVIGATOR id="MenuNav"
runat="server" TransformFile="Transforms/NavMenu.xslt" SourceFile="Config/NavMenu.xml"></WROX:NAVIGATOR></td> Line
31:     </tr> Line 32:    </table>	


Any pointers on what may be wrong here are greatly appreciated.

thanks
Sunit 
sjoshi@i...
sunitjoshi@n...

Message #3 by "Christina H." <eventually_me@h...> on Thu, 31 Oct 2002 06:48:36
hi there,

I have the following error when I try to get the ThePhile to work on my 
webserver. I'm still new with ASP.net and I hope some one can help me out. 

Server Error in '/ThePhile' Application.
---------------------------------------------------------------------------
-----

Parser Error 
Description: An error occurred during the parsing of a resource required 
to service this request. Please review the following specific parse error 
details and modify your source file appropriately. 

Parser Error Message: Could not load 
type 'Wrox.ThePhile.Web.Modules.AdsManager.Admin'.

Source Error: 


Line 1:  <%@ Page Language="c#" codebehind="Admin.aspx.cs" 
autoeventwireup="false" 
Inherits="Wrox.ThePhile.Web.Modules.AdsManager.Admin" %>
Line 2:  <%@ Register TagPrefix="Wrox" 
Namespace="Wrox.ThePhile.Web.Controls.Server" Assembly="ThePhile" %>
Line 3:  <%@ Register TagPrefix="WroxUser" TagName="SiteFooter" 
Src="../../Controls/SiteFooter.ascx" %>
 

Source File: C:\Documents and 
Settings\Administrator\Desktop\ThePhile\Modules\AdsManager\Admin.aspx    
Line: 1 

Thank you
eventually_me@h...

  Return to Index