After creating a new Silverlight application from the JetPack theme template that was installed, I try to follow the instructions provided in the App.xaml file about how to enable themeing of silverlight toolkit controls,
<!--
<ResourceDictionary Source="Assets/ToolkitStyles.xaml"/>
To extend this theme to include the toolkit controls:
1. Install the Silverlight Toolkit for Silverlight 4
2. Add a Toolkit control to your project from the toolbox. This will add references to toolkit assemblies.
3. Change the "Build Action" for ToolkitStyles.xaml to "Page"
4. Uncomment the resource dictionary include above.
If you do not intend to use toolkit controls, delete this comment and the ToolkitStyles.xaml file.-->
I follow the instructions correctly but the project now does not compile, here are the 39 or so errors it throws out.
I'm new to Silverlight (coming from MVC/jQuery) and it might be something I'm doing.
Error 40 An error occurred while finding the resource dictionary "Assets/ToolkitStyles.xaml". X:\Projects\ISMM\ISMM.SilverlightUI\app.xaml 18 17 ISMM.SilverlightUI
Error 20 Assembly 'System.Windows.Controls.DataVisualization.Toolkit' was not found. Verify that you are not missing an assembly reference. Also, verify that your project and all referenced assemblies have been built. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1 603 ISMM.SilverlightUI
Error 19 Assembly 'System.Windows.Controls.Input.Toolkit' was not found. Verify that you are not missing an assembly reference. Also, verify that your project and all referenced assemblies have been built. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1 421 ISMM.SilverlightUI
Error 39 The attachable property 'Effect' was not found in type 'Legend'. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 2204 38 ISMM.SilverlightUI
Error 34 The attachable property 'IsFieldGroup' was not found in type 'DataField'. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1738 27 ISMM.SilverlightUI
Error 31 The attachable property 'LayoutTransform' was not found in type 'LayoutTransformer'. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1619 38 ISMM.SilverlightUI
Error 13 The property 'IsFieldGroup' does not exist on the type 'Grid' in the XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit'. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1738 27 ISMM.SilverlightUI
Error 11 The tag 'AccordionButton' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit'. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1622 38 ISMM.SilverlightUI
Error 2 The tag 'ButtonSpinner' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit'. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 565 26 ISMM.SilverlightUI
Error 3 The tag 'ButtonSpinner' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit'. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 665 26 ISMM.SilverlightUI
Error 4 The tag 'ButtonSpinner' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit'. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 896 26 ISMM.SilverlightUI
Error 16 The tag 'EdgePanel' does not exist in XML namespace 'clr-namespace:System.Windows.Controls.DataVisualization.Charting.Primitives;assembly=System.Windows.Controls.DataVisualization.Toolkit'. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 2199 34 ISMM.SilverlightUI
Error 1 The tag 'ExpandableContentControl' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit'. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 365 34 ISMM.SilverlightUI
Error 12 The tag 'ExpandableContentControl' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit'. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1624 34 ISMM.SilverlightUI
Error 9 The tag 'LayoutTransformer' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit'. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1455 38 ISMM.SilverlightUI
Error 10 The tag 'LayoutTransformer' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit'. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1618 34 ISMM.SilverlightUI
Error 17 The tag 'Legend' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit'. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 2203 34 ISMM.SilverlightUI
Error 5 The tag 'LinearClipper' does not exist in XML namespace 'clr-namespace:System.Windows.Controls.Primitives;assembly=System.Windows.Controls.Input.Toolkit'. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 975 26 ISMM.SilverlightUI
Error 7 The tag 'ListTimePickerPopup' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit'. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1122 22 ISMM.SilverlightUI
Error 14 The tag 'ResourceDictionaryCollection' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit'. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1960 18 ISMM.SilverlightUI
Error 6 The tag 'TimePickerPopupTemplate' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit'. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1121 18 ISMM.SilverlightUI
Error 8 The tag 'TimeUpDown' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit'. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1230 26 ISMM.SilverlightUI
Error 15 The tag 'Title' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit'. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 2193 30 ISMM.SilverlightUI
Error 37 The type 'dvp:EdgePanel' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 2199 34 ISMM.SilverlightUI
Error 25 The type 'prim:LinearClipper' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 975 26 ISMM.SilverlightUI
Error 32 The type 'toolkit:AccordionButton' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1622 38 ISMM.SilverlightUI
Error 22 The type 'toolkit:ButtonSpinner' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 565 26 ISMM.SilverlightUI
Error 23 The type 'toolkit:ButtonSpinner' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 665 26 ISMM.SilverlightUI
Error 24 The type 'toolkit:ButtonSpinner' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 896 26 ISMM.SilverlightUI
Error 21 The type 'toolkit:ExpandableContentControl' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 365 34 ISMM.SilverlightUI
Error 33 The type 'toolkit:ExpandableContentControl' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1624 34 ISMM.SilverlightUI
Error 29 The type 'toolkit:LayoutTransformer' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1455 38 ISMM.SilverlightUI
Error 30 The type 'toolkit:LayoutTransformer' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1618 34 ISMM.SilverlightUI
Error 38 The type 'toolkit:Legend' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 2203 34 ISMM.SilverlightUI
Error 27 The type 'toolkit:ListTimePickerPopup' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1122 22 ISMM.SilverlightUI
Error 35 The type 'toolkit:ResourceDictionaryCollection' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1960 18 ISMM.SilverlightUI
Error 26 The type 'toolkit:TimePickerPopupTemplate' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1121 18 ISMM.SilverlightUI
Error 28 The type 'toolkit:TimeUpDown' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1230 26 ISMM.SilverlightUI
Error 36 The type 'toolkit:Title' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. X:\Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 2193 30 ISMM.SilverlightUI
Looks like Toolkit problems. What references have you got in the project?
There are quite a few assemblies that make up the toolkit. Looks like some of them it wants are 'System.Windows.Controls.DataVisualization.Toolkit' and 'System.Windows.Controls.Input.Toolkit'. The DockPanel is part of 'System.Windows.Controls.Toolkit' or something similar so that one might have been added when you dragged a DockPanel in.
I had a similar problem and I resolved it by adding references to System.Windows.Controls.Input.Toolkit and System.Windows.Controls.DataVisualization.Toolkit
Related
When trying to use the hub.load function from tensorflow_hub, I get an OSError: SavedModel file does not exist at: error.
The weird thing is that it worked a few days ago, so I don't quite understand why I'm getting this error now.
Code to reproduce:
import tensorflow as tf
import tensorflow_hub as hub
URL = 'https://tfhub.dev/google/universal-sentence-encoder/4'
embed = hub.load(URL)
Specific error received:
OSError Traceback (most recent call last)
<ipython-input-11-dfb80f0299b2> in <module>
1 URL = 'https://tfhub.dev/google/universal-sentence-encoder/4'
----> 2 embed = hub.load(URL)
~/opt/anaconda3/lib/python3.7/site-packages/tensorflow_hub/module_v2.py in load(handle, tags)
100 if tags is None and is_hub_module_v1:
101 tags = []
--> 102 obj = tf_v1.saved_model.load_v2(module_path, tags=tags)
103 obj._is_hub_module_v1 = is_hub_module_v1 # pylint: disable=protected-access
104 return obj
~/opt/anaconda3/lib/python3.7/site-packages/tensorflow/python/saved_model/load.py in load(export_dir, tags)
576 ValueError: If `tags` don't match a MetaGraph in the SavedModel.
577 """
--> 578 return load_internal(export_dir, tags)
579
580
~/opt/anaconda3/lib/python3.7/site-packages/tensorflow/python/saved_model/load.py in load_internal(export_dir, tags, loader_cls)
586 tags = nest.flatten(tags)
587 saved_model_proto, debug_info = (
--> 588 loader_impl.parse_saved_model_with_debug_info(export_dir))
589
590 if (len(saved_model_proto.meta_graphs) == 1 and
~/opt/anaconda3/lib/python3.7/site-packages/tensorflow/python/saved_model/loader_impl.py in parse_saved_model_with_debug_info(export_dir)
54 parsed. Missing graph debug info file is fine.
55 """
---> 56 saved_model = _parse_saved_model(export_dir)
57
58 debug_info_path = os.path.join(
~/opt/anaconda3/lib/python3.7/site-packages/tensorflow/python/saved_model/loader_impl.py in parse_saved_model(export_dir)
111 (export_dir,
112 constants.SAVED_MODEL_FILENAME_PBTXT,
--> 113 constants.SAVED_MODEL_FILENAME_PB))
114
115
OSError: SavedModel file does not exist at: /var/folders/77/rvfl368x44s51r8dc3b6l2rh0000gn/T/tfhub_modules/063d866c06683311b44b4992fd46003be952409c/{saved_model.pbtxt|saved_model.pb}
So, just deleting that folder and running the hub.load() function again solves the issue
I have tried the above solution, but it didn't work for me...
Here's what worked:
Download the model from tfhub.dev with assets, variables and .pb checkpoint file.
Make sure you import tensorflow_text module!
import tensorflow_text
Specify the downloaded folder path in the hub.load() statement as in:
model =
hub.load("/Users/bilguun/Desktop/universal-sentence-encoder-multilingual-large_3/")
I was using i3d = hub.load(https://tfhub.dev/deepmind/i3d-kinetics-400/1).signatures['default'] as shown here
This method of loading the model worked in that day but after a few days I got the same error: OSError: SavedModel file does not exist at: C:\Users\catal\AppData\Local\Temp\tfhub_modules\092225fb776e28d6d64ac605ab6be03f18dd2027{saved_model.pbtxt|saved_model.pb}
After doing some research, I understood that the saved_model file location (specified in the error) was temporary so even if that folder still exists, there is no more saved_model.pb in it. So I downloaded the model linked here: https://tfhub.dev/deepmind/i3d-kinetics-400/1 and set i3d = hub.load("C:\\absolute_path_to_saved_model_folder").signatures['default'] and it worked.
So using Bilguun's answer really helped in my case.
This kind of error happens because the downloaded model is saved in temporary folder created by the application.
Since it is a temporary folder, the model saved in it may gets deleted or even the folder can be deleted.
When calling the hub.load() command, the programme checks for the temporary folder, if the folder is not found, the program will download the data from internet.
But if the folder is found and the data(or model) is not there, instead of downloading from the internet, it raises an error.
It can be resolved by deleting the temporary folder completely.
In Mac the temporary folder can be accessed by the command "open $TMPDIR" on the terminal( reference : https://osxdaily.com/2018/08/17/where-temp-folder-mac-access/).
The name of the folder can be get from the raised error and can be deleted easily .
DNN: 8.0.4
2sxc: 9.32.0
This is an upgrade to 8.0.4 from an earlier version, but the site is running with no problems.
I added a Content module to a page and selected the "Title Over Image" content item. I get this error:
Error: System.IO.FileLoadException: Could not load file or assembly 'System.Web.Helpers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) File name: 'System.Web.Helpers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' at Connect.Dnn.Koi.DnnSkinFile.AutoDetect() at Connect.Koi.Context.HttpContextState.TryToDetectTheCssFramework() at Connect.Koi.Context.HttpContextState.get_CssFramework() at Connect.Koi.Context.ToolsForCurrentState.get_Css() at Connect.Koi.Koi.get_IsUnknown() at ASP._Page_Portals_781_2sxc_Content__Shared___Koi_Admin_Messages_cshtml.Execute() in c:\inetpub\vhosts\dev.patapscoresearch.com\httpdocs\Portals\781\2sxc\Content_Shared - Koi Admin Messages.cshtml:line 8 at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) at System.Web.WebPages.WebPageBase.<>c__DisplayClass7.b__6(TextWriter writer) at System.Web.WebPages.HelperResult.WriteTo(TextWriter writer) at System.Web.WebPages.WebPageBase.Write(HelperResult result) at ASP._Page_Portals_781_2sxc_Content__Shared___Assets_cshtml.Execute() in c:\inetpub\vhosts\dev.patapscoresearch.com\httpdocs\Portals\781\2sxc\Content_Shared - Assets.cshtml:line 2 at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) at System.Web.WebPages.WebPageBase.<>c__DisplayClass7.b__6(TextWriter writer) at System.Web.WebPages.HelperResult.WriteTo(TextWriter writer) at System.Web.WebPages.WebPageBase.Write(HelperResult result) at ASP._Page_Portals_781_2sxc_Content__Content___Image_full_width_text_cshtml.Execute() in c:\inetpub\vhosts\dev.patapscoresearch.com\httpdocs\Portals\781\2sxc\Content_Content - Image full-width text.cshtml:line 4 at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) at ToSic.SexyContent.Engines.RazorEngine.Render(TextWriter writer) in C:\Projects\2sxc-dnn742\Website\DesktopModules\ToSIC_SexyContent\2Sexy Content Razor\RazorEngine.cs:line 65 at ToSic.SexyContent.Engines.RazorEngine.RenderTemplate() in C:\Projects\2sxc-dnn742\Website\DesktopModules\ToSIC_SexyContent\2Sexy Content Razor\RazorEngine.cs:line 92 at ToSic.SexyContent.Engines.EngineBase.Render() in C:\Projects\2sxc-dnn742\Website\DesktopModules\ToSIC_SexyContent\ToSic.Sxc\SexyContent\Engines\EngineBase.cs:line 92 at ToSic.SexyContent.SxcInstance.Render() in C:\Projects\2sxc-dnn742\Website\DesktopModules\ToSIC_SexyContent\ToSic.Sxc\SexyContent\SxcInstance_Render.cs:line 58 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].
Check your web.config for empty xmlns tags like:
<assemblyBinding xmlns="">
And remove them, like:
<assemblyBinding>
That worked for me...
My guess is that for some unclear reason, you're missing a web.config in the folder structure. Best compare it with a working setup - you should see a web.config in the portals/x/2sxc folder. I think that should fix it.
This was also asked in https://github.com/2sic/2sxc/issues/1595 and there a solution was found. pls check that.
This crash only happens on iOS 11, I have no idea how to fix it.
The crash happens when tapping on the [Show All] button on the new toolbar for iOS 11's EKCalendarChooser class, but while it's selectionStyle set to .single:
Fatal Exception: NSInternalInconsistencyException Invalid style
Fatal Exception: NSInternalInconsistencyException
0 CoreFoundation 0x1830e3d38 __exceptionPreprocess
1 libobjc.A.dylib 0x1825f8528 objc_exception_throw
2 CoreFoundation 0x1830e3c0c +[NSException raise:format:]
3 Foundation 0x183a72c24 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:]
4 EventKitUI 0x1941ad908 -[EKCalendarChooser _selectAllCalendarsAndStores:]
5 EventKitUI 0x1941a6384 -[EKCalendarChooser showAllButtonPressed]
6 UIKit 0x18c52820c -[UIApplication sendAction:to:from:forEvent:]
7 UIKit 0x18c68253c -[UIBarButtonItem(UIInternal) _sendAction:withEvent:]
8 UIKit 0x18c52820c -[UIApplication sendAction:to:from:forEvent:]
9 UIKit 0x18c52818c -[UIControl sendAction:to:forEvent:]
10 UIKit 0x18c512f4c -[UIControl _sendActionsForEvents:withEvent:]
11 UIKit 0x18c5130b4 -[UIControl _sendActionsForEvents:withEvent:]
12 UIKit 0x18c527a80 -[UIControl touchesEnded:withEvent:]
13 UIKit 0x18cb73ec8 _UIGestureEnvironmentSortAndSendDelayedTouches
14 UIKit 0x18cb6f488 _UIGestureEnvironmentUpdate
15 CoreFoundation 0x18308b8b8 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__
16 CoreFoundation 0x183089270 __CFRunLoopDoObservers
17 CoreFoundation 0x18308982c __CFRunLoopRun
18 CoreFoundation 0x182faa2d8 CFRunLoopRunSpecific
19 GraphicsServices 0x184e3bf84 GSEventRunModal
20 UIKit 0x18c557880 UIApplicationMain
21 MyApp1 0x104d92be4 main (AppDelegate.swift:15)
22 libdyld.dylib 0x182ace56c start
I wonder is there a way to hide the new toolbar?
=====
Edited on 19 Nov 2017
Screenshot added to show the new toolbar:
Once the selectedCalendars is left empty, the new toolbar is showing. Once the button [Show All] taps, the crash occurs.
I have encountered the same error and discovered a strange but surprisingly effective method of solving it. Turns out if you clear out the selected calendars set before presenting the view controller the toolbar disappears, thus protecting from the crash.
calendarChooser.selectedCalendars = Set();
In a Silverlight project I am working on; I am occasionally seeing exceptions with messages like System.Exception: 3000 An error has occurred. The numbers vary, though - I have seen 3000, 3001, 4001, and 3137. These appear when playing/accessing different media, and Google searches confirm that they are media related.
These obviously mean something specific; but none of them are obvious in meaning. Are these procedurally generated? Is there an easy way besides scouring forums/Google to determine what the different numbers mean?
Are you referring to this: http://blogs.msdn.com/b/silverlight_sdk/archive/2009/07/08/silverlight-plug-in-error-messages.aspx
Error Code Error Message
1001 AG_E_UNKNOWN_ERROR
2000 Document is not well-formed XAML.
2001 DTDs are not allowed.
2002 Entity references to named entities other than lt, gt, amp, apos, and quot are not allowed.
2003 Entity definitions are not allowed.
2004 Only UTF-8 and UTF-16 encodings are supported.
2005 Unknown namespace %0.
2007 Unknown element: %0.
2008 Cannot specify the value multiple times for properties.
2009 Cannot specify content for %0 and set its %1 property at the same time.
2010 %0 does not support %1 as content.
2011 %0 does not support text content.
2012 Unknown attribute %0 on element %1.
2013 Attribute %0 value is out of range.
2014 The attribute %0 is read only and cannot be set.
2015 Cannot declare custom namespaces in JavaScript.
2016 Cannot specify both Name and x:Name attributes.
2017 Null is not a legal value for attribute %0.
2018 The element %0 does not support attributes.
2019 Xaml may not use base type names, use %0 instead.
2020 Invalid Property: %0.
2021 Invalid enum value.
2022 Unknown Color: %0.
2023 %0 is not an event.
2024 Invalid attribute value %0 for property %1.
2025 AG_E_PARSER_ATTRIBUTE
2027 AG_E_PARSER_ELEMENT
2028 The name already exists in the tree: %0.
2030 Property element %0 cannot be used inside another property element.
2031 The property element %0 must appear before other content.
2033 Cannot specify the value multiple times for property: %0.
2034 Elements in a ResourceDictionary must have x:Key or x:Name attribute.
2035 The element is not valid in the given namespace.
2036 XamlReader.Load() does not accept event handlers.
2100 AG_E_INIT_CALLBACK
2101 Failed to initialize the application's root visual
2102 Invalid source file specified on Silverlight plug-in. Expected Uri for application file
2103 Invalid or malformed application: Check manifest
2104 Could not download the Silverlight application. Check web server settings
2105 Failed to load pre-requisites for the application
2106 Failed to load the application. It was built with an obsolete version of Silverlight
2107 Splash screen file needs to be on the same domain as the application
2108 Failed to download the splash screen
2150 Failed to load a platform extension. Possibly corrupt or non-existent file: %0
2152 Failed to download a platform extension: %0
2153 Failed to load a platform extension. Possibly corrupt or invalid file: %0
2201 AG_E_RUNTIME_INVALID_CALL
2202 AG_E_RUNTIME_FINDNAME
2203 AG_E_RUNTIME_SETVALUE
2204 AG_E_RUNTIME_GETVALUE
2205 AG_E_RUNTIME_ADDEVENT
2206 AG_E_RUNTIME_DELEVENT
2207 AG_E_RUNTIME_METHOD
2208 AG_E_RUNTIME_GETHOST
2209 AG_E_RUNTIME_GETPARENT
2210 AG_E_INVALID_ARGUMENT
2211 AG_E_RUNTIME_HTML_ACCESS_RESTRICTED
2212 Animation target not specified.
2213 Cannot resolve TargetName %0.
2214 Cannot resolve TargetProperty %0 on specified object.
2215 %0 cannot be used to animate property %1 due to incompatible type.
2216 Multiple animations in the same containing Storyboard cannot target the same property on a single element.
2217 KeyTime property on KeyFrame object must be set to a non-negative TimeSpan value.
2218 Operation is not valid on an active Animation or Storyboard. Root Storyboard must be stopped first.
2219 Operation is not allowed on a non-root Storyboard.
2220 Cannot determine Storyboard Duration.
2221 Shader file %0 not found.
2222 Invalid shader.
2250 AG_E_RUNTIME_MANAGED_UNKNOWN_ERROR
2251 AG_E_RUNTIME_MANAGED_ACTIVATION
2252 AG_E_RUNTIME_MANAGED_ASSEMBLY_DOWNLOAD
2253 AG_E_RUNTIME_MANAGED_ASSEMBLY_LOAD
2254 AG_E_PARSER_UNKNOWN_TYPE
2255 AG_E_PARSER_BAD_TYPE
2256 AG_E_PARSER_BAD_NATIVE_TYPE
2257 AG_E_PARSER_CREATE_OBJECT_FAILED
2258 AG_E_PARSER_PROPERTY_NOT_FOUND
2259 AG_E_PARSER_BAD_PROPERTY_TYPE
2260 AG_E_PARSER_BAD_PROPERTY_VALUE
2261 AG_E_PARSER_ROOT_NOT_CUSTOM
2262 AG_E_PARSER_NAMESPACE_NOT_SUPPORTED
2263 AG_E_PARSER_MISSING_DEFAULT_NAMESPACE
2264 AG_E_PARSER_INVALID_XMLNS
2265 AG_E_PARSER_INVALID_CLASS
2266 AG_E_RUNTIME_MANAGED_BAD_DLR_SCRIPT
2267 AG_E_PARSER_INVALID_XCODE_TAG
2268 AG_E_PARSER_ELEMENT_IGNORED
2269 Elements in a ResourceDictionary must not set both x:Name and x:Key, or x:Key twice
2270 Attribute x:Key set on an invalid object, only objects in a ResourceDictionary can have x:Key
2271 Improper syntax for Static Resource (ie: {StaticResource Key})
2272 Cannot find a Resource with the Name/Key %0
2273 Elements in the same ResourceDictionary cannot have the same x:Key
2274 AG_E_RUNTIME_MANAGED_ASSEMBLY_NOT_FOUND
2275 Invalid characters in Source Uri.
3000 AG_E_UNABLE_TO_PLAY
3001 AG_E_INVALID_FILE_FORMAT
3002 AG_E_NOT_FOUND
3003 AG_E_MEDIA_DISCONNECTED
3004 Invalid ASX element
3005 Invalid ASX attribute
3006 Unsupported ASX element
3007 Unsupported ASX attribute
3008 ASX parse error
4000 AG_E_ABORT_FAILED
4001 AG_E_NETWORK_ERROR
4002 AG_E_ACCESS_DENIED
4003 AG_E_INVALID_POLICY
4004 AG_E_MANAGED_EXCEPTION
4005 XamlReader.Load() does not support x:Class.
4006 Only the root element can have an x:Class attribute.
4007 The root element must be <UserControl>, not a subclass of UserControl.
4008 Layout cycle detected. Layout could not complete.
4009 Element is already the child of another element.
4010 The ItemsControl.ItemsPanelTemplate must have a derivative of Panel as the root element.
4011 Setting the Template property on a UserControl is not supported.
4012 Cannot explicitly modify Children collection of Panel used as ItemsPanel for ItemsControl. ItemsControl generates child elements for Panel.
4013 Cycle detected in merged resource dictionaries
4014 Local values are not allowed in resource dictionary with Source set
4015 This Style's hierarchy of BasedOn references contains a loop.
4016 Can only base on a Style with target type that is base type of this style's target type.
4017 A Style cannot be based on itself.
4018 After a Style is in use (sealed), it cannot be modified.
4019 Must have non-null value for TargetType.
4020 '%0' is not a valid value for property '%1'.
4021 Using NavigationState requires a hidden <iframe id='_sl_historyFrame'> element in HTML.
4022 Mouse promotion can only be suspended on a primary TouchPoint’s down action.
4023 Navigation is prohibited for this Silverlight application.
6000 Unable to play protected content
6001 Unable to individualize due to a network or protocol error
6002 Unable to acquire license due to a network or protocol error
6003 Unable to individualize due to an installation failure
6004 Update of Silverlight required
6005 Incorrect header format for protected media file
6006 Unable to process license
6007 Unable to acquire license due to an application specific error
6008 Individualization disabled by user
7000 unexpected end of input
7001 unrecognized encoding
7002 unable to switch the encoding
7003 unrecognized input signature
7004 whitespace expected
7005 semicolon expected
7006 '>' expected
7007 quote expected
7008 equal expected
7009 wfc: no '<' in attribute value
7010 hexadecimal digit expected
7011 decimal digit expected
7012 '[' expected
7013 '(' expected
7014 illegal xml character
7015 illegal name character
7016 incorrect document syntax
7017 incorrect CDATA section syntax
7018 incorrect comment syntax
7019 incorrect conditional section syntax
7020 incorrect ATTLIST declaration syntax
7021 incorrect DOCTYPE declaration syntax
7022 incorrect ELEMENT declaration syntax
7023 incorrect ENTITY declaration syntax
7024 incorrect NOTATION declaration syntax
7025 NDATA expected
7026 PUBLIC expected
7027 SYSTEM expected
7028 name expected
7029 one root element
7030 wfc: element type match
7031 wfc: unique attribute spec
7032 text/xmldecl not at the beginning of input
7033 leading \'xml\'
7034 incorrect text declaration syntax
7035 incorrect xml declaration syntax
7036 incorrect encoding name syntax
7037 incorrect public identifier syntax
7038 wfc: pes in internal subset
7039 wfc: pes between declarations
7040 wfc: no recursion
7041 entity content not well formed
7042 wfc: undeclared entity
7043 wfc: parsed entity
7044 wfc: no external entity references
7045 incorrect processing instruction syntax
7046 incorrect system identifier syntax
7047 '?' expected
7048 no ']]>' in element content
7049 not all chunks of value have been read
7050 DTD was found but is prohibited
7051 illegal qualified name character
7052 multiple colons in qualified name
7053 colon in name
7054 declared prefix
7055 undeclared prefix
7056 non default namespace with empty uri
7057 'xml' prefix is reserved and must have the http://www.w3.org/XML/1998/namespace URI
7058 'xmlns' prefix is reserved for use by XML
7059 xml namespace URI (http://www.w3.org/XML/1998/namespace) must be assigned only to prefix 'xml'
7060 xmlns namespace URI (http://www.w3.org/2000/xmlns/) is reserved and must not be used
7061 invalid decimal
7062 invalid hexidecimal
7063 invalid unicode
7064 invalid encoding
8001 Upgrade required
8002 Browser restart required
I downloaded a code a link after i run it from VS2010 the error show up
Warning 3 The tag 'RemoteDesktopWpf' does not exist in XML namespace 'clr-namespace:VncSharpWpf;assembly=VncSharpWpf'. Line 44 Position 14. C:\VNCSHARPWPF\VncSharpWpf-0.0.2_2\VncSharpWpf_Example\MainWindow.xaml 44 14 VncSharpWpf_Example
Warning 2 Importing key file "VncSharpWpf.pfx" was canceled. VncSharpWpf
Warning 1 Cannot import the following key file: VncSharpWpf.pfx. The key file may be password protected. To correct this, try to import the certificate again or manually install the certificate to the Strong Name CSP with the following key container name: VS_KEY_1F91AEA45AB30623 VncSharpWpf
Delete VncSharpWpf.pfx from project VncSharpWpf, and you can build the project.