Conversion of Metadata Plist string Failed - core-data

In xCode, I'm building an iPhone app with Core Data, and with Objective C Exceptions checked for the Build, I'm receiving the following error in the Console:
Unresolved error Error Domain=NSCocoaErrorDomain Code=259 "The operation couldn’t be completed. (Cocoa error 259.)" UserInfo=0x611c2c0 {NSUnderlyingException=An error occurred converting the metadata plist: Conversion of string failed. The string is empty.}, {
NSUnderlyingException = "An error occurred converting the metadata plist: Conversion of string failed. The string is empty.";
}
This occurs when I try to run the app on the Simulator, and the app dies. When I try to run the app on my device (iPhone 3g), the program runs with the expected DB with full functionality, but when I close the app, the app will not reload on the device.
Any assistance will be appreciated. Thanks!!

Related

Parser Error Message: Could not load type 'MvcInterop.InteropMasterPage'

I am receiving this error when running an ASP.NET MVC 5.27 application. I am running Visual Studio 2017. I have all the web developer tools installed for Visual Studio.
Server Error in '/' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type 'MvcInterop.InteropMasterPage'.

Azure Machine Learning studio: Failed to parse parameter

I keep getting Error 002: Failed to parse parameter in the "Score Matchbox Recommender" box.
I'm using Azure's default "Recommender: Movie recommendation" sample project.
I've tried referring to an online video too, followed same steps but to no avail. Still getting error 002.
https://www.youtube.com/watch?v=3cNd_YRAsdk
Full error code below.
requestId = 8ce5b273ae124cd5a5d872e5a509fe45 errorComponent=Module. taskStatusCode=400. {"Exception":{"ErrorId":"ParameterParsing","ErrorCode":"0002","ExceptionType":"ModuleException","Message":"Error 0002: Failed to parse parameter"}}Error: Error 0002: Failed to parse parameter Process exited with error code -2
Does anyone have any idea what's wrong?

Azure Notification Hub not working in WUP app made on Unity3D

I'm trying to use Azure Notification Hub to handle my MPNS WUP app notifications on a Unity3D generated project.
I used the following article to setup it in Visual Studio 2015 on the generated project: Getting started with Notification Hubs for Windows Universal Platform Apps
The app compiles and once it runs the following async code...
var result = await hub.RegisterNativeAsync(channel.Uri);
...the console prints the following log:
Exception thrown: 'System.Runtime.InteropServices.COMException' in Microsoft.WindowsAzure.Messaging.Managed.dll
WinRT information: ResourceMap Not Found.
Exception thrown: 'System.TypeInitializationException' in Microsoft.WindowsAzure.Messaging.Managed.dll
Exception thrown: 'System.AggregateException' in mscorlib.ni.dll
Exception thrown: 'System.AggregateException' in mscorlib.ni.dll
Exception thrown: 'System.AggregateException' in mscorlib.ni.dll
Exception thrown: 'Microsoft.WindowsAzure.Messaging.RegistrationException' in Microsoft.WindowsAzure.Messaging.Managed.dll
Exception thrown: 'Microsoft.WindowsAzure.Messaging.RegistrationException' in mscorlib.ni.dll
Exception thrown: 'Microsoft.WindowsAzure.Messaging.RegistrationException' in mscorlib.ni.dll
Exception thrown: 'Microsoft.WindowsAzure.Messaging.RegistrationException' in mscorlib.ni.dll
Exception thrown: 'Microsoft.WindowsAzure.Messaging.RegistrationException' in mscorlib.ni.dll
OnWebCamTextureToMatHelperDisposed
(Filename: C:\buildslave\unity\build\artifacts/generated/Metro/runtime/UnityEngineDebugBindings.gen.cpp Line: 45)
Exception thrown: 'Microsoft.WindowsAzure.Messaging.RegistrationException' in mscorlib.ni.dll
Unhandled 'Platform.COMException' exception caught! - 'The text associated with this error code could not be found.
The type initializer for 'Microsoft.WindowsAzure.Messaging.Http.Resources' threw an exception.', Sender: '<null>'. Missing try/catch blocks.
(Filename: C:\buildslave\unity\build\PlatformDependent/MetroPlayer/MetroDebug.cpp Line: 41)
My current setup is:
Unity3D 5.4.3p4
Visual Studio 2015
WindowsAzure.Messaging.Managed 0.1.7.9 (I also tried with 0.1.7.8 that is used in the getting started article)
We tested also this on a native WUP project using the same how-to article and had the same problem.
In the end we discovered it was not related to Unity or the project configuration as we thought, but to the Azure Account.
The Pricing Tier on the the Microsoft Azure Notification Hub was defined as Free (limit to 500 Active Devices), after changing it to Basic (limit to 200K Active Devices) the exception is gone.
This was a really bad experience and took some days for our team to find out the reason as the exception has no real link to the actual issue nor the Microsoft Azure Dashboard has any notification related to the limit on the push registrations.

Database Operation Failed: Azure SQL and Azure Data Factory

Database operation failed on server 'worker.database.windows.net,11146' with SQL Error Number '40197'. Error message from database execution : The service has encountered an error processing your request. Please try again. Error code 4815.
A severe error occurred on the current command. The results, if any, should be discarded..
I'm getting the following error. What does error code 4815 mean? Couldn't find any documentation regarding that error code.
The error 4815 means that the SQL Server engine received an invalid column length from the bcp client for colid. You might want to check the parameters again and try this task again.
Here is some documentation on the error codes. Hope this helps.
https://technet.microsoft.com/en-us/library/cc645613(v=sql.105).aspx

TinyIoC.TinyIoCResolutionException: Unable to resolve type: on ipad deployment

I'm getting TinyIOC Unable to resolve type exception. I have developed my app using Xamarin studio for ipad. In simulator it is working fine. But on deploying ipad i'm getting below error.
TinyIoC.TinyIoCResolutionException: Unable to resolve type: IOSLoginViewModel ---> System.Exception: Unable to resolve type: IOSLoginViewModel ---> System.Exception: Unable to resolve type:
private IEnumerable<ConstructorInfo> GetTypeConstructors(Type type)
{
//#if NETFX_CORE
// return type.GetTypeInfo().DeclaredConstructors.OrderByDescending(ctor => ctor.GetParameters().Count());
//#else
return type.GetConstructors().OrderByDescending(ctor => ctor.GetParameters().Count());
//#endif
}
Above method is returning value on simulator but for ipad it is giving null.
Lines of code I have used is
var tContainer = TinyIoC.TinyIoCContainer.Current;
tContainer.Register<IOnlineAuthenticationService, Framework.OnlineProvider.AuthenticationService>().AsMultiInstance();
DataContext = TinyIoC.TinyIoCContainer.Current.Resolve<IOSLoginViewModel>();
IOS Build options I have tried all,
Linking - SDK, ALL, No but still same error.
In Xamarin Studio, open "Run" -> "Exceptions" and add "System.Exception".
Run your
Run you app
When the error occurs, take a look at the exception object's InnerException property which will give you clues why the type could not be resolved.

Resources