Skip to Content
avatar image
Former Member

.NET Server for SAP Business One License Server API don't work

hi,

there is a sample on the sdn-network which describe how to fetch license informations.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b01cdd9c-b656-2910-2cb1-a6444cfbef47

The TWBSLicenseClient project don't work. There is always an execption thrown:

'System.Reflection.TargetInvocationException' occurred in mscorlib.dll

can anybody help me?

1. The service on server is running

2. the corba brige is registered as server

3. the Twbslicenseclient don't work on client side and not on server side

I'm using SAP Business One 2005A SP01 PL27

and Visual Studio 2005 (.net framework 2)

thanks

Markus

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 30, 2007 at 11:37 AM

    Hi Markus,

    I suggest that you "catch" the exception - and check the message that comes with it.

    It didn't work for me as well - and the reason was that the port (which is hard-coded in the sample code) wasn't open on my machine; I tried another one - and that worked fine...

    HTH,

    Frank

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Markus,

      Just to clarify that first:

      Anything you get here on SDN doesn't fall into the scope of the formal / regular support - unless stated otherwise.

      Especially code samples uploaded by externals...

      Anyway - and sorry that I didn't have the time / missed to follow up with your problem...

      ...I still wonder what you did (or not) to isolate the problem?

      - I understand that you installed the Com2Corba license bridge and the .NET service on the same system where the B1 license service is installed???

      - Did you check (e.g. debug on <b>both</b> sides) whether the connection to the .NET service is established successfully?

      - If not there must be sth "wrong" with your .NET installation - or the network configuration / ports ("beginners idea": maybe the port is used by "sth else"?)?!

      - I am not having any issue with the sample (after changing the port number (of course in the service + the client) to a port which I knew it would work on my system (I think 4334).

      - BTW: Did you use the installer from SDN to install the bridge?

      Sorry, but I think there's actually not much that can be "wrong "in the bridge or the .NET service sample; I tend to suggest that you check the situation on another system.

      Regards,

      Frank

      Message was edited by:

      Frank Moebius