Exception Message: Cannot create instance of 'MainWindow' de
I've searched the Knowledge Base and the Forms, and have not found a solution.
The viewer was working but just started giving this error. I have uninstalled, reinstalled, Uninstalled, and downloaded the latest ver and still get this error.
Any help or insight would be appreciated.
Thank you,
Exception Message:
Cannot create instance of 'MainWindow' defined in - 'GeoViewer, Version=4.1.0.2827, Culture=neutral, PublicKeyToken=d391432e594eb4c2'. Exception has been thrown by the target of an invocation. Error in markup file 'GeoViewer;component/Window1.xaml'.
Exception Stack Trace:
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.ThrowExceptionWithLine(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 System.Windows.Application.LoadComponent(Uri resourceLocator, Boolean bSkipJournaledProperties)
at System.Windows.Application.DoStartup()
at System.Windows.Application.<.ctor>b__0(Object unused)
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)
InnerException Message:
Exception has been thrown by the target of an invocation.
InnerException Stack Trace:
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)
============================================================================
SYSTEM INFORMATION
Product Information
-------------------
ProductName: GeoViewer
CompanyName: LizardTech
Version: 4.1.0.2827
Installation Information
------------------------
IsInstalled: True
IsWebInstalled: True
IsFirstRun: True
UpdateLocation: h_t_t_p://bin.us.lizardtech.com/geoviewer/ ... pplication
ActivationUri:
Application Paths
-----------------
ApplicationExecutableFolder: C:\Documents and Settings\******\Local Settings\Apps\2.0\72ZDATRD.0XN\CB90LN2T.NN1\liza...app_7a7f7e71d5fe3e24_0004.0001_f2d766f36896a538
ApplicationDataFolder: C:\Documents and Settings\******\Local Settings\Apps\2.0\Data\6LB3EOPX.E0Y\5A4NRPDM.PHE\liza...app_7a7f7e71d5fe3e24_0004.0001_f2d766f36896a538\Data
UserDataFolder: C:\Documents and Settings\******\Application Data
HelpFileFolder: C:\Documents and Settings\******\Local Settings\Apps\2.0\Data\6LB3EOPX.E0Y\5A4NRPDM.PHE\liza...app_7a7f7e71d5fe3e24_0004.0001_f2d766f36896a538\Data\HELP\WebHelp
UserConfigFile: C:\Documents and Settings\******\Local Settings\Apps\2.0\Data\6LB3EOPX.E0Y\5A4NRPDM.PHE\liza...app_7a7f7e71d5fe3e24_0004.0001_f2d766f36896a538\Data\4.1.0.2827\user.config
LogFileFolder: C:\Documents and Settings\******\Application Data\LizardTech\GeoViewer\4.1.0.2827
Host Machine
------------
CommandLine: "C:\Documents and Settings\******\Local Settings\Apps\2.0\72ZDATRD.0XN\CB90LN2T.NN1\liza...app_7a7f7e71d5fe3e24_0004.0001_f2d766f36896a538\GeoViewer.exe"
ProcessorArchitecture: X86
CLR Version: 2.0.50727.3607
OS Version: Win32NT - 5.1.2600.196608 - Service Pack 3
Memory Usage
------------
Working Set: 48,746,496
MemoryLoad: 31
TotalPhysical: 2,145,456,128
AvailablePhysical: 1,473,634,304
TotalPageFile: 4,130,324,480
AvailablePageFile: 3,601,879,040
TotalVirtual: 2,147,352,576
AvailableVirtual: 1,954,738,176
Disk Usage
----------
System Drive (C:\)
UserFreeBytes: 37,576,101,888
UserTotalBytes: 71,436,554,240
AllFreeBytes: 37,576,101,888
Current Drive (C:\)
UserFreeBytes: 37,576,101,888
UserTotalBytes: 71,436,554,240
AllFreeBytes: 37,576,101,888
The viewer was working but just started giving this error. I have uninstalled, reinstalled, Uninstalled, and downloaded the latest ver and still get this error.
Any help or insight would be appreciated.
Thank you,
Exception Message:
Cannot create instance of 'MainWindow' defined in - 'GeoViewer, Version=4.1.0.2827, Culture=neutral, PublicKeyToken=d391432e594eb4c2'. Exception has been thrown by the target of an invocation. Error in markup file 'GeoViewer;component/Window1.xaml'.
Exception Stack Trace:
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.ThrowExceptionWithLine(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 System.Windows.Application.LoadComponent(Uri resourceLocator, Boolean bSkipJournaledProperties)
at System.Windows.Application.DoStartup()
at System.Windows.Application.<.ctor>b__0(Object unused)
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)
InnerException Message:
Exception has been thrown by the target of an invocation.
InnerException Stack Trace:
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)
============================================================================
SYSTEM INFORMATION
Product Information
-------------------
ProductName: GeoViewer
CompanyName: LizardTech
Version: 4.1.0.2827
Installation Information
------------------------
IsInstalled: True
IsWebInstalled: True
IsFirstRun: True
UpdateLocation: h_t_t_p://bin.us.lizardtech.com/geoviewer/ ... pplication
ActivationUri:
Application Paths
-----------------
ApplicationExecutableFolder: C:\Documents and Settings\******\Local Settings\Apps\2.0\72ZDATRD.0XN\CB90LN2T.NN1\liza...app_7a7f7e71d5fe3e24_0004.0001_f2d766f36896a538
ApplicationDataFolder: C:\Documents and Settings\******\Local Settings\Apps\2.0\Data\6LB3EOPX.E0Y\5A4NRPDM.PHE\liza...app_7a7f7e71d5fe3e24_0004.0001_f2d766f36896a538\Data
UserDataFolder: C:\Documents and Settings\******\Application Data
HelpFileFolder: C:\Documents and Settings\******\Local Settings\Apps\2.0\Data\6LB3EOPX.E0Y\5A4NRPDM.PHE\liza...app_7a7f7e71d5fe3e24_0004.0001_f2d766f36896a538\Data\HELP\WebHelp
UserConfigFile: C:\Documents and Settings\******\Local Settings\Apps\2.0\Data\6LB3EOPX.E0Y\5A4NRPDM.PHE\liza...app_7a7f7e71d5fe3e24_0004.0001_f2d766f36896a538\Data\4.1.0.2827\user.config
LogFileFolder: C:\Documents and Settings\******\Application Data\LizardTech\GeoViewer\4.1.0.2827
Host Machine
------------
CommandLine: "C:\Documents and Settings\******\Local Settings\Apps\2.0\72ZDATRD.0XN\CB90LN2T.NN1\liza...app_7a7f7e71d5fe3e24_0004.0001_f2d766f36896a538\GeoViewer.exe"
ProcessorArchitecture: X86
CLR Version: 2.0.50727.3607
OS Version: Win32NT - 5.1.2600.196608 - Service Pack 3
Memory Usage
------------
Working Set: 48,746,496
MemoryLoad: 31
TotalPhysical: 2,145,456,128
AvailablePhysical: 1,473,634,304
TotalPageFile: 4,130,324,480
AvailablePageFile: 3,601,879,040
TotalVirtual: 2,147,352,576
AvailableVirtual: 1,954,738,176
Disk Usage
----------
System Drive (C:\)
UserFreeBytes: 37,576,101,888
UserTotalBytes: 71,436,554,240
AllFreeBytes: 37,576,101,888
Current Drive (C:\)
UserFreeBytes: 37,576,101,888
UserTotalBytes: 71,436,554,240
AllFreeBytes: 37,576,101,888