Perpetual Not Licensed and License Expired States
Options
davidCan
✭
SDK Version(s):
Photon-OnPremise-Server-SDK_v4-0-29-11263
photon-server-plugin-sdk_v4-0-29-11263
OS:
Microsoft Windows 10 Enterprise
10.0.19042 Build 19042
I've followed the instructions in the ReadMe.md file for the plugins SDK and could not debug the project. I've tried unblocking any files initially, but none appeared to be blocked. Then, I downloaded the 100cc license, unblocked it (this was blocked) and put it in the appropriate folder. Same result. I followed the troubleshooting guide for licensing and nothing appeared to be wrong.
I've also tried recursive unblocking via Powershell.
Not sure where to go from here.
Photon-OnPremise-Server-SDK_v4-0-29-11263
photon-server-plugin-sdk_v4-0-29-11263
OS:
Microsoft Windows 10 Enterprise
10.0.19042 Build 19042
I've followed the instructions in the ReadMe.md file for the plugins SDK and could not debug the project. I've tried unblocking any files initially, but none appeared to be blocked. Then, I downloaded the 100cc license, unblocked it (this was blocked) and put it in the appropriate folder. Same result. I followed the troubleshooting guide for licensing and nothing appeared to be wrong.
and28560: 16:01:54.955 - Loaded version: "v4.0.30319"
28560: 16:01:55.084 - Photon host runtime loaded
28560: 16:01:55.101 - ERROR: failed to load PhotonLicensing.dll. Going to shutdown.
28560: 16:01:55.102 - License has expired.
28560: 16:01:55.102 - Server shutting down...
...
28560: 16:01:55.105 - Shutdown complete...
28560: 16:01:55.105 - Service shutting down: not licensed. Errorcode: 105
28560: 16:01:55.109 - Service shut down complete
2021-03-22 16:01:55,070 [ 1] INFO PhotonHostRuntime.PhotonDomainManager - Initialize: ApplicationName = 'DefaultDomain', DomainID = '1'
2021-03-22 16:01:55,083 [ 1] INFO PhotonHostRuntime.PhotonDomainManager - AppDomains with unhandled exceptions are usually not unloaded and restarted.
2021-03-22 16:01:55,086 [ 1] INFO PhotonHostRuntime.PhotonDomainManager - Getting license information:
2021-03-22 16:01:55,099 [ 1] ERROR PhotonHostRuntime.PhotonDomainManager - Failed to get PhotonLicensing instance: Exception has been thrown by the target of an invocation.
2021-03-22 16:01:55,100 [ 1] ERROR PhotonHostRuntime.PhotonDomainManager - ERROR: failed to load PhotonLicensing.dll. Going to shutdown.
2021-03-22 16:01:55,102 [ 1] INFO PhotonHostRuntime.PhotonDomainManager - RequestStop: ApplicationName = 'DefaultDomain', DomainId='1'
I've also tried recursive unblocking via Powershell.
# In SDK root directory
get-childitem "./" | unblock-file
Not sure where to go from here.
0
Comments
-
hi, @davidCan
from time to time we see this odd issue when PhotonLicensing.dll can not be loaded. Still there is no reliable solution.
look here:
https://forum.photonengine.com/search?Search=failed+to+load+PhotonLicensing.dll
try to install net3.5 to your machine may be this will help
best,
ilya0 -
Yeah I had .Net 3.5 installed already. I believe the issue was related to Enterprise security software that prevented the loading of the licensing DLL.
I ended up working around this by building out my development environment in a Windows VM.
0