Can't Find Config - DataProviderType

  •  09-20-2005, 6:19 PM

    Can't Find Config - DataProviderType

    I am trying the example with my own database


    I have put the tables in to the db and I have run
    CuteChatConfig.exe and put my connection string in and loaded the example xml file and saved to the db - the rows have been inserted into the Chat_Config table

        Announcement    Welcome to Cute Chat
        ChannelSkins    Normal,MacWhite,MacBlue,Royale,Indigo,Classic
        DataProviderType    SamplePortal.CuteChatIntegration.DataProvider,SamplePortal
        Description    Cute Chat sample portal configuration

    When I login as admin I get the following error.


    Can't Find Config - DataProviderType

    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.Exception: Can't Find Config - DataProviderType

    Source Error:

    Line 56: 			
    Line 57: }
    Line 58: if( ChatWebUtility.CurrentIdentity.IsRegistered && ChatWebUtility.Api.IsAdministrator(ChatWebUtility.CurrentIdentity.UniqueName))
    Line 59: temp += "<a Class=\"menuTextLink\" href='CuteSoft_Client/CuteChat/Admin'>Chat Admin</a>";
    Line 60: WelcomeMessage.Text = temp;

    Source File: W:\cutechatstandalone\Web\TopBanner.ascx    Line: 58

    Stack Trace:

    [Exception: Can't Find Config - DataProviderType]
    CuteSoft.Chat.DataProvider.b(ai A_0) +265
    ai.g() +16
    CuteSoft.Chat.ChatApi.IsAdministrator(String useruniquename) +17
    CuteSoft.Chat.DynamicAssembly.ServiceLayerChatApiDecoratorProxy.IsAdministrator_InterceptedCall(String useruniquename) +79
    CuteSoft.Chat.DynamicAssembly.WebLayerChatApiDecoratorProxy.IsAdministrator_InterceptedCall(String useruniquename) +79
    ASP.TopBanner_ascx.Page_Load(Object sender, EventArgs e) in W:\cutechatstandalone\Web\TopBanner.ascx:58
    System.Web.UI.Control.OnLoad(EventArgs e) +67
    System.Web.UI.Control.LoadRecursive() +35
    System.Web.UI.Control.LoadRecursive() +98
    System.Web.UI.Control.LoadRecursive() +98
    System.Web.UI.Page.ProcessRequestMain() +750
View Complete Thread