Click here to Skip to main content
15,884,721 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello ,

My website is working properly in local system.
After production i am getting one error(this is coming when click on login page)
C#
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 18:         protected void btnPropUserLogin_Click(object sender, EventArgs e)
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


Show Detailed Compiler Output:



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?)


Show Complete Compilation Source:

Line 1:    #pragma checksum "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5A55E9993134278D29545E3D8346C748D1045619"
Line 2:    //------------------------------------------------------------------------------
Line 3:    // <auto-generated>
Line 4:    //     This code was generated by a tool.
Line 5:    //     Runtime Version:4.0.30319.18052
Line 6:    //
Line 7:    //     Changes to this file may cause incorrect behavior and will be lost if
Line 8:    //     the code is regenerated.
Line 9:    // </auto-generated>
Line 10:   //------------------------------------------------------------------------------
Line 11:   
Line 12:   namespace RealEstate {
Line 13:       
Line 14:       
Line 15:       public partial class UserLogin : System.Web.SessionState.IRequiresSessionState {
Posted
v2
Comments
ZurdoDev 6-Aug-13 9:50am    
It means you are missing a dll or the one on the server is different than the one in dev.

1 solution

I think it's pretty obvious. The namespace RealEstate doesn't have a class called propuserlogincls.

C# is case sensitive so you may be typing the name incorrectly.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 6-Aug-13 12:49pm    
Captain Obvious at work. 5ed.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900