G
Guest
Hello!
I have a web page named "ChangePassword.aspx", which works just wonderful on
my developer machine. When I deploy it to the server, though, I get:
Compiler Error Message: CS0030: Cannot convert type
'ASP.changepassword_aspx' to 'System.Web.UI.WebControls.ChangePassword'
public changepassword_aspx() {
Line 121: string[] dependencies;
Line 122: ((ChangePassword)(this)).AppRelativeVirtualPath =
"~/ChangePassword.aspx";
Line 123: if ((global::ASP.changepassword_aspx.@__initialized ==
false)) {
Line 124: global::ASP.changepassword_aspx.@__stringResource =
this.ReadStringResource();
I don't like to be negative, but come on! The same thing happened in
ASP.NET 1.0, so I thought you guys would have figured out how to enforce
namespaces on compiled pages. In ASP.NET 1.0, you can get similar conflicts
with web controls that share the same name but are in different namespaces...
How do I get around this without having to change the name of the page???
Thanks
I have a web page named "ChangePassword.aspx", which works just wonderful on
my developer machine. When I deploy it to the server, though, I get:
Compiler Error Message: CS0030: Cannot convert type
'ASP.changepassword_aspx' to 'System.Web.UI.WebControls.ChangePassword'
public changepassword_aspx() {
Line 121: string[] dependencies;
Line 122: ((ChangePassword)(this)).AppRelativeVirtualPath =
"~/ChangePassword.aspx";
Line 123: if ((global::ASP.changepassword_aspx.@__initialized ==
false)) {
Line 124: global::ASP.changepassword_aspx.@__stringResource =
this.ReadStringResource();
I don't like to be negative, but come on! The same thing happened in
ASP.NET 1.0, so I thought you guys would have figured out how to enforce
namespaces on compiled pages. In ASP.NET 1.0, you can get similar conflicts
with web controls that share the same name but are in different namespaces...
How do I get around this without having to change the name of the page???
Thanks