New version for sample project (LiveSupportWeb.sln) does not compile

Last post 11-09-2007, 10:08 PM by cutechat. 1 replies.
Sort Posts: Previous Next
  •  11-03-2007, 1:18 AM 34806

    New version for sample project (LiveSupportWeb.sln) does not compile

    I unpacked the new 4.0 version and opened the "web" folder in Visual Studio 2005. After conversion I compiled the project, however I get the the following 12 errors (all the same error):

    The name 'GlobalAsax' does not exist in the current context.

    This error appears on the following four pages:

    • Register.aspx
    • ManageUsers.aspx
    • ChangePassword.aspx
    • ManageAdministrators.aspx

    Note that there is not a "." in GlobalAsax

    I was able to successfully move the CuteSoft_Client folder into an existing website, modify my Global.asax, and get the Live Support Operator client to talk to the website and call GetUserInfo, but until the Live Support Operator admin user configured as an "Operator" in the database tables the Live Support operator will fail login.

    Without a compile-able administration interface I can't set up the admin user as a live operator.

    I would have gone directly into the tables to make an admin an operator, but the new table structure has changed significantly and it is not obvious what fields I should modify manually in the database to accomplish this.  

    Filed under:
  •  11-09-2007, 10:08 PM 34949 in reply to 34806

    Re: New version for sample project (LiveSupportWeb.sln) does not compile

    Hi,
    Please make sure , the first line of the Global.asax is :
    <%@ Application Language="C#" ClassName="GlobalAsax" %>
     
    If you still get such error , please open the Global.asax , and move the class code
     
    "public class ExampleProvider : ChatProvider { ... } "
     
    to a file into the ~/App_Code
     
    And then replace all "GlobalAsax.ExampleProvider" to "ExampleProvider"
     
    -----
     
    Is the GetUserInfo return right infor ? and can your admin account go to the admin console ?
    If not , please correct this function at first.
     
    The CuteChat4 will set the first admin as Operator automatically .
    You can use an admin account to login using LiveSupport windows console.
    And then add departments/agents by right click there .
     
    Regards , Terry .
     
     
View as RSS news feed in XML