Usman ur Rehman Ahmed's blog

Windows Phone 7 Emulator Launch Error

When I tried to build and preview my first Windows Phone 7 application, the emulator tried to load OS displaying the message on emulator window, "Windows Phone Emulator is doing the complete OS reboot" and then failed to load itself with following error message in the error console,

"The object invoked has disconnected from its clients."

I press F5 and next time there was a new error,

"The interface is unknown."

Surprisingly I identified that another possible error may be,

"The RPC server is unavailable."

And yet another possible error is,

"This operation returned because the timeout period expired."

Windows-phone-7-emulator-os_boot
So I did some research and found that either of these three error is basically produced by lesser memory (RAM) and either of the following solutions may be found helpful,

1- Try installing the January 2011 update (since that ships a new emulator and bug fixes) from,

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=49b9d0c5-6597-431...

2- If you don't have enough RAM (less than 2 GB say) then try enabling "virtualization" from BIOS can be helpful since this allows emulator to use virtual memory to overcome memory issue during execution.

3- Another option to increase RAM is to enable PAE from boot menu. (applies on x86 processors only)

For more details on PAE please view: http://en.wikipedia.org/wiki/Physical_Address_Extension

4- If you have more than 4 GB of RAM available then disabling PAE from boot options may help you. (assuming you are running on top of x86)

Note: Above solutions don't apply on x64 processor types however please leave a comment if you did face this problem while running on top of x64 Windows since I have not heared so by far.

Update: Please look at the commenters below since a number of good solutions are pointed below that might work for you. :)

Ref: http://forums.create.msdn.com/forums/p/72136/440372.aspx

Downloading Windows Phone 7 Developer Tools

I just finished downloading of “Windows Phone 7 Developer Tools”. Following items are downloaded and installed,

                1- DirectX Libraries

                2- Microsoft Windows Phone Emulator x 86

                3- Microsoft Windows Phone Developer Resources

                4- Microsoft Windows Phone Developer Tools - ENU

                5- Windows Phone 7 Add-in for Visual Studio 2010 -ENU

                6- Microsoft XNA Game Studio 4.0

                7- Microsoft XNA Game Studio 4.0 Windows Phone Extensions

                8- Silverlight 4 Tools for Visual Studio 2010

                9- Microsoft Expression Blend 4 for Windows

Downloading_tools
However if any of above features already exists on the system, it is skipped.

 

11
To Posterous, Love Metalab