-
MVP Summit 2010
This week finds me back in Bellevue, Washington for the 2010 MVP Summit.
It’s always great to met up with my fellow MVPs, both CRM and others, and listen to what Microsoft has to say this year.
Misc 234 views -
Windows Azure: Setting the Web Role as Your Startup Project
I was faced with an interesting problem and the end of last week that caused me to spend way too much time troubleshooting.
A Windows Azure solution is a collection of projects with your Cloud Project being the top and most important. If you’re creating a web site, you’ll have at least one Web Role project that is, for all intents and purposes, an ASP.NET web site.
This is where things went rather wrong. We added a Silverlight project to our solution and about the same time, the Startup Project for the solution changed from the Cloud project to our Web Role.
What does that mean to the average developer? Well, it turns out that “it depends” is the answer.
If your Cloud project is not set as the Startup Project then your application may or may not properly launch the Azure Development environment. I say may because I found that some things worked, or at least didn’t report an error, while other things reported errors that may no sense at all.
Specifically, I was receiving the following error when I attempted to insert a message into a queue:
ConfigurationSettingSubscriber needs to be set before FromConfigurationSetting can be used
For one, this error message is incorrect. It is actually the ConfigurationSettingPublisher that has the issue. I did not get an error on code concerning the use of the ConfigurationSettingPublisher, I actually received the message when I attempted to connect to a queue.
I had copied the code exactly from a perfectly functioning demo application that is part of the Windows Azure Platform Training Kit. But it still didn’t work in my project.
Finally, after much time and troubleshooting I happened to notice that our Web Role was set as the Startup Project which, it turns out, is a bad thing.
Bill Lodin has an article where he mentions this and is the one that finally led me down the path to finding and fixing my problem.
I reset the Startup Project to our Cloud project and we’re back in business.
I just wish Microsoft had made the errors a little clearer.
Note: Microsoft just released version 1.1 of the Azure SDK so I’ll install it to see if anything has changed.
Azure, Development 241 views -
Really Cool Technology: Nike Application Shows Off Windows Azure Features
If you have a few minutes and have loaded Microsoft Silverlight, you need to check out the following site by Nike: www.jumpman23mosaic.com
Use the zoom control on the right side of the page to zoom in.
Here is some background:
[ Via Bruce D. Kyle ]
Check out www.jumpman23mosaic.com. It’s a five gigapixel “social mosaic” of photos of Air Jordan shoes submitted by fans.
Windows Azure currently supports the following two types of roles:
- Web role: A web role is a role that is customized for web application programming as supported by IIS 7 and ASP.NET.
- Worker role: A worker role is a role that is useful for generalized development, and may perform background processing for a web role.
Fans submit photos of their shoes online. Then every ten minutes Azure worker roles create a profile of new photos. The code inside the worker role looks at the colors in the user-submitted picture to decide where is the “right place” in the mosaic for the photo.
Azure Web roles work on the front end in collaboration with Silverlight Deep Zoom.
Azure, Development 274 views -
Disabling all fields within a Section
Last week I encountered a need to disable all of the fields within a Section on a CRM Form. While you can set the properties individually, that is a waste of effort and a maintenance nightmare.
After a bit of digging, I found the following post on one of the CRM newsgroups by Kyaw Kyaw Tun, from http://www.pulsesync.com:
var section = crmForm.all.new_attribute_c.parentElement.parentElement.parentElement; for (i = 0; i < section.all.length; i++) { section.all[i].Disabled = true; }
You replace new_attribute with the name of an attribute that resides inside the section you wish to disable.
Note: That _c is not a mistake, that needs to be part of the attribute name. For instance, to hide the section containing accountnumber, you would use accountnumber_c.
Though the magic of the JavaScript Document Object Model ( DOM ), we’ll get a list of all of the fields and set their Disabled property to true.
Customization, Dynamics CRM 465 views -
New Nuts and Bolts Article Released: Outlook Synchronization in Microsoft Dynamics CRM 4.0
The Microsoft CRM E2 team is pleased to announce the release of the Nuts and Bolts article Outlook Synchronization in Microsoft Dynamics CRM 4.0, which is available for download from the Microsoft Download Center at:
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=2d497348-0a10-40ce-8edb-b0ee85f1215eOutlook synchronization enables Outlook users to view Dynamics CRM information, including contacts, tasks, phone calls, letters, faxes, appointments, and e-mails, within the Outlook interface. This document describes the client synchronization process that is associated with Update Rollup 7 for Microsoft Dynamics CRM 4.0 or later (for on-premise deployments) and with Microsoft Dynamics CRM Online November 2009 Service Update or later (for online deployments).
Dynamics CRM, Outlook Client 258 views




