A Nerd's False Positive.

WP7 - Zune software is not launched. Retry after making sure that Zune software is launched.

Yup! I’s unable to control my excitement when I downloaded and installed Window Phone 7 SDK and Developer Tools. In a hurry and skipping my dinner, I opened the first sample project – Silverlight for Windows Phone 7 and hit Run (F5).

Bhoom! I’s damn surprised to see the error:

Zune software is not launched. Retry after making sure that Zune software is launched.

Because I haven’t written a single piece of code! Instead I run the project as it is!

A keen and close look pointed out the issue:


I have set my target to Windows Phone 7 Device instead of Windows Phone 7 Emulator. All you have to do is to change the target to Windows Phone 7 Emulator.

That’s it. Now hit F5 and Run. Smile


I simply fall in love with Metro UI. What about you?

Start developing -

Control must be placed inside a form tag with runat=server


Last night, when i tried to call GridView.RenderControl(), I’s kicked with a runtime exception as below:


What surprised me more, that my GridView is inside the <form> tag, with runat=server attribute. I binged for a while and came to know that I’m not alone for this error. On deep searching, I find that Microsoft Connect has confirmed this as a bug. Which further take me to two other MSDN links:- Link1, Link2.

In the end, I got the fix.

All you’ve to do is to include the below empty-code in the code-behind

// [Code-Behind]
public override void VerifyRenderingInServerForm(Control control)
        //Empty Method


cannot load file or assembly

All of a sudden, my SQLDataSource connection failed with an error:

"Could not load file or assembly ‘Microsoft.SqlServer.Management.Sdk.Sfc, Version=, Culture=neutral, PublicKeyToken=89845dcd8080cc91′ or one of its dependencies. The system cannot find the file specified."

All this happened, when i try to connect my GridView with SQLDataSource control. I's trying to connect SQL Server 2005 from Visual Studion 2008 SP1. The same can be solved my installing:

These are the executable from SQL Server 2008 Feature Pack- a list of standalone packages, that provide additional value to SQL Server 2008.

That's all for now.