I have a silver application that is giving the following error:
Error: Unhandler error in Silverlight Application
Code: 2104
Category: InitializeError
Code: 0
Message: 2104 An error has occurred.
I have done some research on the error and most feedback seems to be related to MIME types.
I have added the following mime types to the website in IIS:
.xaml application/xaml+xml
.xap application/x-silverlight-app
.xbap application/x-ms-xbap
But I still received the same error.
Is there any other area that I should investigate or perhaps some tool that I could use to investigate what is happening.
Any assistance would be greately appreciated.
Many thanks,
Joseph
Have you tried using Fiddler? This should give you some insight to the issue and/or the root cause.
Related
I recently upgraded my WP8 Silverlight Application to 8.1 Silverlight.
But now, ehwn building I always get this error message
AppManifest Validation failed. Invalid AppPlatformVersion in WMAppmanifest.xml Bedtime Music
What went wrong and how can I fix this.
Thanks
Nah, I found out by myself:
In the WMAppmanifest file there is this line:
<Deployment xmlns="http://schemas.microsoft.com/windowsphone/2012/deployment" AppPlatformVersion="8.0">
To deal with the resulting error that occurs when just setting 8.0 to 8.1 I also needed to change the year from 2012 to 2014
<Deployment xmlns="http://schemas.microsoft.com/windowsphone/2014/deployment" AppPlatformVersion="8.1">
Also somewehere else in the file.
I would like to set up an AppEngine service locally. Everything compiles, but when i try to run the project, I get this error:
SEVERE: Received exception processing C:\Users\eazyigz\Google Drive\Books\Android eBooks\Apress Practical Android Projects\PracticalAndroidProjectsSourceCode\Projects\08_GameService\war\WEB-INF/appengine-web.xml
com.google.apphosting.utils.config.AppEngineConfigException: appengine-web.xml does not contain a element.
See http://code.google.com/appengine/docs/java/config/appconfig.html#Using_Concurrent_Requests for more information.
You probably want to enable concurrent requests.
at com.google.apphosting.utils.config.AppEngineWebXmlReader.readAppEngineWebXml(AppEngineWebXmlReader.java:79)
at com.google.apphosting.utils.config.EarHelper.readWebModule(EarHelper.java:130)
at com.google.appengine.tools.development.AbstractContainerService.loadAppEngineWebXml(AbstractContainerService.java:334)
at com.google.appengine.tools.development.JettyContainerService.initContext(JettyContainerService.java:160)
at com.google.appengine.tools.development.AbstractContainerService.startup(AbstractContainerService.java:227)
at com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:157)
at com.google.appengine.tools.development.DevAppServerMain$StartAction.apply(DevAppServerMain.java:333)
at com.google.appengine.tools.util.Parser$ParseResult.applyArgs(Parser.java:48)
at com.google.appengine.tools.development.DevAppServerMain.(DevAppServerMain.java:269)
at com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:245)
When I do enable threadsafe, Eclipse shows this compilation error:
I simply don't understand what is happening. Can somebody shed some light?
Thank you,
Igor
You should put <threadsafe> into appengine-web.xml file, not web.xml
You need to add true to the file "appengine-web.xml" instead of the "web.xml"
https://developers.google.com/appengine/docs/java/config/appconfig#Using_Concurrent_Requests
How do you fix xml validation errors in appengine.web.xml.
First the error message told me to add "true".
And now it just fails, saying that the valiadtion failed - but, what to do?
I did fix this, by creating a new ApEngine project and copied it over, but how do you find the errors?
Looking for the process on finding the errors?
Regards
I just upgraded my machine to Silverlight version 4.0.60831.0 to see if it would help with some Memory leaking issues that I'm seeing.
Now when I try to use WinDbg and attempt to load the SOS.dll I realize that there is no SOS.dll for the .60831 version. I loaded the previous 4.0.60531.0 version, but when I attempt to dumpheap, I get the following error:
The version of SOS does not match the version of CLR you are debugging. Please
load the matching version of SOS for the version of CLR you are debugging.
CLR Version: 4.0.60831.0
SOS Version: 4.0.60531.0
I tried the .loadby command and that was unsuccessful as well
0:028> .loadby sos coreclr
The call to LoadLibrary(c:\Program Files (x86)\Microsoft Silverlight\4.0.60831.0\sos) failed, Win32 error 0n126
"The specified module could not be found."
Please check your debugger configuration and/or network access.
This makes sense because there is no SOS.dll file in that directory.
Is there something I missed somewhere?
Thanks in advance
sos.dll for Silverlight 4 comes with Silverlight 4 Developer Runtime.
http://go.microsoft.com/fwlink/?LinkID=146060
It will download Silverlight_Developer.exe which will contain sos.dll 4.0.60831.0
which is the corresponding developer runtime for Silverlight.
I am using Eclipse CDT, with MinGW and under Windows XP, to developp a little C program exporting itself as a JNI-compliant DLL.
Debugging the program from the Java calls is not easy, and thus I added a "Debug" configuration to my project and a main method that tests some functions.
When I launch the debug, i get this weird Java error :
An internal error occurred during: "Launching NuanceWrapper.exe".
java.lang.IllegalArgumentException
It seems very much like it is an internal Eclipse problem. I got the stacktrace of the exception in the .log file of the .metadata folder :
!ENTRY org.eclipse.core.jobs 4 2 2011-02-04 14:08:31.531
!MESSAGE An internal error occurred during: "Launching Wrapper.exe".
!STACK 0
java.lang.IllegalArgumentException
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.getBundles(PackageAdminImpl.java:571)
at org.eclipse.core.internal.runtime.InternalPlatform.getBundle(InternalPlatform.java:181)
at org.eclipse.core.runtime.Platform.getBundle(Platform.java:1416)
at org.springframework.ide.eclipse.core.BundleStateLocationVariableResolver.resolveValue(BundleStateLocationVariableResolver.java:32)
at org.eclipse.core.internal.variables.DynamicVariable.getValue(DynamicVariable.java:54)
at org.eclipse.cdt.internal.core.cdtvariables.EclipseVariablesVariableSupplier$EclipseVarMacro.loadValue(EclipseVariablesVariableSupplier.java:103)
at org.eclipse.cdt.internal.core.cdtvariables.EclipseVariablesVariableSupplier$EclipseVarMacro.getStringValue(EclipseVariablesVariableSupplier.java:90)
at org.eclipse.cdt.dsf.gdb.launching.LaunchUtils.getLaunchEnvironment(LaunchUtils.java:385)
at org.eclipse.cdt.dsf.gdb.launching.LaunchUtils.getGDBVersion(LaunchUtils.java:281)
at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.getGDBVersion(GdbLaunchDelegate.java:243)
at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launchDebugSession(GdbLaunchDelegate.java:129)
at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launchDebugger(GdbLaunchDelegate.java:83)
at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launch(GdbLaunchDelegate.java:72)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:702)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:923)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1126)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Any idea what could be the problem ? I really need this debug functionality in order to understand what is wrong in my code.
Thank you for your answers.
I looked at the source code of the different files of your stack trace, and it seems to be a problem with your CDT project's configuration. You should check the settings here and try to change them.
One of the CDT build variables seems to be wrong. In LaunchUtils.java, line 390, var.getStringValue() is causing the issue because in this variable (var), which contains a name and an associated value, the value is null.
Hope this helps.
Had the same problem. the next string from the exception stack trace:
at org.springframework.ide.eclipse.core.BundleStateLocationVariableResolver.resolveValue(BundleStateLocationVariableResolver.java:32)
led me to the idea that SpringSource ToolSuite (or Spring IDE) could cause the issue. After uninstalling it and all its components the problem was gone.
Hope this helps.