Tcpvideoviewer - insufficient memory

Hello,

I’m revieving Protocol Samples from Milestone SDK - I cannot launch TcpVideoViewer.

It crashes with an error:

A first chance exception of type ‘System.NotSupportedException’ occurred in System.dll

System.Windows.Data Error: 22 : Cannot convert ‘’ from type ‘’ to type ‘System.Windows.Media.ImageSource’ for ‘en-US’ culture with default conversions; consider using Converter property of Binding. NotSupportedException:'System.NotSupportedException: ImageSourceConverter cannot convert from (null).

at System.ComponentModel.TypeConverter.GetConvertFromException(Object value)

at System.Windows.Media.ImageSourceConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)

at MS.Internal.Data.DefaultValueConverter.ConvertHelper(Object o, Type destinationType, DependencyObject targetElement, CultureInfo culture, Boolean isForward)’

A first chance exception of type ‘System.OutOfMemoryException’ occurred in PresentationCore.dll

An unhandled exception of type ‘System.OutOfMemoryException’ occurred in PresentationCore.dll

Additional information: Insufficient memory to continue the execution of the program.

In code - it crashes here (App.g.cs)

[System.CodeDom.Compiler.GeneratedCodeAttribute(“PresentationBuildTasks”, “4.0.0.0”)]

    _public void InitializeComponent() {_

Any help would be appreciated, because we are working on 3rd party solution and we must use

Protocol Integration (Component and SC Plugin samples are working).

It is not something I have heard before..

Are you using Visual Studio 2010?

Did you make any changes to the project? Properties, target, anything? (What settings do you have?)

Using VS2010 Ultimate.

I’ve attached my configuration - I only opened solution and rebuild it.

Could you try this on another PC? My only suspicion is the VS setup but nothing concrete..

Ok, I’ll try - do I need to install whole environment (XProtect Enterprise) or just Milestone SDK and VS2010?

You can install Visual Studio and MIP SDK in a development machine and have XProtect test-servers on other machines. So to keep it simple start with that.

PS. Soon we will be switching to recommend Visual Studio 2013 for the MIP SDK, so depending on what you usually use it might be an option instead.