View previous topic :: View next topic |
Author |
Message |
ogas
Joined: 15 Feb 2018 Posts: 2
|
Posted: Thu Feb 15, 2018 8:21 pm Post subject: Windows Server 2016 - Procedure Could Not be Found |
|
|
I have a VB 6 application which uses Infralution to handle the licensing. I managed to get Infralution to work with a VB6 application by creating a C# class library as a COM component which acts as the middle man between my application and Infralution. This has always worked for me, until I tried to install my application on a Windows Server 2016 system.
When I run the application on the 2016 server, I get a runtime error when my application calls the function in my COM component to initialize the EncryptedLicenseProvider object:
Error # -21470247679
The specified procedure could not be found.
The setup program for my application does call regasm on my COM dll. I have never had trouble running my application on any desktop version from Windows 7 up to the latest update of Windows 10. It also works fine in Windows Servers up to 2012 R2. I only have problems in Windows Server 2016.
Any thoughts?
My COM component was compiled with .NET Framework 4.0. The application currently uses Infralution 5.6. |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Thu Feb 15, 2018 10:20 pm Post subject: |
|
|
I think this is probably related to the fact you are calling this via COM - since the error does not look like a .NET Error and I'm unaware of any issues with running ILS on Server 2016. If you wanted to be sure you you could compile the Encrypted Licensing sample project and see if you can get that to run on the server in question. _________________ Infralution Support |
|
Back to top |
|
|
ogas
Joined: 15 Feb 2018 Posts: 2
|
Posted: Fri Feb 16, 2018 7:58 pm Post subject: |
|
|
It turns out this server was still behind on Windows updates. I had my IT guy install many of the missing updates, after which, my application appears to work. |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Sat Feb 17, 2018 9:16 am Post subject: |
|
|
Great I'm glad you've got it working. _________________ Infralution Support |
|
Back to top |
|
|
|