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
Related
I am facing an issue with Ninject IOC container.
I am using Sitecore 8.2 update 5 and switching from Lucene to Solr search engine using the steps mentioned in https://sitecorerockz.wordpress.com/2018/08/01/lucene-to-solr/
I am using Solr 6.6.3. Earlier this project was on Sitecore 6.X version and from time to time some upgrades happened, and now it is in Sitecore 8.2 update 5.
The same Solr setup is working fine for the fresh Sitecore 8.2 update 5 setup.
I created Solr diagnostic page and kept it in /Sitecore/admin folder to check the error details, I am getting the below error for all the indexes:
Solr Indexes Microsoft.Practices.ServiceLocation.ActivationException: Activation error occured while trying to get instance of type ISolrOperations`1, key "sitecore_analytics_index" ---> Ninject.ActivationException: Error activating ISolrOperations{Dictionary{string, Object}} No matching bindings are available, and the type is not self-bindable. Activation path: 1) Request for ISolrOperations{Dictionary{string, Object}} Suggestions: 1) Ensure that you have defined a binding for ISolrOperations{Dictionary{string, Object}}. 2) If the binding was defined in a module, ensure that the module has been loaded into the kernel. 3) Ensure you have not accidentally created more than one kernel. 4) If you are using constructor arguments, ensure that the parameter name matches the constructors parameter name. 5) If you are using automatic module loading, ensure the search path and filters are correct. at Ninject.KernelBase.Resolve(IRequest request) in c:\Projects\Ninject\ninject\src\Ninject\KernelBase.cs:line 376 at Ninject.ResolutionExtensions.Get(IResolutionRoot root, Type service, String name, IParameter[] parameters) in c:\Projects\Ninject\ninject\src\Ninject\Syntax\ResolutionExtensions.cs:line 164 at MyLibrary.test.Infrastructure.NinjectServiceLocator.DoGetInstance(Type serviceType, String key) in C:\test_Git\Sitecore\src\test\Infrastructure\NinjectServiceLocator.cs:line 15 at Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(Type serviceType, String key) in c:\Home\Chris\Projects\CommonServiceLocator\main\Microsoft.Practices.ServiceLocation\ServiceLocatorImplBase.cs:line 49 --- End of inner exception stack trace --- at Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(Type serviceType, String key) in c:\Home\Chris\Projects\CommonServiceLocator\main\Microsoft.Practices.ServiceLocation\ServiceLocatorImplBase.cs:line 53 at Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance[TService](String key) in c:\Home\Chris\Projects\CommonServiceLocator\main\Microsoft.Practices.ServiceLocation\ServiceLocatorImplBase.cs:line 103 at Sitecore.ContentSearch.SolrProvider.SolrSearchIndex.Initialize() at ASP._Page_sitecore_admin_solr_diagnostic_cshtml.Execute() in c:\test_Git\Sitecore\build\25Sep2019\Website\sitecore\admin\solr-diagnostic.cshtml:line 29
What am I missing, could you please advise me?
The SetLocatorProvider was getting initialized two times
Modified the Custom code related to Ninject IOC
Our current solution was using Ninject.dll 3.0.0.0 now I used new version of Ninject.dll which is 3.2.2.0 under folder bin>>Social
Replaced all the Solr dll files from fresh Sitecore 8.2 update 5 files
The SOAP-server (which I doesn't control) sent me back the answer, which contains the next section:
<ds:KeyInfo>
<ds:X509Data>
<ds:X509SubjectName>
EMAILADDRESS=***#******, CN=*********, OU=***, O=*****, L=****, ST=***, C=**
</ds:X509SubjectName>
</ds:X509Data>
</ds:KeyInfo>
The specification of Web Services Security
X.509 Certificate Token Profile 1.1 in section 3.2 is saying that <ds:X509Data> must be subelement of <wsse:SecurityTokenReference>.
Am I watching to right docs and am I right that server sending incorrect response?
Is there are ways to fix this on the client side?
p.s. I tried to change WSS4jInInterceptors and set some properties to change key type but I think I did this in incorrect way.
p.p.s And the error stacktrace below:
org.apache.cxf.binding.soap.SoapFault: BSP:R5417: Any SIG_KEY_INFO MUST contain a SECURITY_TOKEN_REFERENCE child element
at org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.createSoapFault(WSS4JInInterceptor.java:809)
at org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.handleMessage(WSS4JInInterceptor.java:313)
at org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.handleMessage(WSS4JInInterceptor.java:93)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:798)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1636)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1525)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1330)
at org.apache.cxf.io.CacheAndWriteOutputStream.postClose(CacheAndWriteOutputStream.java:56)
at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:215)
at org.apache.cxf.io.CacheAndWriteOutputStream.postClose(CacheAndWriteOutputStream.java:56)
at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:215)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:638)
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:326)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:279)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:137)
Caused by: org.apache.wss4j.common.ext.WSSecurityException: BSP:R5417: Any SIG_KEY_INFO MUST contain a SECURITY_TOKEN_REFERENCE child element
at org.apache.wss4j.dom.bsp.BSPEnforcer.handleBSPRule(BSPEnforcer.java:57)
at org.apache.wss4j.dom.processor.SignatureProcessor.handleToken(SignatureProcessor.java:158)
at org.apache.wss4j.dom.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:427)
at org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.handleMessage(WSS4JInInterceptor.java:257)
... 25 more
After some research I just removed the WSS4JInInterceptor and developed my custom validator.
I added the JSTL functions tag library into the folderViewer.jsff view in the WebCenter Portal 11.1.1.6.0 folderViewer taskflow (oracle.webcenter.doclib.view.jsf.taskflows.folderViewer), so that I can perform string operations prior to rendering the view.
I added it using the following mds:modify block in the folderViewer.jsff.xml MDS customization file:
<mds:modify element="(xmlns(jsp=http://java.sun.com/JSP/Page))/jsp:root">
<mds:attribute name="version" value="2.1"/>
<mds:attribute name="xmlns:fn" value="http://java.sun.com/jsp/jstl/functions"/>
</mds:modify>
This allows me to use the JSTL functions in EL statements, such as: startFolderPath=#{fn:replace(fn:substringAfter(item.url,'path'),'%20','%2520')}.
However, there seems to be an unintended side-effect of this in the folderViewer task flow. When there are over 50 subfolders in a folder, scrolling past the 50th subfolder and trying to navigate to one of the subfolders (i.e. navigating to subfolder #51) results in a WebCenter error page being displayed and the following error in the logs:
<Oct 28, 2013 3:10:54 PM CDT> <Error> <oracle.webcenter.webcenterapp.internal.view.webapp> <BEA-000000> <
oracle.mds.exception.MDSRuntimeException: invalid namespace http://java.sun.com/JSP/Page for prefix xmlns
invalid namespace http://java.sun.com/JSP/Page for prefix xmlns
at oracle.mds.core.MOTxnState.getDocument(MOTxnState.java:266)
at oracle.mds.core.UpdateableMOContent.getDocument(UpdateableMOContent.java:561)
at oracle.mds.core.MetadataObject.getDocument(MetadataObject.java:449)
at oracle.mds.core.MetadataObject.getDocument(MetadataObject.java:396)
...
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
>
<Oct 28, 2013 3:10:54 PM CDT> <Error> <oracle.webcenter.webcenterapp> <BEA-000000> <Internal Error (WCS#2013.10.28.15.10.54)>
If I remove the MDS customization to folderViewer.jsff.xml that adds the JSTL Functions tag library, this issue does not exist.
Does anyone know of a different way to add a new tag library via MDS customization?
Thanks,
Joe
It seems like its trying to give prefix xmlns instead of JSP
I'm just wonder if you changed the above code to the following, what will happen
<mds:modify element="jsp:root">
<mds:attribute name="version" value="2.1"/>
<mds:attribute name="xmlns:jsp" value="http://java.sun.com/JSP/Page"/>
<mds:attribute name="xmlns:fn" value="http://java.sun.com/jsp/jstl/functions"/>
</mds:modify>
I am seeing this when I try to login with CAS which is authenticating against AD over LDAP.
SEVERE: Servlet.service() for servlet cas threw exception
javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-031001E5, problem 2001 (NO_OBJECT), data 0, best match of:
''
]; remaining name '/'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3092)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3013)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2820)
at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1829)
at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1752)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:368)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:338)
at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:257)
at org.springframework.ldap.core.LdapTemplate$3.executeSearch(LdapTemplate.java:231)
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:293)
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:237)
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:588)
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:546)
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:401)
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:421)
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:441)
Up to that point I was authenticated by the BindLdapAuthenticationHandler, resolved, it generated a query builder and then threw this.
I think it is failing when it is trying to get attributes back. Why is the remaining name '/'?
Remaining name is a part of a DN that wasn't actually found at a certain level of a DIT. For example when you search cn=johns,ou=marketing,dc=example,dc=com and ou=marketing,dc=example,dc=com exists but cn=johns does not exists inside of ou=marketing then the remaning name would be cn=johns.
'/' does not look like a valid RDN. I would recommend to verify what you pass as a search base. Most likely it's an invalid DN string.
LDAP error code 32 means "no such object", in this case, perhaps the base object of the search did not exist.
I'm trying to load a dictionary that comes in with Debian Squeeze. Unfortunately radius-client library fails on some included file with:
rc_read_dictionary: unknown Vendor-Id encrypt=1 on line 7 of dictionary /usr/share/freeradius/dictionary.compat
The line is
ATTRIBUTE Password 2 string encrypt=1
Freeradius is installed from the package, so I assume this should work just fine... What could be the problem here?
Late answer, but it still might help others, I got bit by a related issue.
You're getting that error because you're trying to use a dictionary file designed for the FreeRADIUS server. The client library "freeradius-client" is not 100% compatible with that format. Specifically, in your case, it cannot handle the encrypt=1 property of the attribute.
The reason for the complaint about an unknown Vendor-Id is another incompatibility between FreeRADIUS server and the freeradius-client library. FreeRADIUS server expects dictionary files with vendor specific attributes (VSAs) like the following:
VENDOR Cisco 9
BEGIN-VENDOR Cisco
ATTRIBUTE Cisco-AVPair 1 string
ATTRIBUTE Cisco-NAS-Port 2 string
...
END-VENDOR Cisco
The freeradius-client library however can only parse VSAs in the following form:
VENDOR Cisco 9
ATTRIBUTE Cisco-AVPair 1 string vendor=Cisco
ATTRIBUTE Cisco-NAS-Port 2 string vendor=Cisco
The above is true for FreeRADIUS server v2.1.x and freeradius-client v1.1.6.