This section explains how to register the .NET Data Provider feature using a command.
The command is installed in symfowareServerClientFeatureInstallationDirectory\DOTNET\bin, when the Symfoware Server client feature is installed.
Name
pgx_NpgsqlRegister -- Register the .NET Data Provider GAC
Overview
pgx_NpgsqlRegister [option...]
Description
Execute this command to register the .NET Data Provider GAC in the following cases:
To install .NET Framework 3.5 SP1, or .NET Framework 4.0 or later, after installing the Windows client
To apply a .NET Data Provider update using the Symfoware update patch.
If the installation of the Windows client returns an error because the registration of .NET Data Provider has not completed
Options
Specify this option to perform the setup on the 32-bit product.
Specify this option to perform the setup on the 64-bit product.
Diagnostics
Return value | Explanation |
---|---|
0 | Completed successfully. |
1 | .NET Data Provider that will run on NET Framework 3.5 SP1 was registered normally. To run it on .NET Framework 4.0 or later, install the desired version of .NET Framework, and then execute the command again. |
2 | .NET Data Provider that will run on .NET Framework 4.0 or later was registered normally. To run it on .NET Framework 3.5 SP1, install .NET Framework 3.5 SP1, and then execute the command again. |
105 | The logged user does not have execute permission to this folder. |
201 | The command was not executed with administrator privileges. |
202 | The specified option is invalid. |
203 | The Windows client is not installed. |
204 | .NET Framework 3.5 SP1, or .NET Framework 4.0 or later, is not installed. Install the missing software, and then execute the command again. |
401 | Failed to set the machine.config file. Ensure that the machine.config file exists. |
402 | |
403 | |
404 |
Comments
Execute this command with administrator privileges.
Examples
> pgx_NpgsqlRegister.exe /x86
> pgx_NpgsqlRegister.exe /x64