|
 |
aspdotnet_website_programming thread: Users/Admin/Default.aspx produces a cast error
Message #1 by "Tony Lin" <tony@l...> on Mon, 10 Feb 2003 10:30:09
|
|
I have downloaded the code for this book, compiled it, and have been
generally successful running it. However, the link to "Users-Admin" on
the home Default.aspx page, does not work. When the browser tries to load
that ref which points to "ThePhile/Modules/Users/Admin/Default.aspx", I
get a Page Error: "Specified cast is not valid".
I have tried stepping through the CS code, and it executes all right up
through and including the InitializeComponent(), at which point I get a
Page Error. It fails right after completing the OnInit() method.
I have looked at this page, both the cs code and the html code, I can't
find anything obviously wrong. Maybe I have missed something, but I
certainly don't see an obvious cast that would lead to a cast error.
Has anyone else encountered this problem?
Tony Lin
Fremont, CA
Message #2 by "Tony Lin" <tony@l...> on Mon, 10 Feb 2003 19:16:20
|
|
I just found the answer to my posting. The Users-Admin link must be
accessed after you login. Once I login, I can access the page.
Tony Lin
> I have downloaded the code for this book, compiled it, and have been
g> enerally successful running it. However, the link to "Users-Admin" on
t> he home Default.aspx page, does not work. When the browser tries to
load
t> hat ref which points to "ThePhile/Modules/Users/Admin/Default.aspx", I
g> et a Page Error: "Specified cast is not valid".
> I have tried stepping through the CS code, and it executes all right up
t> hrough and including the InitializeComponent(), at which point I get a
P> age Error. It fails right after completing the OnInit() method.
> I have looked at this page, both the cs code and the html code, I can't
f> ind anything obviously wrong. Maybe I have missed something, but I
c> ertainly don't see an obvious cast that would lead to a cast error.
> Has anyone else encountered this problem?
> Tony Lin
F> remont, CA
|
|
 |