I'm having a lot trouble loading plugins when creating sales order via web service and hoping if you can help. I want to know if there is a way can I find the reason of JiwaApplication is not loading an "enabled" plugin (permission or missing reference or whatever reason).
We discussed this here http://forums.jiwa.com.au/viewtopic.php?f=27&t=172&start=10 but this time it happens on customer's production server but not dev PC.
Jiwa 7.0.117
Problem
- sales order created but cannot assign any custom field value because there is no plugin loaded after logging to JiwaApplication
- on dev machine plugins are loaded correctly (when debugging)
- below is the code snippet from the web service, on customer's server, splugins is blank.
- Code: Select all
JiwaApplication.Manager.Instance.Logon(My.Settings.SqlServerName, My.Settings.SqlDatabaseName, JiwaFinancials.Jiwa.JiwaODBC.database.AuthenticationModes.JiwaAuthentication, My.Settings.JiwaLoginUserName, My.Settings.JiwaLoginUserPassword)
JiwaApplication.Manager.Instance.Logon(My.Settings.SqlServerName, My.Settings.SqlDatabaseName, JiwaFinancials.Jiwa.JiwaODBC.database.AuthenticationModes.JiwaAuthentication, My.Settings.JiwaLoginUserName, My.Settings.JiwaLoginUserPassword)
Dim splugins As String = ""
For Each plugin As JiwaApplication.Plugin.Plugin In JiwaApplication.Manager.Instance.PluginCollection
splugins += plugin.Name
Next
Logger.Write("Plugins loaded: " & splugins, "general")
Other information
- on client server, Jiwa 7 is installed and the Bin folder of the web service has all required Jiwa assemblies (same as dev PC)
- IIS App pool is running in 32bit mode
- App pool is running under ApplicationPoolIdentity
- I tried to run under admin user and didnt help
Please let me know if you have any questions


