Jag har skapat en inloggningssida där jag använder asp.nets eminenta loginkontroll. När jag kör lokalt funkar det Ok, men på webhotellet blir det följande fel:Fel med inloggningssida och login control
<code>
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[2];
Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\128e4f65\5966d6bb\App_Web_login.aspx.cdcab7d2.xz5rkphd.0.cs Line: 120
</code>
Har angivit i web.config var loginsidan är. Sidor som är skyddade och "redirectar" till loginsidan ligger i en undermapp. Det spelar iof ingen roll om jag går direkt till login.aspx. Samma fel dyker upp.
Förslag??