Search the Knowledgebase |
Browse by Category or Article ID |
|
|
|
|
|
| Why do I get "Unable to use license server" error when I run a .NET application on 64 bit machine? |
| User Opinions (3 votes) |
66%
33%
|
|
Thank you for rating this answer.
|
Article ID: 252
Last Updated: 15th September 2010 04:16:38 am
The article concerns 32 bit .NET applications protected with 32 bit LM-X library (lmxnet.dll). When run on a 32 bit machine everything works fine but on an 64 bit system the following error might occur:
"Unable to use license server."
The problem is that .NET will run the 64 bit version of the .NET framework when being on a x64 machine.
The solution is:
1. Either build your application with a 64 bit version of the lmxnet.dll. 2. Force your application to be 32 bit.
If 64 bit support is important then you should choose option 1. Otherwise the second solution is the best one as it requires virtually no work and will solve the problem. To force your application to be 32 bit you need to use the switch "/platform:x86" when compiling your code.
|
| Attachments |
|
No attachments were found.
|