QueryBuilder module not found (GE3.10/SL1.6)
Hi to all
I recently updated our DEV environment to GE3.10/SL1.6 from GE3.9/SL1.5.2 and life was fine particularly in regards to the new QueryBuilder functionality.
When I did the same thing on our LIVE environment I got an error when loading a viewer in my browser:
08/24/2012 12:24:13:437: CRITICAL: Unhandled exception occured: Microsoft.Practices.Prism.Modularity.ModuleInitializeException: Unable to locate the module with type 'Geocortex.EssentialsSilverlightViewer.CoreModules.QueryBuilder.QueryBuilderModule, Geocortex.EssentialsSilverlightViewer.CoreModules, Version=1.5.2.44, Culture=neutral, PublicKeyToken=2279c6c155d3316f' among the exported modules. Make sure the module name in the module catalog matches that specified on ModuleExportAttribute for the module type.
at App.OnUnhandledException(Object sender, ApplicationUnhandledExceptionEventArgs e) Geocortex.EssentialsSilverlightViewer.Viewer
at EventHandler`1.Invoke(Object sender, TEventArgs e) System
at Errorstatic .CallApplicationUEHandler(Exception e) MS.Internal
at Errorstatic .GetXresultForUserException(Exception ex) MS.Internal
at DispatcherOperation.Invoke() System.Windows.Threading
at Dispatcher.Dispatch(DispatcherPriority priority) System.Windows.Threading
at Dispatcher.OnInvoke(Object context) System.Windows.Threading
at CallbackCookie.Invoke(Object[] args) System.Windows.Hosting
at ManagedHoststatic .InvokeDelegate(IntPtr pHandle, Int32 nParamCount, ScriptParam[] pParams, ScriptParam& pResult) System.Windows.RuntimeHost
Details:
at Microsoft.Practices.Prism.Modularity.ModuleInitializer.HandleModuleInitializationError(ModuleInfo moduleInfo, String assemblyName, Exception exception)
at Microsoft.Practices.Prism.Modularity.ModuleInitializer.Initialize(ModuleInfo moduleInfo)
at Microsoft.Practices.Prism.Modularity.ModuleManager.LoadModulesThatAreReadyForLoad()
at Microsoft.Practices.Prism.Modularity.ModuleManager.IModuleTypeLoader_LoadModuleCompleted(Object sender, LoadModuleCompletedEventArgs e)
at Microsoft.Practices.Prism.MefExtensions.Modularity.MefXapModuleTypeLoader.RaiseLoadModuleCompleted(LoadModuleCompletedEventArgs e)
at Microsoft.Practices.Prism.MefExtensions.Modularity.MefXapModuleTypeLoader.HandleDownloadCompleted(DeploymentCatalog deploymentCatalog, AsyncCompletedEventArgs e)
at Microsoft.Practices.Prism.MefExtensions.Modularity.MefXapModuleTypeLoader.DeploymentCatalog_DownloadCompleted(Object sender, AsyncCompletedEventArgs e)
at System.ComponentModel.Composition.Hosting.DeploymentCatalog.OnDownloadCompleted(AsyncCompletedEventArgs e)
at System.ComponentModel.Composition.Hosting.DeploymentCatalog.HandleOpenReadCompleted(Object sender, OpenReadCompletedEventArgs e)
at System.Net.WebClient.OnOpenReadCompleted(OpenReadCompletedEventArgs e)
at System.Net.WebClient.OpenReadOperationCompleted(Object arg)
There is also this Error:
08/24/2012 12:25:58:578: ERROR: Workflow 'AddressMaintenance' error: System.InvalidOperationException: The map could not be found in the site.
at ViewerWorkflowActivityDispatcher.HandleError(Workflow workflow, Exception error) Geocortex.EssentialsSilverlightViewer.Infrastructure.Workflow
at WorkflowControllerProxystatic .ProcessWorkflowResultsWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e) Geocortex.Workflow.Client
at BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e) System.ComponentModel
at BackgroundWorker.<OnRun>b__1(Object state) System.ComponentModel
at RuntimeMethodHandlestatic .InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) System
at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) System.Reflection
at Delegate.DynamicInvokeImpl(Object[] args) System
at DispatcherOperation.Invoke() System.Windows.Threading
at Dispatcher.Dispatch(DispatcherPriority priority) System.Windows.Threading
at Dispatcher.OnInvoke(Object context) System.Windows.Threading
at CallbackCookie.Invoke(Object[] args) System.Windows.Hosting
at ManagedHoststatic .InvokeDelegate(IntPtr pHandle, Int32 nParamCount, ScriptParam[] pParams, ScriptParam& pResult) System.Windows.RuntimeHost
Details:
at Geocortex.Essentials.Client.Map.CalculateScale()
at Geocortex.Workflow.Client.DefaultActivityHandlers.HandleGetMapInfo(ActivityContext activityContext)
at Geocortex.Workflow.Client.DefaultActivityDispatcher.Dispatch(ActivityContext context)
at Geocortex.Workflow.Client.WorkflowControllerProxy.Dispatch(ActivityContext activityContext)
at Geocortex.Workflow.Client.WorkflowControllerProxy.ProcessWorkflowResultsWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
The viewer happily loads in the browser if I untick the QueryBuilder module in the 'All Modules' configuration tab for the Viewer so I assume that the second Error is triggered by the failure of the loading of the query builder.
Note that this machine has been rebooted since loading the new version.
Constructing a new site with the new SL viewer still gives the issue so I assume that a cache somewhere is coming into play.
Any thoughts appreciated
Thanks
Ralph
-
Ralph
Does your viewer ClientBin\Resources\Images folder include the images QueryBuilderAdvanced.png and QueryBuilderSimple.png?
I had this problem and corrected it by re-building the images folder.
0 -
Actually I might have just rebuilt the whole ClientBin folder.
0 -
I would just copy in the 1.6 xap files and then reload your cache and refresh your browser cache and see if that works.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
3 Kommentare