My website is working properly in local system.
After production i am getting one error(this is coming when click on login page)
Server Error in '/' Application.
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: CS0234: The type or namespace name 'propuserlogincls' does not exist in the namespace 'RealEstate' (are you missing an assembly reference?)
Source Error:
Line 19:{
Line 20:RealEstate.propuserlogincls propuserloginObj = new RealEstate.propuserlogincls();
Line 21:
Line 22:propuserloginObj.EmailId = txt_email.Text;
Source File: e:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx.cs Line: 20
C:\Windows\SysWOW64\inetsrv> "C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe" /t:library /utf8output /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Entity\v4.0_4.0.0.0__b77a5c561934e089\System.Web.Entity.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.IdentityModel\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.ApplicationServices\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.ApplicationServices.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.Activities.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Extensions\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Extensions.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activation\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activation.dll" /R:"D:\temp\Temporary ASP.NET Files\root\cafab9ab\56553b81\App_Web_realestatemaster.master.c7406139.1iso56f8.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.DataSetExtensions\v4.0_4.0.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.DynamicData\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.DynamicData.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Mobile\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Web\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activities.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.WorkflowServices\v4.0_4.0.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /out:"D:\temp\Temporary ASP.NET Files\root\cafab9ab\56553b81\App_Web_jgq3lvx5.dll" /D:DEBUG /debug+ /optimize- /win32res:"D:\temp\Temporary ASP.NET Files\root\cafab9ab\56553b81\jgq3lvx5.res" /w:4 /nowarn:1659;1699;1701;612;618 /warnaserror- "D:\temp\Temporary ASP.NET Files\root\cafab9ab\56553b81\App_Web_jgq3lvx5.8.cs" "D:\temp\Temporary ASP.NET Files\root\cafab9ab\56553b81\App_Web_jgq3lvx5.9.cs" "D:\temp\Temporary ASP.NET Files\root\cafab9ab\56553b81\App_Web_jgq3lvx5.6.cs" "D:\temp\Temporary ASP.NET Files\root\cafab9ab\56553b81\App_Web_jgq3lvx5.7.cs" "D:\temp\Temporary ASP.NET Files\root\cafab9ab\56553b81\App_Web_jgq3lvx5.4.cs" "D:\temp\Temporary ASP.NET Files\root\cafab9ab\56553b81\App_Web_jgq3lvx5.5.cs" "D:\temp\Temporary ASP.NET Files\root\cafab9ab\56553b81\App_Web_jgq3lvx5.2.cs" "D:\temp\Temporary ASP.NET Files\root\cafab9ab\56553b81\App_Web_jgq3lvx5.3.cs" "D:\temp\Temporary ASP.NET Files\root\cafab9ab\56553b81\App_Web_jgq3lvx5.0.cs" "D:\temp\Temporary ASP.NET Files\root\cafab9ab\56553b81\App_Web_jgq3lvx5.1.cs" "D:\temp\Temporary ASP.NET Files\root\cafab9ab\56553b81\App_Web_jgq3lvx5.10.cs" "D:\temp\Temporary ASP.NET Files\root\cafab9ab\56553b81\App_Web_jgq3lvx5.11.cs" "D:\temp\Temporary ASP.NET Files\root\cafab9ab\56553b81\App_Web_jgq3lvx5.12.cs"
Microsoft (R) Visual C# Compiler version 4.0.30319.17929
for Microsoft (R) .NET Framework 4.5
Copyright (C) Microsoft Corporation. All rights reserved.
e:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx.cs(20,24): error CS0234: The type or namespace name 'propuserlogincls' does not exist in the namespace 'RealEstate' (are you missing an assembly reference?)
e:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx.cs(20,75): error CS0234: The type or namespace name 'propuserlogincls' does not exist in the namespace 'RealEstate' (are you missing an assembly reference?)
e:\kunden\homepages\26\d119670768\www\RealEstate\PropertyEdit.aspx.cs(194,28): error CS0234: The type or namespace name 'Admincls' does not exist in the namespace 'RealEstate' (are you missing an assembly reference?)
e:\kunden\homepages\26\d119670768\www\RealEstate\PropertyEdit.aspx.cs(194,62): error CS0234: The type or namespace name 'Admincls' does not exist in the namespace 'RealEstate' (are you missing an assembly reference?)
e:\kunden\homepages\26\d119670768\www\RealEstate\PropertyEdit.aspx.cs(235,24): error CS0234: The type or namespace name 'Admincls' does not exist in the namespace 'RealEstate' (are you missing an assembly reference?)
e:\kunden\homepages\26\d119670768\www\RealEstate\PropertyEdit.aspx.cs(235,58): error CS0234: The type or namespace name 'Admincls' does not exist in the namespace 'RealEstate' (are you missing an assembly reference?)
Microsoft (R) Visual C# Compiler version 4.0.30319.17929
for Microsoft (R) .NET Framework 4.5
Copyright (C) Microsoft Corporation. All rights reserved.
e:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx.cs(20,24): error CS0234: The type or namespace name 'propuserlogincls' does not exist in the namespace 'RealEstate' (are you missing an assembly reference?)
e:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx.cs(20,75): error CS0234: The type or namespace name 'propuserlogincls' does not exist in the namespace 'RealEstate' (are you missing an assembly reference?)
e:\kunden\homepages\26\d119670768\www\RealEstate\PropertyEdit.aspx.cs(194,28): error CS0234: The type or namespace name 'Admincls' does not exist in the namespace 'RealEstate' (are you missing an assembly reference?)
e:\kunden\homepages\26\d119670768\www\RealEstate\PropertyEdit.aspx.cs(194,62): error CS0234: The type or namespace name 'Admincls' does not exist in the namespace 'RealEstate' (are you missing an assembly reference?)
e:\kunden\homepages\26\d119670768\www\RealEstate\PropertyEdit.aspx.cs(235,24): error CS0234: The type or namespace name 'Admincls' does not exist in the namespace 'RealEstate' (are you missing an assembly reference?)
e:\kunden\homepages\26\d119670768\www\RealEstate\PropertyEdit.aspx.cs(235,58): error CS0234: The type or namespace name 'Admincls' does not exist in the namespace 'RealEstate' (are you missing an assembly reference?)
- #pragma checksum "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5A55E9993134278D29545E3D8346C748D1045619"
- //------------------------------------------------------------------------------
- //
- // This code was generated by a tool.
- // Runtime Version:4.0.30319.18052
- //
- // Changes to this file may cause incorrect behavior and will be lost if
- // the code is regenerated.
- //
- //------------------------------------------------------------------------------
- namespace RealEstate
- {
- public partial class UserLogin : System.Web.SessionState.IRequiresSessionState
- {
- #line 26 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- protected global::System.Web.UI.WebControls.TextBox txt_email;
- #line default
- #line hidden
- #line 27 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- protected global::System.Web.UI.WebControls.RequiredFieldValidator RFVtxtemail;
- #line default
- #line hidden
- #line 30 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- protected global::System.Web.UI.WebControls.RegularExpressionValidator RegExptxtEmailId;
- #line default
- #line hidden
- #line 39 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- protected global::System.Web.UI.WebControls.TextBox txt_password;
- #line default
- #line hidden
- #line 40 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- protected global::System.Web.UI.WebControls.RequiredFieldValidator RFVtxtpwd;
- #line default
- #line hidden
- #line 47 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- protected global::System.Web.UI.WebControls.Button btnPropUserLogin;
- #line default
- #line hidden
- #line 51 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- protected global::System.Web.UI.WebControls.ValidationSummary ValidationSummary1;
- #line default
- #line hidden
- #line 56 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- protected global::System.Web.UI.WebControls.Label lblErroMsg;
- #line default
- #line hidden
- protected System.Web.Profile.DefaultProfile Profile
- {
- get
- {
- return ((System.Web.Profile.DefaultProfile)(this.Context.Profile));
- }
- }
- protected System.Web.HttpApplication ApplicationInstance
- {
- get
- {
- return ((System.Web.HttpApplication)(this.Context.ApplicationInstance));
- }
- }
- }
- }
- namespace ASP
- {
- #line 2 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- using System.Web.UI.WebControls.Expressions;
- #line default
- #line hidden
- #line 413 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
- using System.Collections;
- #line default
- #line hidden
- #line 422 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
- using System.Text;
- #line default
- #line hidden
- #line 2 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- using System.Web.UI;
- #line default
- #line hidden
- #line 415 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
- using System.Collections.Generic;
- #line default
- #line hidden
- #line 421 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
- using System.Linq;
- #line default
- #line hidden
- #line 1 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- using ASP;
- #line default
- #line hidden
- #line 428 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
- using System.Web.SessionState;
- #line default
- #line hidden
- #line 419 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
- using System.Configuration;
- #line default
- #line hidden
- #line 424 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
- using System.Web;
- #line default
- #line hidden
- #line 2 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- using System.Web.DynamicData;
- #line default
- #line hidden
- #line 425 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
- using System.Web.Caching;
- #line default
- #line hidden
- #line 430 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
- using System.Web.Profile;
- #line default
- #line hidden
- #line 418 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
- using System.ComponentModel.DataAnnotations;
- #line default
- #line hidden
- #line 2 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- using System.Web.UI.WebControls;
- #line default
- #line hidden
- #line 429 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
- using System.Web.Security;
- #line default
- #line hidden
- #line 412 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
- using System;
- #line default
- #line hidden
- #line 2 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- using System.Web.UI.WebControls.WebParts;
- #line default
- #line hidden
- #line 423 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
- using System.Text.RegularExpressions;
- #line default
- #line hidden
- #line 416 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
- using System.Collections.Specialized;
- #line default
- #line hidden
- #line 436 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
- using System.Xml.Linq;
- #line default
- #line hidden
- #line 434 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
- using System.Web.UI.HtmlControls;
- #line default
- #line hidden
- [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
- public class realestate_userlogin_aspx : global::RealEstate.UserLogin, System.Web.IHttpHandler
- {
- private static bool @__initialized;
- private static object @__stringResource;
- private static object @__fileDependencies;
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public realestate_userlogin_aspx()
- {
- string[] dependencies;
- #line 912304 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx.cs"
- ((global::System.Web.UI.Page)(this)).AppRelativeVirtualPath = "~/RealEstate/UserLogin.aspx";
- #line default
- #line hidden
- if ((global::ASP.realestate_userlogin_aspx.@__initialized == false))
- {
- global::ASP.realestate_userlogin_aspx.@__stringResource = this.ReadStringResource();
- dependencies = new string[4];
- dependencies[0] = "~/RealEstate/UserLogin.aspx";
- dependencies[1] = "~/RealEstate/RealEstateMaster.Master";
- dependencies[2] = "~/RealEstate/RealEstateMaster.master.cs";
- dependencies[3] = "~/RealEstate/UserLogin.aspx.cs";
- global::ASP.realestate_userlogin_aspx.@__fileDependencies = this.GetWrappedFileDependencies(dependencies);
- global::ASP.realestate_userlogin_aspx.@__initialized = true;
- }
- this.Server.ScriptTimeout = 30000000;
- }
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- private void @__BuildControlContent1(System.Web.UI.Control @__ctrl)
- {
- System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
- #line 2 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
- #line default
- #line hidden
- }
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- private global::System.Web.UI.WebControls.TextBox @__BuildControltxt_email()
- {
- global::System.Web.UI.WebControls.TextBox @__ctrl;
- #line 26 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl = new global::System.Web.UI.WebControls.TextBox();
- #line default
- #line hidden
- this.txt_email = @__ctrl;
- @__ctrl.TemplateControl = this;
- @__ctrl.ApplyStyleSheetSkin(this);
- #line 26 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl.ID = "txt_email";
- #line default
- #line hidden
- return @__ctrl;
- }
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- private global::System.Web.UI.WebControls.RequiredFieldValidator @__BuildControlRFVtxtemail()
- {
- global::System.Web.UI.WebControls.RequiredFieldValidator @__ctrl;
- #line 27 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl = new global::System.Web.UI.WebControls.RequiredFieldValidator();
- #line default
- #line hidden
- this.RFVtxtemail = @__ctrl;
- @__ctrl.TemplateControl = this;
- @__ctrl.ApplyStyleSheetSkin(this);
- #line 27 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl.ID = "RFVtxtemail";
- #line default
- #line hidden
- #line 27 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl.ControlToValidate = "txt_email";
- #line default
- #line hidden
- #line 27 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl.ErrorMessage = "Please Enter Your EmailId";
- #line default
- #line hidden
- #line 27 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl.ForeColor = global::System.Drawing.Color.Red;
- #line default
- #line hidden
- System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
- #line 27 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("*"));
- #line default
- #line hidden
- return @__ctrl;
- }
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- private global::System.Web.UI.WebControls.RegularExpressionValidator @__BuildControlRegExptxtEmailId()
- {
- global::System.Web.UI.WebControls.RegularExpressionValidator @__ctrl;
- #line 30 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl = new global::System.Web.UI.WebControls.RegularExpressionValidator();
- #line default
- #line hidden
- this.RegExptxtEmailId = @__ctrl;
- @__ctrl.TemplateControl = this;
- @__ctrl.ApplyStyleSheetSkin(this);
- #line 30 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl.ID = "RegExptxtEmailId";
- #line default
- #line hidden
- #line 30 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl.ControlToValidate = "txt_email";
- #line default
- #line hidden
- #line 30 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl.ErrorMessage = "Please Enter valid Email address";
- #line default
- #line hidden
- #line 30 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl.ForeColor = global::System.Drawing.Color.Red;
- #line default
- #line hidden
- #line 30 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl.ValidationExpression = "\\w+([-+.\']\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*";
- #line default
- #line hidden
- System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
- #line 30 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("*"));
- #line default
- #line hidden
- return @__ctrl;
- }
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- private global::System.Web.UI.WebControls.TextBox @__BuildControltxt_password()
- global::System.Web.UI.WebControls.TextBox @__ctrl;
- #line 39 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl = new global::System.Web.UI.WebControls.TextBox();
- #line default
- #line hidden
- this.txt_password = @__ctrl;
- @__ctrl.TemplateControl = this;
- @__ctrl.ApplyStyleSheetSkin(this);
- #line 39 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl.ID = "txt_password";
- #line default
- #line hidden
- #line 39 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl.TextMode = global::System.Web.UI.WebControls.TextBoxMode.Password;
- #line default
- #line hidden
- return @__ctrl;
- }
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- private global::System.Web.UI.WebControls.RequiredFieldValidator @__BuildControlRFVtxtpwd()
- {
- global::System.Web.UI.WebControls.RequiredFieldValidator @__ctrl;
- #line 40 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl = new global::System.Web.UI.WebControls.RequiredFieldValidator();
- #line default
- #line hidden
- this.RFVtxtpwd = @__ctrl;
- @__ctrl.TemplateControl = this;
- @__ctrl.ApplyStyleSheetSkin(this);
- #line 40 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl.ID = "RFVtxtpwd";
- #line default
- #line hidden
- #line 40 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl.ControlToValidate = "txt_password";
- #line default
- #line hidden
- #line 40 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl.ErrorMessage = "Please Enter your password";
- #line default
- #line hidden
- #line 40 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl.ForeColor = global::System.Drawing.Color.Red;
- #line default
- #line hidden
- System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
- #line 40 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("*"));
- Line 449:
- #line default
- #line hidden
- return @__ctrl;
- }
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- private global::System.Web.UI.WebControls.Button @__BuildControlbtnPropUserLogin()
- {
- global::System.Web.UI.WebControls.Button @__ctrl;
- #line 47 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl = new global::System.Web.UI.WebControls.Button();
- #line default
- #line hidden
- this.btnPropUserLogin = @__ctrl;
- @__ctrl.TemplateControl = this;
- @__ctrl.ApplyStyleSheetSkin(this);
- #line 47 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl.ID = "btnPropUserLogin";
- #line default
- #line hidden
- #line 47 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl.Text = "Login";
- #line default
- #line hidden
- #line 47 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl.Click += new System.EventHandler(this.btnPropUserLogin_Click);
- #line default
- #line hidden
- return @__ctrl;
- }
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- private global::System.Web.UI.WebControls.ValidationSummary @__BuildControlValidationSummary1()
- {
- global::System.Web.UI.WebControls.ValidationSummary @__ctrl;
- #line 51 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl = new global::System.Web.UI.WebControls.ValidationSummary();
- #line default
- #line hidden
- this.ValidationSummary1 = @__ctrl;
- @__ctrl.TemplateControl = this;
- @__ctrl.ApplyStyleSheetSkin(this);
- #line 51 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl.ID = "ValidationSummary1";
- #line default
- #line hidden
- #line 51 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl.ShowMessageBox = true;
- #line default
- #line hidden
- #line 51 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl.ShowSummary = false;
- #line default
- #line hidden
- return @__ctrl;
- }
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- private global::System.Web.UI.WebControls.Label @__BuildControllblErroMsg()
- {
- global::System.Web.UI.WebControls.Label @__ctrl;
- #line 56 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl = new global::System.Web.UI.WebControls.Label();
- #line default
- #line hidden
- this.lblErroMsg = @__ctrl;
- @__ctrl.TemplateControl = this;
- @__ctrl.ApplyStyleSheetSkin(this);
- #line 56 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl.ID = "lblErroMsg";
- #line default
- #line hidden
- #line 56 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl.ForeColor = global::System.Drawing.Color.Red;
- #line default
- #line hidden
- return @__ctrl;
- }
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- private void @__BuildControlContent2(System.Web.UI.Control @__ctrl)
- {
- System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
- #line 4 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__parser.AddParsedSubObject(this.CreateResourceBasedLiteralControl(19657, 1106, true));
- #line default
- #line hidden
- global::System.Web.UI.WebControls.TextBox @__ctrl1;
- #line 4 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl1 = this.@__BuildControltxt_email();
- #line default
- #line hidden
- #line 4 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__parser.AddParsedSubObject(@__ctrl1);
- #line default
- #line hidden
- #line 4 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n "));
- #line default
- #line hidden
- global::System.Web.UI.WebControls.RequiredFieldValidator @__ctrl2;
- #line 4 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl2 = this.@__BuildControlRFVtxtemail();
- #line default
- #line hidden
- #line 4 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__parser.AddParsedSubObject(@__ctrl2);
- #line default
- #line hidden
- #line 4 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n "));
- #line default
- #line hidden
- global::System.Web.UI.WebControls.RegularExpressionValidator @__ctrl3;
- #line 4 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl3 = this.@__BuildControlRegExptxtEmailId();
- #line default
- #line hidden
- #line 4 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__parser.AddParsedSubObject(@__ctrl3);
- #line default
- #line hidden
- #line 4 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__parser.AddParsedSubObject(this.CreateResourceBasedLiteralControl(20763, 291, true));
- #line default
- #line hidden
- global::System.Web.UI.WebControls.TextBox @__ctrl4;
- #line 4 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl4 = this.@__BuildControltxt_password();
- #line default
- #line hidden
- #line 4 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__parser.AddParsedSubObject(@__ctrl4);
- #line default
- #line hidden
- #line 4 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n "));
- #line default
- #line hidden
- global::System.Web.UI.WebControls.RequiredFieldValidator @__ctrl5;
- #line 4 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl5 = this.@__BuildControlRFVtxtpwd();
- #line default
- #line hidden
- #line 4 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__parser.AddParsedSubObject(@__ctrl5);
- #line default
- #line hidden
- #line 4 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__parser.AddParsedSubObject(this.CreateResourceBasedLiteralControl(21054, 308, true));
- #line default
- #line hidden
- global::System.Web.UI.WebControls.Button @__ctrl6;
- #line 4 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl6 = this.@__BuildControlbtnPropUserLogin();
- #line default
- #line hidden
- #line 4 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__parser.AddParsedSubObject(@__ctrl6);
- #line default
- #line hidden
- #line 4 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n
\r\n " + - " "));
- #line default
- #line hidden
- global::System.Web.UI.WebControls.ValidationSummary @__ctrl7;
- #line 4 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl7 = this.@__BuildControlValidationSummary1();
- #line default
- #line hidden
- #line 4 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__parser.AddParsedSubObject(@__ctrl7);
- #line default
- #line hidden
- #line 4 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n \r\n \r\n " +
- " \r\n "));
- #line default
- #line hidden
- global::System.Web.UI.WebControls.Label @__ctrl8;
- #line 4 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__ctrl8 = this.@__BuildControllblErroMsg();
- #line default
- #line hidden
- #line 4 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__parser.AddParsedSubObject(@__ctrl8);
- #line default
- #line hidden
- #line 4 "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx"
- @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\r\n
\r\n
Riyaz AkhtarPosted Aug 7, 2013, 5:56 AM
This issue seems deployment issue.
Can you please clean your project solution and re-build and deploy.
t SandyReddyPosted Aug 7, 2013, 5:46 AM
Thanks to reply,
I had removed that namespace from my website then hosted into live environment at the time also i am getting same error.
Please give me a suggestion to resolve this problem.
Regrads
Sandy
Iftikar HussainPosted Aug 7, 2013, 5:28 AM
protected void btnPropUserLogin_Click(object sender, EventArgs e)
{
propuserlogincls propuserloginObj = new propuserlogincls();
Regards,
Iftikar
t SandyReddyPosted Aug 7, 2013, 5:13 AM
Thanks to reply,
propuserlogincls class code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
namespace RealEstate
{
public class propuserlogincls
{
private string emailId;
public string EmailId
{
get { return emailId; }
set { emailId = value; }
}
private string password;
public string Password
{
get { return password; }
set { password = value; }
}
public string getlogintypeforRole()
{
SqlConnection con = new SqlConnection();
con.ConnectionString = ConfigurationManager.ConnectionStrings["userCon"].ConnectionString;
SqlCommand cmd = new SqlCommand();
cmd.Connection = con;
SqlDataAdapter da = new SqlDataAdapter("select * from tbl_propuser_Login where email='" + EmailId + "' and password='" + Password + "'", con);
DataSet ds = new DataSet();
da.Fill(ds);
if (ds.Tables[0].Rows.Count > 0)
return ds.Tables[0].Rows[0]["role"].ToString();
else
return "";
}
}
}
Iftikar HussainPosted Aug 7, 2013, 5:06 AM
propuserlogincls
Regards,
Iftikar
t SandyReddyPosted Aug 7, 2013, 4:53 AM
Thanks to reply,
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using RealEstate;
namespace RealEstate
{
public partial class UserLogin : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void btnPropUserLogin_Click(object sender, EventArgs e)
{
RealEstate.propuserlogincls propuserloginObj = new RealEstate.propuserlogincls();
propuserloginObj.EmailId = txt_email.Text;
propuserloginObj.Password = txt_password.Text;
string Role = propuserloginObj.getlogintypeforRole();
if (Role == "Admin")
{
Session["UserName"] = txt_email.Text;
Session["Password"] = txt_password.Text;
Response.Redirect("Admin.aspx?id=akfk4GHadminKglkj");
}
else if (Role == "InvidualUser")
{
Session["UserName"] = txt_email.Text;
Session["Password"] = txt_password.Text;
Response.Redirect("Admin.aspx?id=bghshgKHdhg6induserKusde");
}
else if (txt_email.Text == "[email protected]" && txt_password.Text == "sandy007")
{
Session["UserName"] = txt_email.Text;
Response.Redirect("Adminpage.aspx?a=SpA");
}
else
{
lblErroMsg.Text = "Invalid Username or Password ";
}
}
}
}
Iftikar HussainPosted Aug 7, 2013, 3:21 AM
Regards,
Iftikar
t SandyReddyPosted Aug 7, 2013, 3:07 AM
Thanks to reply,
propuserlogincls is a class.
Regards,
Sandy
Iftikar HussainPosted Aug 7, 2013, 12:24 AM
What is propuserlogincls? Is it a UserControl or class? Can you please share the code?
Regards,
Iftikar
kiranPosted Aug 6, 2013, 3:21 PM