More errors, as below. Seems like more reference issues:
Log of MapViewer v6.2.6.0
Logging started at: 5/13/2010 11:21:03 AM UTC
Successfully reached start
In Display .ctor()
#################################
An exception has occurred.
#################################
Exception: System.Runtime.InteropServices.COMException
Derived from System.Runtime.InteropServices.ExternalException
Derived from System.SystemException
Derived from System.Exception
5/13/2010 11:21:10 AM
Message: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)
Source:
STACK TRACE
#################################
An exception has occurred.
#################################
Exception: System.IO.FileLoadException
Derived from System.IO.IOException
Derived from System.SystemException
Derived from System.Exception
5/13/2010 11:21:10 AM
Message: Could not load file or assembly 'CorelibInterop, Version=1.0.3770.31713, Culture=neutral, PublicKeyToken=e00f2d50ff2ccb47' or one of its dependencies. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)
Source: MapUtility
STACK TRACE
Void ExRead4ByteOffsets(Int32, Byte*, Int32*)
at MapUtility.OffsetReader.ExRead4ByteOffsets(Int32 numOffsets, Byte* data, Int32* outData)
at MapUtility.OffsetReader.Read4ByteOffsets(BinaryReader br, Int32 numOffsets)
at MapUtility.OffsetReader.ReadOffsets(BinaryReader br, Int32 width, Int32 height)
at MapUtility.ReadOnlyLightmap..ctor(Int32 zoomLevel, String folder)
at MapUtility.MapRenderer.EnsureMapLoaded(Int32 zoom)
at MapUtility.MapRenderer.Rezoom(Int32 old)
at MapUtility.MapRenderer..ctor()
#################################
An exception has occurred.
#################################
Exception: System.Reflection.TargetInvocationException
Derived from System.ApplicationException
Derived from System.Exception
5/13/2010 11:21:10 AM
Message: Exception has been thrown by the target of an invocation.
Source: mscorlib
STACK TRACE
System.Object CreateInstance(System.RuntimeType, Boolean, Boolean, Boolean ByRef, System.RuntimeMethodHandle ByRef, Boolean ByRef)
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Windows.Markup.BamlRecordReader.CreateInstanceFromType(Type type, Int16 typeId, Boolean throwOnFail)
#################################
An exception has occurred.
#################################
Exception: System.Windows.Markup.XamlParseException
Derived from System.SystemException
Derived from System.Exception
5/13/2010 11:21:10 AM
Message: Cannot create instance of 'MapRenderer' defined in assembly 'MapUtility, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Exception has been thrown by the target of an invocation. Error at object 'System.Windows.Controls.Grid' in markup file 'MapViewer;component/display.xaml' Line 25 Position 4.
Source: PresentationFramework
STACK TRACE
Void ThrowException(System.String, System.Exception, Int32, Int32, System.Uri, System.Windows.Markup.XamlObjectIds, System.Windows.Markup.XamlObjectIds, System.Type)
at System.Windows.Markup.XamlParseException.ThrowException(String message, Exception innerException, Int32 lineNumber, Int32 linePosition, Uri baseUri, XamlObjectIds currentXamlObjectIds, XamlObjectIds contextXamlObjectIds, Type objectType)
at System.Windows.Markup.XamlParseException.ThrowException(ParserContext parserContext, Int32 lineNumber, Int32 linePosition, String message, Exception innerException)
at System.Windows.Markup.BamlRecordReader.ThrowException(String message, Exception innerException)
at System.Windows.Markup.BamlRecordReader.CreateInstanceFromType(Type type, Int16 typeId, Boolean throwOnFail)
at System.Windows.Markup.BamlRecordReader.GetElementAndFlags(BamlElementStartRecord bamlElementStartRecord, Object& element, ReaderFlags& flags, Type& delayCreatedType, Int16& delayCreatedTypeId)
at System.Windows.Markup.BamlRecordReader.BaseReadElementStartRecord(BamlElementStartRecord bamlElementRecord)
at System.Windows.Markup.BamlRecordReader.ReadElementStartRecord(BamlElementStartRecord bamlElementRecord)
at System.Windows.Markup.BamlRecordReader.ReadRecord(BamlRecord bamlRecord)
at System.Windows.Markup.BamlRecordReader.Read(Boolean singleRecord)
at System.Windows.Markup.TreeBuilderBamlTranslator.ParseFragment()
at System.Windows.Markup.TreeBuilder.Parse()
at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
at MS.Internal.AppModel.AppModelKnownContentFactory.BamlConverter(Stream stream, Uri baseUri, Boolean canUseTopLevelBrowser, Boolean sandboxExternalContent, Boolean allowAsync, Boolean isJournalNavigation, XamlReader& asyncObjectConverter)
at MS.Internal.AppModel.MimeObjectFactory.GetObjectAndCloseStream(Stream s, ContentType contentType, Uri baseUri, Boolean canUseTopLevelBrowser, Boolean sandboxExternalContent, Boolean allowAsync, Boolean isJournalNavigation, XamlReader& asyncObjectConverter)
at System.Windows.Navigation.NavigationService.GetObjectFromResponse(WebRequest request, WebResponse response, Uri destinationUri, Object navState)
at System.Windows.Navigation.NavigationService.DoNavigate(Uri source, NavigationMode f, Object navState)
at System.Windows.Navigation.NavigateQueueItem.Dispatch(Object obj)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
Misc data
System.Object Could not write misc data