I saw RichMessageBoard is included with all DiscountASP.net webservers at no additional cost. How do I begin using it on my site?
I believe you're referring to this one? http://www.richercomponents.com/Components/RichMessageBoard/ If so, the license should be installed on your web server already, but to test it locally you have to download the demo. When you upload the application to your hosting account (including the trial DLL) it'll use the license on the server and work without problems.
Where does the DLL need to go when uploading the website? Do I need to create a folder to hold it or do I just upload the DLL as a regular file? If it needs to go into a special folder, will the website reference it's location correctly or do I need to point to the folder location when pasting in the reference on the specific web page using that control? Is there any documentation for using this control? There was non on the online documentation from Richer Components website. Thanks!!!
The DLL would have to be placed inside the BIN directory along with all the other DLLs associated with your site. Any documentation for this component would be from the developer of the DLL. You can try contacting them or visiting their forums for specific assistance.
...The on-line DOCs are still there, just hard to find. Go here: http://support.richercomponents.com/ Then expand the ASP.NET node on the left side. Next expand the node named RichMessageBoard and you will see the Getting Started tips. Yes all you have to do is drop the DLL in your sites root /bin/ folder. All the best, Mark
I set up the bin directory, dropped the dll inside, published and now get the following error message... Server Error in '/' Application. -------------------------------------------------------------------------------- Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load file or assembly 'RichMessageBoard3' or one of its dependencies. The system cannot find the file specified. Source Error: Line 1: <%@ Page Language="VB" EnableTheming="false" %> Line 2: <%@ Register Assembly="RichMessageBoard3" Namespace="RicherComponents.Controls.RichMessageBoardNS" TagPrefix="RMB" %> Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Line 4: <html xmlns="http://www.w3.org/1999/xhtml"> Source File: /SecureContent/Forum.aspx Line: 2 Assembly Load Trace: The following information can be helpful to determine why the assembly 'RichMessageBoard3' could not be loaded. WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.4016; ASP.NET Version:2.0.50727.4016
Ummmm, are you missing a section group in your web.config? <sectionGroup name="RicherComponents"> <section name="MessageBoard" type="RicherComponents.Controls.RichMessageBoardNS.Configuration.RMBConfiguration, RichMessageBoard1" allowLocation="true" allowDefinition="Everywhere" /> </sectionGroup>
...Are you using the proper assembly name? The one that is in your /bin/ folder... For example, this would be the section group: <sectionGroup name="RicherComponents"> <section name="MessageBoard" type="RicherComponents.Controls.RichMessageBoardNS.Configuration.RMBConfiguration, RichMessageBoard1" allowLocation="true" allowDefinition="Everywhere" /> </sectionGroup> This would be the assembly in the /bin/ : RichMessageBoard1.dll And this is an example of a way I'd test it in a page: <%@ Page Language="VB" EnableTheming="false" %> <%@ Register Assembly="RichMessageBoard1" Namespace="RicherComponents.Controls.RichMessageBoardNS" TagPrefix="RMB" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Example by Mark Wisecarver</title> </head> <body> <form id="form1" runat="server"> <div> <RMB:RichMessageBoard ID="RichMessageBoard1" runat="server" ConnectionString="Data Source=tcp:server.discountasp.net;Initial Catalog=test;User ID=test_user;Password=******;" TopicID="1" TopicSubject="My Test" AllowAnonymousPosts="True" Username="Anonymous" UserIsAdmin="False" RichTextBoxTheme="Transparent" EnableTheming="True" EnableViewState="False" /> </div> </form> </body> </html>
the only dll file I have is the following... RichASPNetSuite.dll Interestingly, I do not have the ability to "drag and drop" the tool inside Visual Studio...the control simply is not there. Reinstalling the entire suite...maybe my first go-around had a glitch... I'll try referencing using exactly the same code.
After reinstalling the Rich Component Suite, I was able to get everything semi-working. Question: What is the license code for the DiscountASP.Net? BTW...All of the code installed is different from the code above. There is no separate RichMessageBoard.dll file...it is the entire suite.
Here's what the code looks like...Note: because the license key = "", the control still does not function. A license key IS required. But the control installs and renders fine...just cannot do anything with it yet. Web Page: <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Forum.aspx.vb" Inherits="SecureContent_Forum" %> <%@ Register Assembly="RichASPNETSuite" Namespace="RicherComponents.ControlsV4.RichMessageBoardNS" TagPrefix="RMB" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>TruForum</title> </head> <body> <form id="form1" runat="server"> <div> <RMB:RichMessageBoard ID="RichMessageBoard1" runat="server" ConnectionString="Data Source={servername};Initial Catalog={database name};User ID={Userid};Password={password};" LicenseKey="" TopicID="1" /> </div> </form> </body> </html> Web.Config: <configuration> <configSections> <sectionGroup name="RicherComponents"> <!-- RichMessageBoard configuration section --> <section name="MessageBoard" type="RicherComponents.ControlsV4.RichMessageBoardNS.Configuration.RMBConfiguration, RichASPNETSuite" allowLocation="true" allowDefinition="Everywhere"/> </sectionGroup> </configSections> <RicherComponents> <MessageBoard connectionString="Data Source={servername};Initial Catalog={databasename};Persist Security Info=True;User ID={Username};Password={Password}" datasourceType="SQL" /> </RicherComponents> </configuration>
Anyone know how we get/install a valid license for this application? I cannot use it until I have a valid license.
Hate to dig this one up, but I am about to install this and have exactly the same question: How do I use the DiscountASP license key for this component ?
Not sure but I think if you still have the controls on an IIS6 server the license is on the server and will work, but from memory it doesn't exist on the IIS7 servers because that company went through some changes in the transition. I was doing some stuff for them, original company, and they cut those ties.
Thanks for the heads up. I emailed their support guys, so I'll wait to see what they come back with..... if anything.