Monthly Archives: September 2014

The type ‘System.ComponentModel.ISupportInitialize’ is defined in an assembly that is not referenced

If you have the compilation error below. The type ‘System.ComponentModel.ISupportInitialize’ is defined in an assembly that is not referenced. You must add a reference to assembly ‘System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089′. Do not look for ‘System.ComponentModel.ISupportInitialize’. The System.ComponentModel is in System … Continue reading

Posted in .Net | Tagged , , | Leave a comment

Microsoft Worldwide Community Champion

This is an opportunity for developers to reveal their talent and earn some incentives. At the same time developers can learn how to develop Windows Store App, Windows Mobile App or Windows Azure App while having fun. The stand a … Continue reading

Posted in .Net, Community | Tagged , | Leave a comment

Microsoft .NET Universe 2014

Download the pdf file and click around the links then you will see what is coming for the next version of Visual Studio “14”. http://www.microsoft.com/en-us/download/confirmation.aspx?id=44228

Posted in .Net | Tagged , | Leave a comment

Windows 8.1 Wifi network limited

After upgrade from Windows 8 to Windows 8.1 the wifi network is always limited. Go to Device Manager and upgrade your driver. A lot of people out there can solve the problem by upgrading the wifi network adapter driver.

Posted in .Net | Tagged , | Leave a comment

How to enable C# 6 in Visual Studio 14 CTP

I do not expect to do this for RTM. For the meantime follow the video and add the <Language>experiment</Lauguage> in the csproj file. https://www.wintellectnow.com/Videos/Watch/simplifying-classes-with-c-6.0

Posted in .Net | Tagged , , | Leave a comment

SaveChanges has no effect when saving data using Data Services

Let’s use Dynamic CRM Data Service as example here. Let say you have an existing product data and you want to update it. You do the following. var result = from r in ctx.ProductSet where r.ProductId == productid select r; … Continue reading

Posted in .Net | Tagged , , | Leave a comment

Row counts cannot be requested when the MaxProtocolVersion of the data service is set to DataServiceProtocolVersion.V1

You might have a service reference like public CRMServiceReference.CRM13Context ctx = new CRMServiceReference.CRM13Context(new Uri(crmConnection)); Then you do a LINQ query var result = from r in ctx.ProductSet where r.ProductNumber == ProductNumber select r; if (result.Count() == null) {} Then you … Continue reading

Posted in .Net | Tagged , | Leave a comment