<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : [solved] System.InvalidOperationException, license</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Task Panel : [solved] System.InvalidOperationException, license]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 06:34:08 +0000</pubDate>
  <lastBuildDate>Fri, 28 Oct 2016 11:04:00 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=23170</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[[solved] System.InvalidOperationException, license : Hi Oleksandr,As I mentioned in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23170&amp;PID=75247&amp;title=solved-system-invalidoperationexception-license#75247</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1869">redoc</a><br /><strong>Subject:</strong> 23170<br /><strong>Posted:</strong> 28 October 2016 at 11:04am<br /><br />Hi Oleksandr,<div><br></div><div>As I mentioned in my post I did include the license information in the initialization of the form for the XtremeTaskPanel.TaskPanelGlobalSettings, exactly as it shows in the LIC file but that didn't resolve the problem.</div><div><br></div><div>I did hear from support at CodeJock this morning and they suggested including the LIC file in the same path as the OCX and that has resolved the problem.</div>]]>
   </description>
   <pubDate>Fri, 28 Oct 2016 11:04:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23170&amp;PID=75247&amp;title=solved-system-invalidoperationexception-license#75247</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] System.InvalidOperationException, license : Hello,I suppose that you forgot...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23170&amp;PID=75246&amp;title=solved-system-invalidoperationexception-license#75246</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23170<br /><strong>Posted:</strong> 28 October 2016 at 10:59am<br /><br />Hello,<br><br><div>I suppose that you forgot to include information about license. You can hardcode the first 3 lines of a <b>.LIC</b> file during either application initialization (Sub Main) or form initialization, it's important to make it before any other interaction with the component. Below is example for&nbsp;<span style="line-height: 16.8px;">CommandBars</span><span style="line-height: 1.4;">&nbsp;(VB.NET Code) from documentation:</span></div><div><table width="99%"><tr><td><pre class="BBcode">Public Sub New()</div><div><br></div><div>&nbsp; MyBase.New()</div><div><br></div><div>&nbsp; Dim CommandBarsSettings As _</div><div>&nbsp; &nbsp; XtremeCommandBars.CommandBarsGlobalSettingsClass = _</div><div>&nbsp; &nbsp; New XtremeCommandBars.CommandBarsGlobalSettingsClass</div><div><br></div><div>&nbsp; CommandBarsSettings.License = "CommandBars Control Copyright (c) " + _</div><div>&nbsp; "2003-2014 Codejock Software" + ControlChars.CrLf + "PRODUCT-ID: " + _</div><div>&nbsp; "Codejock.CommandBars.ActiveX.v16.3" + ControlChars.CrLf + _</div><div>&nbsp; "VALIDATE-CODE: XXX-XXX-XXX-XXX"</div><div><br></div><div>&nbsp; 'This call is required by the Windows Form Designer.</div><div>&nbsp; InitializeComponent()</div><div><br></div><div>&nbsp; 'Add any initialization after the InitializeComponent() call</div><div>End Sub</pre></td></tr></table><br><div><br></div><div>You will need to provide the correct Product Id and Validate Code. This information can be found in the LIC file. The LIC file is located in the same location as the OCX file. By default, the location of the OCX and LIC file is the "..\Codejock Software\ActiveX\Xtreme Suite\Bin" for the Suite Pro installation. This code should be placed in the Form_Initialize event of the main form.&nbsp;</div><div><br></div><div>IMPORTANT: The LIC must match EXACTLY down to carriage returns, line feeds and CASE, this is one of the most common mistakes made when embedding license information. The other common mistake is to not replace the "X"'s in the sample code or not updating the license information when upgrading versions.</div><br>Or you need to copy .LIC file to application location.<br><br>Regards,<br>&nbsp;Oleksandr Lebed</div>]]>
   </description>
   <pubDate>Fri, 28 Oct 2016 10:59:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23170&amp;PID=75246&amp;title=solved-system-invalidoperationexception-license#75246</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] System.InvalidOperationException, license : I have a VB.NET project with single...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23170&amp;PID=75243&amp;title=solved-system-invalidoperationexception-license#75243</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1869">redoc</a><br /><strong>Subject:</strong> 23170<br /><strong>Posted:</strong> 27 October 2016 at 7:34am<br /><br />I have a VB.NET project with single form that contains a single Task Panel and no other controls or code, other than setting the&nbsp;XtremeTaskPanel.TaskPanelGlobalSettings to the information in my LIC file (based on a post that I read from the Articles and Tutorials page on this website) and I'm using a registered copy of the CodeJock products, v17.<div><br></div><div>When I run the compiled application on my development computer everything runs fine, but when I run it on any other computer whether it's 32bit or 64bit regardless of which OS it's running I receive a System.InvalidOperationException exception before the form ever loads. &nbsp;I've copied the Codejock.TaskPanel.v17.2.0.ocx file into the EXE path and registered it, as well as copying both the AxInterop.XtremeTaskPanel.dll and Interop.XtremeTaskPanel.dll files into the same path.&nbsp;</div><div><br></div><div>I assume I need to include some other files with the EXE but I'm not sure what they would be.</div>]]>
   </description>
   <pubDate>Thu, 27 Oct 2016 07:34:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23170&amp;PID=75243&amp;title=solved-system-invalidoperationexception-license#75243</guid>
  </item> 
 </channel>
</rss>