Can't Find Config - DataProviderType

Last post 09-23-2005, 4:39 AM by mike963. 2 replies.
Sort Posts: Previous Next
  •  09-20-2005, 6:19 PM 10826

    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
  •  09-21-2005, 11:42 AM 10855 in reply to 10826

    Re: Can't Find Config - DataProviderType

    Your procedures look OK to me.
     
    It's strange...
     
    Can you check your web.config? Make sure the connection strings is correct there.
     
     

    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

  •  09-23-2005, 4:39 AM 10942 in reply to 10826

    Re: Can't Find Config - DataProviderType

    Thanks for the reply

    in web.config I have

          <add key="ConnectionString" value="packet size=4096;integrated security=SSPI;data source=(local);persist security info=False;initial catalog=mydb" />  

    which is my standard connectionstring I replaced it with

            <add key="ConnectionString" value="server=(local);database=mydb;integrated security=SSPI;" />

    and it is working

    Thanks

    Mike

View as RSS news feed in XML