You are on page 1of 18

CGS plus

License Management
Installation process on
Windows Server 2008 R2 x64

Version: 1.0.5.2
Date: 26.02.2010
Status:
1
Copies:
Assigned by:
Document History

Date Ver. Author Coment

6.9.2006 1.0 Andrej Beden


9.10.2006 1.1 Andrej Beden
21.12.2006 1.2 Andrej Beden
1.2.2007 1.3 Andrej Beden Separated XP and 2003 document
30.3.2007 1.4 Andrej Beden
IIS 7.0 Windows Vista and
24.02.2010 1.0.5.2 Sebastjan Komac newer(W7, Server 2008) x86 adn
x64

2
INDEX
Install process of CGS plus Network server ......................................................................................................... 4
1. Prerequisites: ........................................................................................................................................... 4
2. Steps of installation ................................................................................................................................. 4
3. Installation of Microsoft .NET Framework 2.0 ......................................................................................... 5
4. Installation of Alladin Hardlock driver ...................................................................................................... 6
5. Installation of IIS (Internet Information Services) .................................................................................... 7
6. Configuring Security permissions on Microsoft Windows Firewall .......................................................... 8
7. Installation of Network Server (CGSAppNetWebService) ....................................................................... 9
8. Configuration Steps on IIS:.................................................................................................................... 11
Microsoft IIS 6.0:.......................................................................................................................................... 11
9. Check permissions on folder CGSAppNetWebService: ........................................................................ 13
10. Test of working of CGSAppNetWebServices .................................................................................... 15
11. Setting loging:.................................................................................................................................... 16
12. Most common issues: ....................................................................................................................... 17
Wrong .NET Framework version: ................................................................................................................ 17
Failed to access IIS metabase .................................................................. Napaka! Zaznamek ni definiran.
High level of restrictions on servers ............................................................................................................ 18

3
Install process of CGS plus Network server

1. Prerequisites:
- Microsoft .NET Framework 2.0
- Microsoft Internet Information Services (IIS 6.0)
- Alladin Hardlock driver (Install hldrv32.exe)

2. Steps of installation

1. Check .NET Framework 2.0


If not present on the server install it look at section 3

2. Check for Alladin Hardlock driver


If not present on the server look at section 4

3. Check for Microsoft Internet Information Services


If not present on the server look at section 5

4. Configure Security permissions on Microsoft Windows Firewall


For instructions see section 6

5. Install CGS network server (CGSAppNetWebService)


For instructions see section 7

6. Perform configuration steps on IIS for CGSAppNetWebService


For instructions see section 8

7. Set permissions on File system for CGSAppNetWebService


For instructions see section 9

8. Test in Internet Explorer


For instructions see section 10

4
3. Installation of Microsoft .NET Framework 2.0
Check in the Add or Remove Programs

Start Control Panel Add or Remove Programs

Microsoft.NET Framework 2.0 is already installed as a part of Windows components.

5
4. Installation of Alladin Hardlock driver
Check in the Add or Remove Programs

Start Control Panel Add or Remove Programs

If not present, then:

Go to our website: http://www.cgsplus.com under LINK For Partners. Loging with your Username and
Password.

6
5. Installation of IIS (Internet Information Services)
IIS is part of the Microsof Windows and should be in stalled from Microsoft Windows installation discs. If IIS is
not installed, take the following steps:

Go to Control Panel
Select Programs and Features
Select Turn Windows features ON or OFF

IMPORTANT: Note that all the checkmark are enabled

7
6. Configuring Security permissions on Microsoft Windows Firewall
Only if Microsoft Windows Firewall is active:

You should permit Web server (HTTP)! Follow these steps:

Go to Exceptions Tab. Find Web Server (HTTP) and put check in front of it

8
7. Installation of Network Server (CGSAppNetWebService)
You have two possibilities of installations:

The network server is installed on different machine than client installation. In this case you should
just follow the steps of installation wizard.
The network server is installed on the machine were also client installation takes place. In this
case you should be careful and remove the client License Manager that comes with installation
suite of CGSplus software. Recommended is to install CGSplus software before installing network
license manager. In this case you will have the right installation of license manager installed on
computer.

If you have server and client installation on the same computer you should have only CGSANetworkServer
installed as it shows the figure bellow:

Precede installation with selected default options. (Recommended but not obvious, if anything is changed,
must be considered during publishing CGS plus Network Licenses)

Application will be installed (as Default) on:

C:\inetpub\wwwroot\CGSAppNetWebService

Application will be accessible (as Default) on:

http://[localmachinename]/CGSAppNetWebService

9
Steps of installation wizard:

10
8. Configuration Steps on IIS:
Microsoft IIS 7.0:

Create Separate Application pool for CGSA Web Service:

11
Set properties on CGSAppNetWebService:

Check Basic settings and set them to following:

12
9. Check permissions on folder CGSAppNetWebService:

Set permissions for:


Users Group - Network Service - (Modify)

13
14
10. Test of working of CGSAppNetWebServices
In Internet explorer on local machine browse to the web service address:

http://localMachineName/CGSAppNetWebService/NetworkLicenseRepository.asmx

You should get the following page:

15
11. Setting loging:
By default are logged all administrative operations and errors such are:
Publish License
Unpublish License
Add Client
Remove Client
All Errors

Optionally you can switch on also logging of working operations such are:
Get Licenses Status
Reserve License
Release License

It could be done through setting of parameter (<add key="OperationalLog" value="false"/>) in web.config file to
true (<add key="OperationalLog" value="true"/>)

<?xml version="1.0"?>
<configuration>
<appSettings>
<add key="ExpirationMinutes" value="15"/>
<add key="AdministrativeLog" value="true"/>
<add key="OperationalLog" value="false"/>
</appSettings>
<system.web>
<compilation debug="true"/>
<authentication mode="Windows"/>
</system.web>
</configuration>

16
12. Most common issues:

Wrong .NET Framework version:

Server Error in '/CGSAppNetWebService' Application.

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following
specific parse error details and modify your source file appropriately.

Parser Error Message: Could not create type 'NetworkLicenseRepository'.

Source Error:

Line 1: <%@ WebService Language="C#"


CodeBehind="~/App_Code/NetworkLicenseRepository.cs" Class="NetworkLicenseRepository" %>

Source File: C:\inetpub\wwwroot\CGSAppNetWebService\NetworkLicenseRepository.asmx Line: 1

Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032

Locate in IIS local machine Web Sites


Default Web Site CGSappNetWebService

right mouse click and select Properties. Window


as above will appear:
On ASP.NET Tab check 2.0 Version is selected

17
High level of restrictions on servers

Symptoms: All is installed as state in manual but web service is not accessible from License manager.
(License server failed to connect to web service),

Check in Event Viewer (section CGSprotection) if any error was reported. In case of error like this:

CGSprotectionAdministrator BI-SERVER System.Web.Services.Protocols.SoapException: Server was unable to process


request. ---> System.InvalidOperationException: Unable to generate a temporary class (result=1).
error CS2001: Source file 'C:\WINDOWS\TEMP\v6jxfjdh.0.cs' could not be found
error CS2008: No inputs specified

at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, CompilerParameters parameters, Evidence


evidence)
at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String
defaultNamespace, Evidence evidence, CompilerParameters parameters, Assembly assembly, Hashtable assemblies)
at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace,
String location, Evidence evidence)
at System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[] mappings, Evidence evidence)
at System.Web.Services.Protocols.SoapServerType..ctor(Type type, WebServiceProtocols protocolsSupported)
at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest
request, HttpResponse response, Boolean& abortProcessing)
--- End of inner exception stack trace --- l

Check permissions on c:\Windows\Temp directory. At least Network service or ASP.NET accounts


must have write permissions (You could try also with Everybody account)

18

You might also like