I have finished develop my WebApplication.
When I publish my WebApplication by Publish Web Site to a web server, it can
not run on the web server, with
error message below.
But if I copy my whole web application to server, it can run.
How can I do
----------------------------------------------------------------
Compilation Error
Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.
Compiler Error Message: CS0030: Cannot convert type 'ASP.login_aspx' to
'System.Web.UI.WebControls.Login'
Source Error:
Line 118: public login_aspx() {
Line 119: string[] dependencies;
Line 120: ((Login)(this)).AppRelativeVirtualPath =
"~/Login.aspx";
Line 121: if ((global::ASP.login_aspx.@__initialized == false)) {
Line 122: dependencies = new string[3];

Can not run by publish but do by copy
dimple_dimple
Ryan,
MSBuild is not involved in building or publishing ASP.NET applications. For assistance with your question please post it over in the ASP.NET forums at http://forums.asp.net/.
Thanks,
Neil
Abid Ch.
Rename the "Login.aspx".
I got the same error then I renamed my page from "Login.aspx" to "UserLogin.aspx". now its works.
Thanks
Muru