Category Archives: .NET C#

.NET Component AlKhemeia.Geo – list of countries, cities and many more functionality

Introduction You can find the source code here and to see this component in action please visit http://geo.alkhemeia.com This article aims at explaining Alkhemeia.Geo component How to get a list of countries and cities A list of methods to extract useful … Continue reading

Posted in .NET C# | Tagged , , , , , , | Leave a comment

System.Data.Entity.Validation.DbEntityValidationResult – Validation failed for one or more entities. See ‘EntityValidationErrors’ property for more details.

While working with Entity Framework 5.x I came across the following error: “Validation failed for one or more entities. See ‘EntityValidationErrors’ property for more details.” The description by itself is not helpful at all. It doesn’t tell you the exact cause of … Continue reading

Posted in .NET C#, Entity Framework | Tagged , , | Leave a comment

Dynamics CRM – Issue with publishing reports for external use – System.Web.Services.Protocols.SoapException: One or more data source credentials required to run the report have not been specified.

We have quite a few reports in Microsoft dynamics CRM 4.0 which are normally run from within CRM 4.0 without any issue. Some of the reports are added to SQL Reporting Server utilising dynamics CRM but are accessed externally from … Continue reading

Posted in .NET C#, Microsoft Dynamics CRM, SQL Server | Tagged , , , | Leave a comment

Visual Studio 2012 RC – unable to launch the configured visual studio development web server.invalid pointer

I was quite excited to try my new Visual Studio 2012 RC installation so decided to create a new web application. When I first try to run my application in debug mode (F5) I came across the following error “unable … Continue reading

Posted in .NET C#, Microsoft Visual Studio | Tagged , , | 1 Comment

C# – coalesce operator – double question mark (??)

I find it very strange after spending quite a reasonable time of my life programming using C#, I have just come across this operator which is very useful, easy to work with and handy to make your code look as … Continue reading

Posted in .NET C# | Leave a comment

C# – Using JavaScriptSerializer to convert objects to JSON

I was working with Ajax and came across a situation where server response was required in JSON format. OK there are ways to manually create such a response but the code will look crap, coupled and re-usability of the code … Continue reading

Posted in .NET C# | 2 Comments