How to integrate Cute Chat with ASP.NET project in Visual Studio?

Last post 02-20-2006, 12:24 PM by indiankarma.com. 1 replies.
Sort Posts: Previous Next
  •  02-20-2006, 2:18 AM 16128

    How to integrate Cute Chat with ASP.NET project in Visual Studio?

    I would like to integrate CuteChat into an existing ASP.NET website developed with Visual Studio. 
     
    I have downloaded the standalone.zip
    I put cutechat.lic and cutechat.messanger.lic into the /bin directory
    I put cutesoft.chat.dll and cutsoft.chatservice.dll into the /bin directory
    I added project references to the 2 dll's
    I added cutesoft_client and cutesoft_server folers into my Visual Studio project
    I ran the sql files to put the tables in my database
    I granted permission to all the database tables
    I added 2 lines to my web.config file

    <add key="SamplePortal.ConnectionStringProvider" value="SamplePortal.CuteChatIntegration.DataProvider,SamplePortal"></add>

    <add key="CuteChat.sqlclient.ConnectionString" value="server=orenco\orencosql;database=xxx;uid=yyy;pwd=zzz"></add> <!-- not real values -->
     
    I added a link to ../cutesoft_client/cutechat/admin/default.aspx
     
    When I click the link, I get the following error page on the browser
     
     

    Server Error in '/events' Application.

    Forbidden

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Web.HttpException: Forbidden

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [HttpException (0x80004005): Forbidden]
       CuteSoft.Chat.UI.ChatAdminPage.OnInit(EventArgs e) +110
       System.Web.UI.Control.InitRecursive(Control namingContainer) +241
       System.Web.UI.Page.ProcessRequestMain() +174
    


    Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
     
     
     
    I have read all the forum threads
    I have read the cutechatdeveloperguide.chm
    I believe I may need to write the following classes?
        ConnectionStringProvider
        DataProvider
        UserAdapter
     
    I also have a license issue.  When I compile my project the following messages is ouput.
     

    ------ Build started: Project: events, Configuration: Debug .NET ------

    Preparing resources...

    Updating references...

    Warning: The dependency 'CuteSoft.Chat, Version=2.0.0.0, Culture=neutral, PublicKeyToken=da0fc3a24b6f18ba' in project 'events' cannot be copied to the run directory because it would overwrite the reference 'CuteSoft.Chat, Version=2.1.0.0, Culture=neutral, PublicKeyToken=da0fc3a24b6f18ba'.

    Performing main compilation...

    Building satellite assemblies...

     

     

    ---------------------- Done ----------------------

    Build: 1 succeeded, 0 failed, 0 skipped
     
  •  02-20-2006, 12:24 PM 16145 in reply to 16128

    Re: How to integrate Cute Chat with ASP.NET project in Visual Studio?

    I am looking to do the same with my site IndianKarma.com. It seems there are lots of variables define in web.config and other config that I cannot change. Is There a way to do this? A reply would be great.

    Paul
    Post Hope
View as RSS news feed in XML