Silverlight Out-of-Box Launcher crash after Seesmic update

After launching Seesmic this morning, it recommended I update to the most recent version – Seesmic Desktop 2, version 1.1.0.1451, released on 1/13/2011.  After verifying that I have the correct version of Silverlight, 4.0.51204.0, I let Seesmic update itself.  When it was done, it said I would have to restart Seesmic to use the new version, so I exited the application.  Then this popped up:

image

Notice that the exception occurred in coreclr.dll.  A very brief online search indicates that this may not be specific to Silverlight; at least one case I saw was in .NET 3.x.

The full problem signature details are:

Problem signature:

Problem Event Name:        APPCRASH

Application Name:        sllauncher.exe

Application Version:        4.0.51204.0

Application Timestamp:        4cf9ee78

Fault Module Name:        coreclr.dll

Fault Module Version:        4.0.51204.0

Fault Module Timestamp:        4cf9e8f2

Exception Code:        8013150a

Exception Offset:        0013d256

OS Version:        6.1.7600.2.0.0.256.4

Locale ID:        1033

Additional Information 1:        b76a

Additional Information 2:        b76aff7421cdd15f7b21d933c977a4f7

Additional Information 3:        b56d

Additional Information 4:        b56d590e599ff3a2de6d2ac24a1d1c63

Hopefully this will be helpful to someone.

Lightswitch: Initial Thoughts & Recommendations

I tinkered with the first public beta of Microsoft’s new Lightswitch application development tool.  Here’s a few initial thoughts:

  1. Lightswitch makes it very easy to access data in pretty rich ways.  Business people who are not developers will be able to unlock corporate data in ways that would typically require a developer or significant knowledge of querying tools, etc.
  2. Lightswitch is easy, approachable, but there’s still some learning curve involved.  Layout Items such as Vertical Stack, Horizontal Stack, Text and Picture, and so on provide rich user interface capabilities, but how long will it take users to learn how to use them properly.
  3. Data access is very easy — maybe too easy.  Just point Lightswitch to an existing data store and go!
  4. Relationships to data are automatic or easy to assign.  The features around these relations are very good — Master-Detail screens are super easy.
  5. There’s no hard deployment requirement for Lightswitch apps.  Yes, it requires Silverlight, etc., but you don’t have to deliver it into an IIS farm, etc.
  6. OOPS!  Businesses must realize that all previous points add up to the potential for major train wrecks with data.  For example, data relationship features make it easy to create Master-Detail screens, but cascading deletes are just as easy.

Recommendations:

  1. Businesses should take great care to ensure that all Lightswitch application development runs against TEST data.  Far too many companies ignore or skip this Best Practice, but they may suffer seriously if they aren’t careful.
  2. Protect data at the database; not in the app.  Again, this is a Best Practice for software design, but I wouldn’t expect business people to be in tune with it.  DBA’s or data owners must protect production data and provide matching test databases (identical schema, data domains, security, etc.)
  3. Don’t prototype and expand.  People will be tempted to take a Lightswitch application’s generated code, turn it into a full-fledged Silverlight project and then build from there.  Don’t!  Is it possible? Probably, but it’s also possible to climb stairs to the top of the Empire State Building.  I suspect future versions of Lightswitch will reduce this gap (a la creating OCX’s with VB back in the day)

Lastly, I did run into several bugs — not unexpected in an early beta.  One example the product team may be interested in has to do with changing screen layout in non-debug mode (Ctrl-F5 from VS2010) results in

Error: The last change wasn’t successfully persisted. Please shut down the running application. Error: Change cannot be persisted because KittyHawk is not running under debug mode.