Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspdotnet_website_programming thread: Page Error: thephile/Modules/Users/Admin/Default.aspx


Message #1 by "Andrew Pasetti" <andrewpasetti@y...> on Thu, 5 Sep 2002 21:01:39
When trying to access the default users page I get the error pasted below. 
All the other modules appear to work fine. Can someone please suggest a 
fix -- this module is an important learning tool.

Thanks,

Andrew



Page Error

---------------------------------------------------------------------------
-----
An unexpected error has occurred on this page. The system administrators 
have been notified. Please feel free to contact us with the information 
surrounding this error.
The error occurred in: 
http://localhost/thephile/Modules/Users/Admin/Default.aspx
Error Message: Specified cast is not valid.
---------------------------------------------------------------------------
-----
Stack Trace:
System.InvalidCastException: Specified cast is not valid. at 
Wrox.WebModules.Accounts.Web.Admin_Default.Page_Load(Object sender, 
EventArgs e) in C:\wrox\ThePhile\Modules\Users\Admin\Default.aspx.cs:line 
28 at System.EventHandler.Invoke(Object sender, EventArgs e) at 
System.Web.UI.Control.OnLoad(EventArgs e) at 
System.Web.UI.Control.LoadRecursive() at 
System.Web.UI.Page.ProcessRequestMain()
Message #2 by "jiang tang" <jtang63@y...> on Fri, 6 Sep 2002 15:46:54
When  access ThePhile, you have to get to it through 
http://localhost/ThePhile which will get you to the default.aspx under the 
root ThePhile.  The cast problem is caused by your having not been 
authenticated by the system.  Read carefully about the SiteIdentity part 
of the book.

I have just finished the book and I think it's a wonderful book.



  Return to Index