01-01-2009 04:48 AM
i am having some problem with loading plugin in ACT. here i m writing the complete scenario of my execution.
1. I have developed a class library in C#.NET using framework 2.0
2. I have implemented IPlugin interface methods and display messagebox in each method. and i have done complete exception handling in plugin class.
3. in plugin load method, i added some command bar buttons in Tool menu.
4. I made an installer using Null-Soft software, which place DLLs in "c:/Program Files/Act/Act for windows/Plugins/" path.
5. I run the plugin setup. It installed successfully. then, I run Act!, it display all message boxes that i have placed in Plugin Load method. and it showed the created button in Tool menu successfully without any single error.
6. I checked the "LogView.exe", it displayed no error. and i checked "Dependentdll.xml", my plugin Dlls names were written in this xml file, but my plugin was working fine.
7. then i un-installed the .NET framework 2.0 from my system.
8. after this, Act! didnt run.
9. then i re-install the .NET framework 2.0.
10. Now i run the Act! software. But this time Act! didnt load my plugin. i surprized. I checked the "LogView.exe" again, it displayed no error. my plugin Dlls names were still placed in "DependentDlls.xml" file. i tried to remove these entries from DependentDlls.xml, but Act! created these entries again.
11. then i un-installed and then re-installed my plugin. but it never loaded again.
12. i tried many ways but it didnt load my plugin. the only scenaria i found is that, un-install the Act! software and re-install it. then it will load my plugin.
But i couldnt find out the rout cause analysis of this plroblem that why my plugin didnt loaded on re-installing .net framework 2.0
one thing more.... i tried the same scenario not only with my plugin, but i tried this scenario with "SPEACT" plugin which is available at "http://www.swiftpage.com/plugins_download/SPEACT_6000.exe"
i m using ACT! 2009 version, but this problem occurs on each version.
01-01-2009 06:10 AM
01-01-2009 08:55 PM
thanks Mike, i have posted this problem there. Please if u will find any solution of this or u can refer this issue to ur friends, then i hope it will b very helpful to me and all ACT! developers.
01-01-2009 11:22 PM
Why would you have uninstalled .Net?
If I had to uninstall .Net, I'd probably re-install any of the applications that use it
01-02-2009 02:40 AM - edited 01-02-2009 02:43 AM
hah! nice question....
actually my client reported this issue to me. then i re-produced it on my machine. so, it happens.
i m working hard to solve this issue, as any of us will get solution to it, we shall post here.
01-02-2009 02:52 AM
Does it work if you re-install the plug-in?
Have you tried deleting Dependentdll.xml (with ACT! closed)?
I'd also load the Plug-in Manager and see if it shows up. You can get this free from:
01-02-2009 05:20 AM
No, it doesnt work when i re-install the plug-in. The only way to enable the plugin is "Re-install the ACT! software" :-)
Yes, i tried to delete the "DependentDlls.XML", but when i restart ACT!, it regenerates the "DependentDlls.xml". i also viewd the ACTLOG.xml, that shows no error occured.
Thank you very much for the Plug-in Manager, i used it. it shows me the list of all plug-ins, but it doesnt work. i mean, it only displays a message "Your changes will take effect next time ACT! is restarted". but there is no any effect on any plug-in when i restart the ACT! :-(
01-02-2009 05:36 AM
When you delete DependentDlls.xml and the restart ACT! and close it. Is there anything in LogViewer.exe?
Basically, as you know ACT! will list plugins there that fail to correctly load.
As I thought... re-installing ACT! is recommended after removing/reinstalling .Net
If you send a message via the form at http://www.glcomputing.com.au/contact.php, I might have a utility to help determine which DLL needs to be re-registered.
01-02-2009 05:51 AM
after deleting DependentDlls.xml and restarting ACT! and then closing ACT! application, there is nothing in LogView.exe
And i have implemented complete exception handling in my plug-in, there was not any single error not thrown by my plug-in and not logged by ACT!.
Yes, may be u r right that ACT! must be re-installed after re-installing .NET framework 2.0.
thanks again for ur help.