Problem in integration of cutechat with existing login system

Last post 06-22-2006, 1:35 AM by Adam. 1 replies.
Sort Posts: Previous Next
  •  06-21-2006, 4:24 AM 20349

    Problem in integration of cutechat with existing login system

    I have customized application, i want to integrate cutechat with my existing login system.
    as i followed all the information that given in help
    and
     
    Though, when application starts it gives error.
     
     

    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: CS0246: The type or namespace name 'UsersDB' could not be found (are you missing a using directive or an assembly reference?)

    Source Error:

    Line 31: 	public string GetUserDisplayName(string useruniquename)
    Line 32: 	{
    Line 33: 		UsersDB udb=new UsersDB();
    Line 34: 		string email=useruniquename;
    Line 35: 		using(SqlDataReader sdr=udb.GetSingleUser(email))

    Source File: http://localhost/chatapp/global.asax    Line: 33
     
    Is Global.ascx file is different for all application???
    What steps should follow to integrate it???
    I think there is something missing in help files.
     
    please help to resolve this problem.
     
    Thanks in advance
  •  06-22-2006, 1:35 AM 20386 in reply to 20349

    Re: Problem in integration of cutechat with existing login system

    The role of GetUserDisplayName is helping you get  user's display name based on the user's UniqueName.
     
     
    Before you get started, you need to understand the 'UniqueName' in CuteChat. In CuteChat, UniqueName means the unique data of your user. Depending on how you implement the user system, in some systems, the best unique data is the user ID; in some system, every user have a unique account name; some systems like MSN, the unique data is the user email. It could be string(username, email), integer(user ID) or GUID.
     
     
    You can just change it to:
     
    public string GetUserDisplayName(string useruniquename)
    {
       return useruniquename;
    }
     
    When you get comfortable with the integration part, then change the above code to something make sense to your system.
     

     

     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML