I followed this youtube guide provided by OpenKM
https://www.youtube.com/watch?v=iI3S6jVF1JM - OpenKM - SDK for .NET
Using .Net Framework 4.6.1
IDE - Visual Studio 2017
Used,
OKMForms2.0
OKMUtils2.0
OKMWebservice2.0
The following error occurs when I run this code
"Not able to load dictionary"
Any Help would be much appreciated.
https://www.youtube.com/watch?v=iI3S6jVF1JM - OpenKM - SDK for .NET
Using .Net Framework 4.6.1
IDE - Visual Studio 2017
Used,
OKMForms2.0
OKMUtils2.0
OKMWebservice2.0
The following error occurs when I run this code
"Not able to load dictionary"
Code: Select all
is it because stream is getting null? DictionaryHelper dictionary = new DictionaryHelper();
String resource = "OKMRest.resources.translation-enGB.properties";
Stream stream = System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStream(resource);
dictionary.loadDictionary(stream, System.Text.Encoding.UTF8);
Any Help would be much appreciated.