Geo Web Publisher problem displaying examples and logfile shows that every time I try to view exmples, the service stops

I have installed Bentley Geo Web Publisher server component and licenced it (the licence manager says licence is activated), but every time I try to view examples, the service stops and logfile says it stops because of licence expiration. Also, when trying to view examples, I get the following error message: ERROR: Unable to load the map definition file: 2fe1933d-79b3-47b7-8f33-b789fdf432fa 'text' is an unexpected token. The expected token is '"' or '''. Line 1, position 63. The server I use is Windows Server 2012 R2 Standard (64-bit), IIS version is 8.5.9600.16384. I have also Microsoft ODBC driver 11 for SQL server and Microsoft SQL server 2014.