When trying to publish content, an error may be thrown:
The type initializer for 'Ektron.Cms.LanguageHelper' threw an exception
Typically this error stems from code that is making calls to the database and then not closing the connection. Making direct calls to the database is not recommended.
- Review the code on the template in which the error was thrown to see if there are any calls to the database. If so, verify that the connections are being closed properly.
- Another method is to increase the the Max Pool Size to a value like 200 (or higher) in the site's connection string for the SQL Server.
- Recycle the application pool for the site.