by SBarnes » Mon Nov 02, 2015 12:57 pm
Hi Mike
Firstly thanks for the code it was enough to get me started, but I have run into a small glitch that I am hoping you can help me overcome, the code works perfectly in either a winforms application or a console application where simply thus far I can get it to iterate over the items and spit out a property for each each either to a list ox or the console respectively but if i use the same code in a web based project it stops at the first line
Manager.Instance.Logon("SERVERNAME", "JiwaDemo", JiwaFinancials.Jiwa.JiwaODBC.database.AuthenticationModes.JiwaAuthentication, "Admin", "password"); and the stack trace
System.NullReferenceException was unhandled by user code
HResult=-2147467261
Message=Object reference not set to an instance of an object.
Source=JiwaApplication
StackTrace:
at JiwaFinancials.Jiwa.JiwaApplication.Manager.HandleApplicationManagerPluginExceptions()
at JiwaFinancials.Jiwa.JiwaApplication.Manager.Logon(String ServerName, String DatabaseName, AuthenticationModes AuthenticationMode, String JiwaUserName, String JiwaPassword)
which leads me to believe it is caused by the plugins trying to load, it there a way to progrmatically tell jiwa not to load the plugins or to do so in such a way that its not going to be a problem in a web project?
Thanks for any help
Regards
Stuart Barnes