I am trying to find a way to auto checkout licenses when microstation starts and autoi checkin licenses when microstation closes. Is there a script or variable or anything that can make this possible? I would greatly appreciate any help with this. Thanks.
Keith K.
LicenseToolCmd appears to accept either slashes or dashes. I was able to reproduce the "Checkout Failed" message regardless of the status code. As you mentioned, however, the checkout succeeds even though it prints the wrong message as output. This appears to be a bug, albeit an asthetic one. If users see the output of your batch script, you can hide the output of LicenseToolCmd by appending >NUL to the end of the command as a workaround like so:
licensetoolcmd checkout /productid:1940 /productversion:8.11.7.434 /checkoutperiod:30 >NUL
As for the license registration dialog problem, I highly recommend placing a service ticket with our Technical Support Group for further assistance.
Thanks Jeremy
I actually tried the dashes and it errored off on me. I was following documentation at
docs.bentley.com/.../redlinehelp806.html
Also, we are in the process of deploying v8i for our users who are currently on v8. SOmetime we are finding that they randomly get the licensing dialog popping up even if they have registered with our license server. It is quite annoying for the users and I was wondering if you had run into it previously .
Thanks
Dippan
Use dashes instead of slashes for the productid, productversion, and checkoutperiod arguments. Please note, however, that Map Powerview is most likely a "trust licensing" product. Trust licensing products permit operation for 30 days before requiring communication with the license server anyway, making a license checkout unnecessary. A checkout is only necessary for durations greater than 30 days.
I am creating a batch file to check out Map Powerview licenses for mobile users. I am using the following command line and it reports an unknown error but the license appears to have checked out successfully. Any suggestions?
c:\mappowerview\MapPowerView\licensetoolcmd checkout /productid:1940 /productversion:8.11.07.434 /checkoutperiod:30
Command: CheckOut
Checkout Failed. [status: 0 - Error Unknown]
Dippan Shukle
MicroStation, as with most of our applications, is configured to report product usage. As such, if a license is not available for checkout, the product will still work and report the usage accordingly. Is there a particular reason the workflow requires a checked out license?