Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Plugin broken moving from 4.1.1 to 4.2.1

plugins

Can anyone think of why my plugin would stop working after upgrading to 4.2.1? I recompiled the dll with the latest versions of the Gemini dlls, dropped it back in the folder and doesn't seem to work. It was working properly before upgrade.

Along the same lines, how can I log some trace messages to the Log within Gemini?

matrix4123
· 1
matrix4123
Replies (12)
helpful
0
not helpful

Did you check Gemini's error log for errors? Unfortunately, you cannot log (except of exception thrown) to Gemini.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

I am seeing this, but another thread said this wasn't anything to be concerned about...

Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. at System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark) at System.Reflection.Assembly.GetTypes() at CounterSoft.Gemini.Business.Events.GeminiEventDispatcher.LoadPlugins(String strPath)


matrix4123
· 1
matrix4123
helpful
0
not helpful

That seems to me like your DLL is missing a referenced dll in the plugins folder. Do you reference any other dlls?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

I'm using Commons and Webservices. Originally I had Webservices Dll in the plugins folder when it was working. I then tried without after upgrading. I will try again with the Webservices Dll.


matrix4123
· 1
matrix4123
helpful
0
not helpful

Added the commons and webservices back in and don't get that error anymore. Still not functioning as before. I'll try to make my own log to a txt file and see if my methods are even being called.


matrix4123
· 1
matrix4123
helpful
0
not helpful

You need to just add the webservices dll not commons.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Do you have to restart the IIS session for the plugin to be reloaded?


matrix4123
· 1
matrix4123
helpful
0
not helpful

You need to restart the app pool for Gemini.


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

So, I have tested this on my local test platform. Then I copy the same exact dlls onto the production machine and I get the exception. Is there any extra logging I can look at to see exactly what it is complaining about?

Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. at System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark) at System.Reflection.Assembly.GetTypes() at CounterSoft.Gemini.Business.Events.GeminiEventDispatcher.LoadPlugins(String strPath)


matrix4123
· 1
matrix4123
helpful
0
not helpful

If it works on your test platform but not on production then you must be missing some referenced dlls that might be in the GAC in test but not in production.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Assuming the plugin mechanism didn't change from 4.1.1 to 4.2... ? I didn't change anything and it stopped working after the upgrade.


matrix4123
· 1
matrix4123
helpful
0
not helpful

No, nothing changed in 4.0 - 4.2.1. Send us your code to support at countersoft dot com.


Mark Wing
· 9108
Mark Wing