Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspdotnet_website_programming thread: ThePhile. Has anyone got it to work? I'm stuck......


Message #1 by "Miguel" <boras@n...> on Fri, 4 Oct 2002 18:53:55
When i try to login i get this errors:


Parser Error Message: The virtual 
path '/ThePhile/Controls/SiteHeader.ascx' maps to another application, 
which is not allowed.

Source Error: 


Line 1:  <%@ Register TagPrefix="WroxUser" TagName="SiteHeader" 
Src="/ThePhile/Controls/SiteHeader.ascx" %>


if i comment that line to see if the rest works i get this:

Parser Error Message: Could not load 
type 'Wrox.ThePhile.WebModules.Accounts.Web.Login'.

Source Error: 


Line 1:  <%@ Page language="c#" Codebehind="new.aspx.cs" 
AutoEventWireup="false" 
Inherits="Wrox.ThePhile.WebModules.Accounts.Web.Login" %>

 
I can't figure it out. The code in the book as many errors and the 
downloaded code seems not to work immediately..... Can anyone help me out?

 
Message #2 by "Mike Gale" <info@d...> on Sat, 5 Oct 2002 08:52:41 +1200
Miguel wrote:
> When I try to login I get this errors:
> 
> 
> Parser Error Message: The virtual
> path '/ThePhile/Controls/SiteHeader.ascx' maps to another application,
> which is not allowed.

To use source code like this you need to understand what is going on
behind the scenes.

To get there I suggest.  (I assume you use Visual Studio.)

1)  Study up how .NET and ASP.NET work.  VStudio and the framework have
a lot of detail.  There are also good books available like "Professional
ASP.NET" and of course Website Programming is your primary source.

2)  Start a solution and select projects one at a time.  Say start with
core.  Get each to work "one at a time".  You'll have to figure the
order out, it'll help you learn.  This way you build up toward compiling
the ASP.NET project.

The book assumes familiarity with certain technologies.  Without that
familiarity you will probably have a hard time!

Mike Gale, Decision Engineering (NZ) Ltd.


Message #3 by "Miguel" <boras@n...> on Fri, 4 Oct 2002 23:39:46
Thanks for the reply. I am quite familiar with ASP.NET but not as much 
with visual studio. I've started the project step by step and I start it 
with core. There isn't compilation errors. In the solution I just have 
ThePhile as a web project the rest are Class library projects. Everything 
so far(core, accounts, headers, footers, philepagebase, newsmanager) have 
been working but when I try to login I get those errors. I just want to 
know what is that nature of those errors and what do they mean and why. 
Thanks.





> Miguel wrote:
> When I try to login I get this errors:
> 
> 
> Parser Error Message: The virtual
> path '/ThePhile/Controls/SiteHeader.ascx' maps to another application,
> which is not allowed.

To use source code like this you need to understand what is going on
behind the scenes.

To get there I suggest.  (I assume you use Visual Studio.)

1)  Study up how .NET and ASP.NET work.  VStudio and the framework have
a lot of detail.  There are also good books available like "Professional
ASP.NET" and of course Website Programming is your primary source.

2)  Start a solution and select projects one at a time.  Say start with
core.  Get each to work "one at a time".  You'll have to figure the
order out, it'll help you learn.  This way you build up toward compiling
the ASP.NET project.

The book assumes familiarity with certain technologies.  Without that
familiarity you will probably have a hard time!

Mike Gale, Decision Engineering (NZ) Ltd.



  Return to Index