Developer OneNote

Emma's OneNote for Microsoft Windows, Office and Programming

Windows Live Essentials Setup fails

28 June, 2010 | Category: Windows

When setting up Windows Live Essentials, the setup installer might fail with one of following error code.

0×80070643

Solution: See Error 0×80070643 When Install Windows Live Essentials

0×80040609

Solution: Turn on Windows Firewall

0x8104000b Source WaitForCatalog

Solution:

Windows Live Essentials Beta is released

25 June, 2010 | Category: Windows

Windows Live Essentials Beta is released

Today Microsoft announces releasing the Windows Live Essentials Beta, which include new versions of Messenger, Photo Gallery, Movie Maker, Sync, Live Writer and more   You can download it from http://explore.live.com/windows-live-essentials-beta.  You can read more about the new features here or watch the video. I also had a post for Windows Live Writer 4 new features, check it out. Read more »

Windows Live Writer 4 New Features

24 June, 2010 | Category: Productivity Tools

Windows Live Writer is the most popular blog client tool. Microsoft recently released Windows Live Writer 4 as part of new Windows Live Essentials Beta launch. I tried it and it looks great. Here is what’s new.

New Ribbon UI

Live Writer 4 has same Ribbon style menu as Office 2010. Actually this applies to other Windows Live wave 4 products, Live Mail, Photo Gallery etc.

image

Read more »

Perl Replace String in File

23 June, 2010 | Category: Development

This code snippet demonstrates how to replace string in file using perl. This perl script takes in an input file, replaces the all string foo with bar.

my $file = $ARGV[0];
my $filetmp = "$ARGV[0].tmp";
open (INPUT, "< $file") or die("Unable to open $file");
open (TMP, "> $filetmp") or die("Unable to open $filetmp");
while(<INPUT>) {
    if(/foo/) {
        s/foo/bar/;   # replace foo with bar   
    }
    print TMP $_;
}
close(INPUT);
close(TMP);
rename $filetmp, $file;

Could not load type System.ServiceModel.Activation.HttpModule

18 June, 2010 | Category: Development

If you install DotNet framework 4.0 on IIS server and then enable DotNet 3.0 or 3.5 WCF features, you might see following error when browse your application site made of ASP.NET 4.0 (or run on ASP.NET 4.0 application pool).

Could not load type ‘System.ServiceModel.Activation.HttpModule’ from assembly ‘System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089′.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.TypeLoadException: Could not load type ‘System.ServiceModel.Activation.HttpModule’ from assembly ‘System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089′.

Resolution

To resolve this issue, run the following from command line:

aspnet_regiis.exe /iru

The aspnet_regiis.exe file can be found in either

  • %windir%\Microsoft.NET\Framework\v4.0.30319
  • %windir%\Microsoft.NET\Framework64\v4.0.30319 (on a 64-bit machine)

WordPress 3.0 Cannot Export

18 June, 2010 | Category: Windows

WordPress 3.0 is finally released with some great new features.

I just upgraded my site to 3.0 today. The upgrade was smooth, however, I find that export doesn’t work any more. When I try to push export button to download posts xml file locally, I get following error.

Warning: Illegal offset type in isset or empty in /home/content/22/5401722/html/wp-includes/taxonomy.php on line 176
Warning: Cannot modify header information – headers already sent by (output started at /home/content/22/5401722/html/wp-includes/taxonomy.php:176) in /home/content/22/5401722/html/wp-admin/includes/export.php on line44
Warning: Cannot modify header information – headers already sent by (output started at /home/content/22/5401722/html/wp-includes/taxonomy.php:176) in /home/content/22/5401722/html/wp-admin/includes/export.php on line45
Warning: Cannot modify header information – headers already sent by (output started at /home/content/22/5401722/html/wp-includes/taxonomy.php:176) in /home/content/22/5401722/html/wp-admin/includes/export.php on line46

WordPress FAQ suggests checking spaces in wp-config.php and remove blank spaces before <?php tag or after ?> tag, I try and it does not help.

After trying deactivate on every single plug-in, I figure out it’s the plug-in Simple Tags that breaks WordPress 3.0 new export feature. Before Simple Tags owner releasing a fix, you can temp workaround this issue by deactivating Simple Tags plugin. After that, you will be able to get exported xml file to save.

OneNote 2010 New Features

15 June, 2010 | Category: Office

Office 2010 has a few great new features and improvements which make sharing and collaboration easier than ever.

OneNote Web Application

You can now create OneNote notebooks through web browsers and have other people to view, edit and collaborate anywhere. All notebooks created online will be saved to SkyDrive so you will need to have a Windows Live ID.

OneNote Web Application is free, just like other similar live service Microsoft has delivered over many years (hotmail, messenger). To get start with OneNote Web App, go to http://office.live.com and logon with your Windows Live ID. OneNote Web Application has familiar OneNote interface so you don’t have to learn it.

Read more »

Sync OneNote 2010 notebooks to SkyDrive

10 June, 2010 | Category: Office

In order to sync OneNote 2010 notebooks to SkyDrive and use OneNote Web Application, you will need have Internet Explorer 7 or later version installed.

  • Windows XP with IE8
  • Windows Vista with IE7 or IE8
  • Windows 7 with IE8

Also notebooks files from OneNote 2007 needs to be upgraded to OneNote 2010 file format as only 2010 format is supported by SkyDrive. You can convert old notebooks to 2010 format by

  1. File –> Info –> Setting –> Properties
  2. Click ‘Convert to 2010’ button and press okay.

SkyDrive is Live with OneNote Sync

8 June, 2010 | Category: Office

SkyDrive is live with OneNote Sync, you can now go to Office.live.com and start upload your OneNote files. Office Web Apps on SkyDrive are available free for personal use.

When you creating New Notebook in OneNote 2010, you can now save it to SkyDrive directly, the web option which was always "not available" is now available. To get start, you will need to have a Windows Live ID, and sign in when you are asked to. Notebooks will be automatically synced among different OneNote clients if they are online.

Sync OneNote to SkyDrive

You can also create other types of office documents on Office.live.com directly, including Word, Excel and PowerPointCreate Office Web Application

Troubleshot Tips

We are sorry. This service is currently not available

This is because you are using a pre-release version (either BETA or RC). OneNote Sync with SkyDrive only works with OneNote 2010 RTM edition. Upgrade to OneNote 2010 and you should no longer see this message.

Unable to connect to Windows Live SkyDrive

Open IE, go to IE Internet Options, clear browse history, passwords, cookies. And then retry.

Microsoft Training Kits

8 June, 2010 | Category: Development

The Microsoft Training Kit is free download that contains useful training resources. Here is a list of some latest useful training kits, the training content includes demo, videos, presentations, hands on lab and some code samples. Enjoy it

Update

Apr 20 – Add Silverlight 4 Training

May 13 – Add Office 2010 and SharePoint 2010 Training Kit

June 9 – Add Windows Azure Platform Training Kit

Aug 16 – Update SQL Server 2008 R2 & Windows Azure Platform Training Kits