Set utf = CreateObject(“System.Text.UTF8Encoding”)
Running the line above errors with “Cannot create automation object” on our new dev server but works find on our old test server. What are we missing that needs to be done on the new server so LotusScript can run the CreateObject line successfully in order to access the .NET framework class (4.5 is installed on each). New server is Windows 2012. Old server is Windows 2008.
We opened a ticket with IBM. They suggested we install .NET 3.5 on the Windows 2012 server. So now the server has both versions of .NET installed. The code works now. As a developer, I don’t fully understand why that was the fix but it works anyhow.