At the following you see a snippet from my LAPI .NET code.
I am using Livelink Enterprise Server 9.7.1
The programm is written in visual basic .net using .net runtime 4.0.
Public Function getEnterpriseWorkspace() As ll_node
LLErr = False
LLErrMsg = ""
Dim node As ll_node = New ll_node
Try
Dim ewsInfo As LLValue = New LLValue
Dim DAPISession As LAPI_DOCUMENTS = New LAPI_DOCUMENTS(Me.session)
DAPISession.AccessEnterpriseWS(ewsInfo)
node.VolumeID = ewsInfo.toInteger("VolumeID")
node.ObjectID = ewsInfo.toInteger("ID")
node.Name = ewsInfo.toString("Name")
node.Subtype = ewsInfo.toInteger("SubType")
LLErr = False
Return node
Catch ex As System.Exception
LLErr = True
LLErrMsg = ex.Message
Return Nothing
End Try
End Function
DAPISession.AccessEnterpriseWS(ewsInfo) throws the message: "The type initializer for 'java.util.Locale' threw an exception."
The connection seems to be established, since there came no error from the function
What must be done to solve that problem?
Thanks ahead
Mathias