Just need a better explaination.

Last post 06-28-2005, 11:33 AM by ASPRu. 7 replies.
Sort Posts: Previous Next
  •  06-27-2005, 1:10 PM 8050

    Just need a better explaination.

    Why when I change the second connection string to my database "Forums" i get this?
    Can't Find Config - DataProviderType
    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;
     
    But when it is set to the SamplePortle DB, it's fine. 
    I just want to connect to my DB. I have already built the tables in my DB with the cutechat SQL scripts.
     
     

    Step 4: Load and save the Cute Chat configuration file to the database


    Open the Tools/CuteChatConfig.exe. Type in the connection string, then click the load button. 

    In the User Adapter Type and Data Provider Type fields, you need to specify the full type name of the provider and the name of the assembly containing the provider implementation.

    Then click the "Save the configuration to the database" button.

    top

    Step 5: Modify web.config file and specify the Cute Chat Connection String Provider


    <appSettings>
    	<add key="CuteChat.ConnectionStringProvider" value="CuteChatControls.YourConnectionStringProvider,CuteChatControls" />
    </appSettings> 
    								

    And how or where do I grab the name of the provider. I have looked at DNN3 dataProvider in VB.net, but I can't seem to figure out what
    it's doing. Can I just modify that code slightly to work with my application.

    And when I modify the cute chat string, like above, what do you mean by YouconnectionStringProvider.

    Sorry, I'm a little new at this.
    Thanks!!!

    I'm sure I;ll have more questions to come.

    ASP

  •  06-27-2005, 1:17 PM 8051 in reply to 8050

    Re: Just need a better explaination.

  •  06-27-2005, 1:28 PM 8052 in reply to 8051

    Re: Just need a better explaination.

    No.  Not sure exactly how to do that? Do you have any documentation on that.  I have looked at the DDN3 dataprovider, but nnot sure what I can changeto make it work for mine
     
    Thanks
  •  06-27-2005, 3:38 PM 8067 in reply to 8052

    Re: Just need a better explaination.

    If you are using the CuteChat Standalone application, please follow the steps below:
     

    8. Open the Tools/CuteChatConfig.exe. Type in the connection string, then click the load button.
    9. Click the "load configuration file" button. In the open window, navigate to Tools\import-this.xml, and click the open.
     
    There is an article in the developer guide showing you how to create your own provider.
     
     

    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

  •  06-27-2005, 10:59 PM 8089 in reply to 8067

    Re: Just need a better explaination.

    Hi Adam!
     
    Thank you for your help. I'm a little closer.  I followed your instructions, everything works better. Then only thing now is, when I go to Chat ADMIN as logged in under an adaministrator, it tells me I'm not authorized to view this page.
    What do you thinkn?
     
    Thanks
  •  06-27-2005, 11:15 PM 8092 in reply to 8089

    Re: Just need a better explaination.

    This sounds bizarre.

    Can you put your site online? I have no idea now.

     
     

    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

  •  06-28-2005, 8:11 AM 8099 in reply to 8092

    Re: Just need a better explaination.

    Sorry, I'm unable to go online at this time. It works fine on the developer machine, I'm thinking I might be missing a file or something like that.  What pages should I look at?
  •  06-28-2005, 11:33 AM 8107 in reply to 8099

    Re: Just need a better explaination.

    Hello!
     
    Not sure what it was.  I decided to scrap everything , and start from scratch.  I admit, I made some mistakes, and wasn't sure how thngs would react, so my first install probably wasn't the cleanist. I tried alot of diffrent stuff.
    So now that I started from scratch, and everything works the way it should, I would like to tackle this customize login thing.
     
    I'm looking at the developers guide, and working off the example of DNN3 (since I'm working vb.net) and looking at the code for the DDN dataprovider class. So I have a couple questions.
     
    Will I harm anything bring the standalone project in my vs solution, and the fact I'm working in vb.net?
     
    Can I still build this dtatprovider in vb.net and will it work with the standalone app, or am I expected to write it in c#?
     
    Couldn't I basicly copy the DDN dataprovider class, and modify a cuple of things, but use that code as my base?
     
    Thanks!!!!
View as RSS news feed in XML