MacOS Troubleshooting

Adobe PDF Library .NET

Sometimes macOS has issues with Adobe PDF Library .NET. We blame the ghost of Steve Jobs. But fear not – you do not have to run to the Apple Store for a fix. 

When using Visual Studio for Mac for development, if you experience the System.ApplicationException: Failed to initialize locale__, do the following: 

  1. Go to the Visual Studio menu 
  2. Select Preferences 
  3. Scroll to the bottom of the Preferences dialog, under the Other section 
  4. Select Terminal 
  5. Uncheck Enable integrated terminal 
  6. Press OK and try running the application again. 

If the problem persists, roll your eyes, curse Steve Jobs one more time, and do the following: 

  1. Go to the Project menu 
  2. Select Properties 
  3. Under the Run section, select Configurations 
  4. Select your active Configuration 
  5. Click the Add button and add the following variables and values: 

LC_ALL en_US.UTF-8 

LANG en_US.UTF-8

  1. Press OK and try running the application again 

And if it still doesn’t work, contact us at evalsupport@datalogics.com. Scott has the Ouija board and will contact Steve directly.