Windows Phone App Submission error: The [NeutralResourceLanguage] attribute is missing on the entry assembly. (2003)

The Windows Phone Marketplace has a big update yesterday. I tried submitting an update for one of my applications today and after selecting and uploading the assembly, I got a messaging saying that static validation completed with errors: The [NeutralResourceLanguage] attribute is missing on the entry assembly.(2003) To correct this error, you must go to…

4

CRM Service Exception: Could not load file or assembly ‘Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies

I received the below error from a CRM WCF service that I created.  After some investigating, I found out that I received this error because I don’t have Windows Identify Foundation Pack installed on my developer PC. After installing Windows Identity Foundation, the service ran as expected. Be sure to install 6.0 if you’re running Vista…

22

Retrieving QueryString paramaters in a CRM Plug-In

Retrieving QueryString parameters inside of a CRM plug-in was easier than I thought, but with just one caveat.  After you register your parameter with your entity’s form view, you can then retrieve those parameters using the HttpContext class. Just a reference to System.Web to your plug-in assembly and then call it just like you would in any…


Windows Phone 7 MAC address has arrived!

If you’re looking for your MAC address for your Windows Phone 7, you’ll need the March 2011 (NoDo) update.  That update displays your phone’s MAC address under SETTINGS > ABOUT.  If you’re not on the March 2011 (NoDo) update, then follow the instructions on using your WiFi router to determine your phone’s mac address.


Preventing TiltEffect on a WP7 ListBox item

I had some trouble disabling the TiltEffect on items inside a particular WP7 ListBox in my application.  I tried setting the SuppressTilt and the IsTiltEnabled properties on the ListBox as well as the StackPanel inside my DataTemplate and the ItemsPanelTemplate but all that failed to prevent the TiltEffect on each item in the ListBox.  If…


CRM 2011 SDK – System.InvalidCastException: Unable to cast object of type ‘Microsoft.Xrm.Sdk.Entity’ to type…

This is the same issue as the one mentioned in my blog from a few days ago (Error while using the Create Method – System.ArgumentNullException: Value cannot be null)…but this time I got an InvalidCastException while trying to cast an entity instance to a proxy generated early-bound type.  Same resolution, ensure that you call EnableProxyTypes before…

1

Creating a .NET WCF 4.0 JSON Service

I had a lot of trouble getting configuring a .NET 4.0 WCF service which could be called from an HTML page using JQUERY.  The issue was pretty much all with configuring the service and so I thought I would share the web.config that I finally got that allowed the service to work properly. First, ensure…

2

CRM 2011 SDK – Error while using the Create Method – System.ArgumentNullException: Value cannot be null

If you’re using the CRM 2011 SDK with a generated proxy, you may encounter an ArgumentNullException when trying to use the Create method on your service instance. To get around this issue, you must enable proxy types on the service proxy instance as follows:    internal static Guid CreateEntity(Entity entity){    if (entity == null)        throw…

3

Stop Microsoft Lync contacts from syncing to your Windows Phone

I’ve noticed that all my Microsoft Lync (previously OCS) contacts show up in my Windows Phone People Hub (contacts/address book).  This is because Lync by default syncs all your contacts to your Outlook personal contacts.  And if you tried to delete those contacts from Outlook, they would just reappear again the next time Lync synced itself…

5