|
ClearCanvas Community Forums
|
Starting From Scratch PluginException
Last Post 2010-04-28 11:53 PM by stewart. 4 Replies.
|
Sort:
|
|
Prev Next |
You are not authorized to post a reply. |
|
| Author |
Messages |
 |
Kmilo
 New Member Posts:5
 |
| 2010-03-24 02:33 PM |
|
Hi everyone
I donwload the Source code from SVN the 24/03/2010 And when I try to run the ImageViewer I got one PluginException that says No plugins could be found. and doesn't have Inner Exception to try to find out more to solve this issue.
I Recommend if any have information to solve this problem
thanks you
|
|
|
|
|
stewart
 Senior Member Posts:2032
 |
| 2010-04-01 09:13 AM |
|
Hi, have you read and followed the steps for building the code and running it in the Developer's Guide? I'll need a little more information on what your setup is, etc, before I can help you. Best regards, Stewart |
|
| Real-time support available to Clinical Edition and Team Edition customers |
|
|
Kmilo
 New Member Posts:5
 |
| 2010-04-10 04:02 PM |
|
I found the solution on another thread thank you so much for your answer.
was a problem due to x64 machine |
|
|
|
|
brainiacs
 Basic Member Posts:24
 |
| 2010-04-23 06:46 PM |
|
Hi,... I am having similar problem.... after building the native_imageViewer.proj with build option=fullviewer from source code , i face the following exception after i install workstation from the installer. Error loading plugin: C:\Program Files\ClearCanvas\ClearCanvas Workstation\plugins\ClearCanvas.Dicom.Codec.Jpeg.dll System.IO.FileLoadException: Could not load file or assembly 'ClearCanvas.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) File name: 'ClearCanvas.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' at System.ModuleHandle.ResolveType(Int32 typeToken, RuntimeTypeHandle* typeInstArgs, Int32 typeInstCount, RuntimeTypeHandle* methodInstArgs, Int32 methodInstCount) at System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext) at System.Reflection.Module.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments) at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, Module decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, RuntimeMethodHandle& ctor, Boolean& ctorHasParameters, Boolean& isVarArg) at System.Reflection.CustomAttribute.GetCustomAttributes(Module decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes) at System.Reflection.CustomAttribute.GetCustomAttributes(Assembly assembly, RuntimeType caType) at System.Reflection.Assembly.GetCustomAttributes(Type attributeType, Boolean inherit) at System.Attribute.GetCustomAttributes(Assembly element, Boolean inherit) at ClearCanvas.Common.PluginFinder.FindPlugin(String path) WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. 2010-04-22 04:32:18,281 [4] ERROR - Exception thrown System.IO.FileLoadException: Could not load file or assembly 'ClearCanvas.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) File name: 'ClearCanvas.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' at System.ModuleHandle.ResolveType(Int32 typeToken, RuntimeTypeHandle* typeInstArgs, Int32 typeInstCount, RuntimeTypeHandle* methodInstArgs, Int32 methodInstCount) at System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext) at System.Reflection.Module.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments) at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, Module decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, RuntimeMethodHandle& ctor, Boolean& ctorHasParameters, Boolean& isVarArg) at System.Reflection.CustomAttribute.GetCustomAttributes(Module decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes) at System.Reflection.CustomAttribute.GetCustomAttributes(Assembly assembly, RuntimeType caType) at System.Reflection.Assembly.GetCustomAttributes(Type attributeType, Boolean inherit) at System.Attribute.GetCustomAttributes(Assembly element, Boolean inherit) at ClearCanvas.Common.PluginFinder.FindPlugin(String path) at ClearCanvas.Common.PluginFinder.FindPlugin(String path) at ClearCanvas.Common.Utilities.FileProcessor.<>c__DisplayClass1.b__0(String filePath, Boolean& cancel) at ClearCanvas.Common.Utilities.FileProcessor.ProcessDirectory(String path, String searchPattern, ProcessFileCancellable proc, Boolean recursive, Boolean& cancel) at ClearCanvas.Common.Utilities.FileProcessor.Process(String path, String searchPattern, ProcessFileCancellable proc, Boolean recursive) at ClearCanvas.Common.PluginManager.FindPlugins(String path) WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. 2010-04-22 04:32:18,500 [4] WARN - Exception thrown ClearCanvas.Common.PluginException: No plugins could be found. at ClearCanvas.Common.PluginManager.FindPlugins(String path) at ClearCanvas.Common.PluginManager.LoadPlugins() at ClearCanvas.Common.PluginManager.EnsurePluginsLoaded() at ClearCanvas.Common.DefaultExtensionFactory.BuildExtensionMapOnce() at ClearCanvas.Common.DefaultExtensionFactory.ListExtensionsHelper(ExtensionPoint extensionPoint, ExtensionFilter filter) at ClearCanvas.Common.DefaultExtensionFactory.CreateExtensions(ExtensionPoint extensionPoint, ExtensionFilter filter, Boolean justOne) at ClearCanvas.Common.ExtensionPoint.CreateExtensions() at ClearCanvas.Server.ShredHost.ExtensionScanner.ScanExtensions() at ClearCanvas.Server.ShredHost.ShredHost.Start() The only thing that i notice while installer was installing the workstation is that, the installer mentioned that it Setting the output directory to plugins directory... Skipped the ClearCanvas.Common.dll Can anyone please help me... I'm stuck here.. |
|
|
|
|
stewart
 Senior Member Posts:2032
 |
| 2010-04-28 11:53 PM |
|
This is because the Dicom.Codec.Jpeg.dll was built against a different version of CC.Common than the one it found. You either have to rebuild that codec, or artificially set the version number of CC.Common to whatever the codec is expecting. In order to build the codec, though, you need Visual C++. If you just want to test the theory, delete the codec file from your install folder and see if the workstation runs. Hope this helps, Stewart |
|
| Real-time support available to Clinical Edition and Team Edition customers |
|
|
| You are not authorized to post a reply. |
|
Active Forums 4.1
|
|
|
|
|