Skip to content
  • There are no suggestions because the search field is empty.

UAServiceException: Could not create a certificate via a proxy: Could not initialize the platform layer.

I am using OPC Data Client in a web application.  I have deployed my application to IIS on the runtime machine.  I am getting an error when my web application attempts to create an OPC UA certificate.  The error states:

UAServiceException: Could not create a certificate via a proxy:  Could not initialize the platform layer.

How can I make the Web Application create the certificate?

One possible resolution is to set "Enable 32-Bit Application" to True on your Application Pool.  The below instructions are for IIS 7.0.

  1. Open IIS Manager.
  2. From the Feature View click on Application Settings in the ASP.NET area. 
  3. Click on Application Pools on the left side. 
  4. Right-click on the Application Pool your OPC Data Client application is using and select Advanced Settings...
  5. In the General section you will see the setting Enable 32-Bit Application.
  6. Set this to True and Click OK.
  7. You need to Stop and Start the Application Pool you made changes to.