Invalid Server License

Answered
0
0
When I publish web site to IIS on a Server 2012R2, the machine cannot access the internet, I have copy the wisej-server.lic to the project root directory which same location as web.config and it show below error message. Could you please help to take a look. Thanks!
Invalid server license
Status: Invalid
Expiration:-
  • You must to post comments
Great Answer
0
0

Hi Ben,

we discussed this internally and will change it as following (WJ-8299):

PerformClick is always executed when coming from the server side and only if the button (radio/check/menu item) is visible & enabled from the client side.

The change will be in the next Wisej build.

Best regards
Frank

  • Ben
    • Ben
    • Jun 20, 2017 - 3:10 pm
    Hi Frank, Thanks a lot for help. Ben
  • You must to post comments
0
0

After update to Wisej-1.4.24, the invalid license popup show again, please kindly help, thank you.

— previous problem —

When I publish web site to IIS on a Server 2012R2, the machine cannot access the internet, I have copy the wisej-server.lic to the project root directory which same location as web.config and it show below error message. Could you please help to take a look. Thanks!

— previous problem —

Attachment
  • You must to post comments
0
0

Hi Ben,

WJ-8299 is included in Wisej build 1.3.82.

Best regards
Frank

  • You must to post comments
0
0

Hi Ben,
thanks for sharing more details. What you observe is not a bug but rather a feature.

Let me explain in more detail:

PerformClick for a button is only executed when the button is enabled and visible. It´s basically the same in WinForms.
So if the button is in a form or on a tab page that is not visible, then PerformClick does not work.
It´s by design and it prevents JavaScript Code from clicking disabled or inivisble Buttons and potentially executing Code
that is not supposed to be executed.
If your app needs to execute a method simply call that method or handler directly. Otherwise letting disabled or inivisble
buttons execute clicks is a vulnearbility.

Hope that helps.

Best regards
Frank

  • You must to post comments
0
0

Hi Frank,

  1. dynamic create new tab page and add a new form into new tab page’s controls at runtime.
  2. assign button click event of new new form.
  3. performclick this button when others button clicked .
  4. ShowDocumentView and ShowListView was not trigger.

‘—————–

AddHandler lv.ButtonDV.Click, Function(sender, x) ShowDocumentView(lv)
AddHandler lv.ButtonLV.Click, Function(sender, x) ShowListView(lv)

‘—————–

Private Sub ButtonListView_Click(sender As Object, e As EventArgs) Handles ButtonListView.Click
Dim selectedTab As TabPage = TabControlMain.SelectedTab
If Me.Controls.Find(String.Format(“ButtonLV_{0}”, objectKey(selectedTab)), True).Count > 0 Then
Dim buttonLV As Wisej.Web.Button = Me.Controls.Find(String.Format(“ButtonLV_{0}”, objectKey(selectedTab)), True)(0)
If buttonLV.Enabled Then buttonLV.PerformClick()
End If
End Sub

‘—————–

Private Function ShowListView(Optional lv As ListViewer3 = Nothing)
If lv Is Nothing Then
Dim selectedTab As TabPage = TabControlMain.SelectedTab
lv = selectedTab.Controls.Find(“ListViewer3”, True)(0)
End If

lv.viewMode = “L”

SplitContainerHideShowDocumentList.Panel1Collapsed = True
PictureBoxNavigationTree_Refresh()

‘ButtonPrint.Visible = False
lv.ButtonLV.Enabled = Not (lv.viewMode = “L”)
lv.ButtonDV.Enabled = Not (lv.viewMode = “D”)

lv.DataGridViewDocDetail.Visible = True
lv.TableLayoutPanelPreview.Visible = False

ButtonSelect.Visible = (lv.viewMode = “L”)
ButtonListView.Enabled = (lv.viewMode = “D”)
ButtonDocumentView.Enabled = (lv.viewMode = “L”)

lv.TableLayoutPanel1.Visible = False
lv.TableLayoutPanel2.Visible = False
lv.TableLayoutPanel4.Visible = False
lv.TableLayoutPanel8.Visible = False

TableLayoutPanelNavigationTree.Visible = True
TableLayoutPanelDocumentList.Visible = False

Dim selectedRow As DataGridViewRow = Nothing
If lv.DataGridViewDocDetail.Rows.Count > 0 AndAlso Me.DataGridViewDocList.CurrentRow IsNot Nothing Then
selectedRow = SearchDGV(lv.DataGridViewDocDetail, “ID”, Me.DataGridViewDocList.CurrentRow.Cells(“ID”).Value)
End If

‘select related row
If selectedRow IsNot Nothing AndAlso selectedRow.Cells(“Document Name”).Visible Then
selectedRow.Selected = True
If selectedRow.Cells(“Form ID”).Visible Then lv.DataGridViewDocDetail.CurrentCell = selectedRow.Cells(“Form ID”)
If selectedRow.Cells(“Document Name”).Visible Then lv.DataGridViewDocDetail.CurrentCell = selectedRow.Cells(“Document Name”)
Application.Update(Me)
Else
If lv.DataGridViewDocDetail.Rows.Count > 0 Then
lv.DataGridViewDocDetail.Rows(0).Selected = True
If lv.DataGridViewDocDetail.Rows(0).Cells(“Form ID”).Visible Then lv.DataGridViewDocDetail.CurrentCell = lv.DataGridViewDocDetail.Rows(0).Cells(“Form ID”)
If lv.DataGridViewDocDetail.Rows(0).Cells(“Document Name”).Visible Then lv.DataGridViewDocDetail.CurrentCell = lv.DataGridViewDocDetail.Rows(0).Cells(“Document Name”)
Application.Update(Me)
End If
End If

Return True
End Function

  • You must to post comments
0
0

Hi,

PerformClick seem not function in Wisej-1.3.71 DEVELOPMENT BUILDS

Ben

  • Frank (ITG)
    Hi Ben, can you please share some more details about this ? TIA Frank
  • You must to post comments
0
0

Hi Ben,

The license is validated over a standard http request on 80. The problem is that wisej tries to update the .lic file when it’s moved to a different server. It should either update it or accept it if there is no internet connection or the connection fails. Instead when there it no connection it reverts to an invalid license.

It’s a bug that is fixed and we receive the confirmation from another developer with the same issue that it works now for them.

Best,

Luca

  • Ben
    • Ben
    • Jun 9, 2017 - 2:18 pm
    Hi Luca, Thanks a lot. I’ve try and found the problem was fixed in Wisej-1.3.71 DEVELOPMENT BUILDS, but some minor bugs found start from 1.3.69 and 1.3.71, looking for the RELEASES VERSION Regards, Ben
  • Luca (ITG)
    Please send the issues you found to support@wisej.com. We are finalizing this release and would like to avoid regressions as much as possible, There are many new features in this release.
  • You must to post comments
0
0

Hi Frank,

I try to find way out from this problem by move a VM which already run on my notebook without “invalid license” pop up to client’s EXSI server which run with firewall blocked some port (machine can touch internet and ping wisej.com throught proxy server), “invalid license” pop up after page loading for 20-30 sec.

Just want to know anything that I can do to solve this problem before receive Wisej next release (e.g. any port I need to open for validate wisej license).

Thanks

Ben

  • You must to post comments
0
0

Hi Ben,

sorry for the delay and thanks for providing further information.
We could finally track down and fix the problem.

It´s logged as WJ-8281 and the fix will be included in the next Wisej release.

Best regards
Frank

  • Ben
    • Ben
    • Jun 7, 2017 - 4:59 am
    Hi Frank, Thanks a lot. Regards, Ben
  • You must to post comments
0
0

Hi Frank,

I try on another VM machine, only work if I let it online, otherwise same invalid license error occur, but my client VM cannot online because of security reason, so how to make it work on a VM machine in a close private network ? Thanks a lot.

Ben

  • You must to post comments
0
0

Hi Ben,

Can you please send your wisej-server.lic to me at frank(at)iceteagroup.com so I can take a look ?

Thanks in advance.

Best regards
Frank

  • Ben
    • Ben
    • May 30, 2017 - 6:51 am
    Frank, Please check mail, thanks a lot. Kindly regards, Ben
  • Frank (ITG)
    Hi Ben, got it, checking. Thanks and best regards, Frank
  • Ben
    • Ben
    • Jun 2, 2017 - 8:58 am
    Hi Frank, Just want to know any update, thanks a lot.
  • You must to post comments
Showing 11 results
Your Answer

Please first to submit.