This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Dec 7, 2015, 7:31 PM
14 Posts

Cannot create automation object

  • Category: Application Development
  • Platform: Windows
  • Release: 9.0.1
  • Role: Administrator,Developer
  • Tags:
  • Replies: 4

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.

Dec 7, 2015, 9:40 PM
326 Posts
Suggestion

Make sure the new dev server server doc has rights to run unrestricted  & restricted agents for the id that  signed the agent?

 

Dec 8, 2015, 3:10 PM
202 Posts
Is .NET installed on the server? I think that is a .net object.
Dec 8, 2015, 4:04 PM
14 Posts
[RESOLVED] IBM Suggested .NET 3.5

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.


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal