Error encountered "The culture information failed to load [500] Internal Server Error" when trying to edit a View
kbt135980
PRODUCTIssue
When attempting to edit a View from K2 Designer, the error below appears and the View continues to spin infinitely.
"The culture information failed to load [500] Internal Server Error (error)"
Symptoms
- To debug your web page, run a fiddler trace or a network trace using F12 Developer Tools from your browser while reproducing the issue, you should see a HTTP/1.1 500 Internal Server Error returned.
- From the Web View of the erraneous request, it shows a configuration error 'Cannot add duplicate collection entry of type 'add' with combined key attributes 'users, roles, verbs' respectively set to DomainUserName'. If you look at the Config Source, it points to the authorization rules configuration in the K2 Designer web.config file.
Troubleshooting Steps
To verify and resolve the issue, kindly perform these steps:
1. Edit the K2 Designer web.config file (usually located in C:Program Files (x86)K2 blackpearlK2 smartforms Designer), find the section below and check if the AccessType configuration is assigned to each user separately.
An example:
<add accessType="Allow" users="DomainUser" />
<add accessType="Allow" users="DomainUser" />
<add accessType="Allow" users="DomainUser" />
2. If so, merge all the users with a comma separation into 1 line of <add accessType="Allow"
For example:
3. Save and close the file.
4. Then, perform an IISRESET.
5. Try editing your View again. The error should disappear.