Scott Hanselman

WS-AtomicTransaction Configuration on Windows Server 2008 RC0

September 27, '07 Comments [0] Posted in Longhorn | Microsoft | Programming
Sponsored By

If you get a message like this in your Roles Summary "RollUp" after installing WCF as part of the Application Server Role in Windows Server 2008RC0:

To configure WS-Atomic Transactions, run the wsatconfig.exe utility in C:\Windows\Microsoft.Net\Framework64\v3.0\Windows Communication Foundation using the following certificate thumbprint for the SSL certificate: 53B7DAAA12C8D60FD10908328A45A707C299AAB5

It's saying to go run:

WsatConfig.exe -network:enable -endpointCert:53B7DAAA12C8D60FD10908328A45A707C299AAB5  etc...

Thanks to Jesse for his help.

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. I am a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by ORCS Web

Hanselminutes Podcast 80 - Vista x64 - Is Now the Time?

September 7, '07 Comments [10] Posted in Longhorn | Podcast
Sponsored By

My eightieth podcast is up. In this one Carl and I talk about our experiences with Vista 64. 

If you have trouble downloading, or your download is slow, do try the torrent with Āµtorrent or another BitTorrent Downloader.

Links from the Show

Do also remember the complete archives are always up and they have PDF Transcripts, a little known feature that show up a few weeks after each show.

Telerik is our sponsor for this show.

Check out their UI Suite of controls for ASP.NET. It's very hardcore stuff. One of the things I appreciate about Telerik is their commitment to completeness. For example, they have a page about their Right-to-Left support while some vendors have zero support, or don't bother testing. They also are committed to XHTML compliance and publish their roadmap. It's nice when your controls vendor is very transparent.

As I've said before this show comes to you with the audio expertise and stewardship of Carl Franklin. The name comes from Travis Illig, but the goal of the show is simple. Avoid wasting the listener's time. (and make the commute less boring)

Enjoy. Who knows what'll happen in the next show?

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. I am a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by ORCS Web

More on Vista Reparse Points

October 3, '06 Comments [10] Posted in Longhorn | Tools
Sponsored By

SymlinkdVista upgrades NTFS to include some shiny new features, one is Transactional NTFS or "TxF". That means there's a Resource Manager for NTFS so you can batch up a whole transaction worth of file writes and if any of them go wrong - rollback.  I'm having a little trouble with Transactional NTFS right now because the resource manager is shutting down because I need to run chkdsk /f on my drive and I can't, but that's a story for another day.

Philip left a comment in my recent post on improvements in junctions/reparse points/symbolic links in Vista. He said "Have you tried using the new Vista symbolic directory link support available in the command line program "mklink /d". I have successfully used it cross-drive for other directories,though I haven't tested it in your scenario."

Soinks! That's what I get for not keeping up with Junfeng Zhang's excellent blog.

Postulate: Symlink is to Junction in Windows as Symlink is to Hardlink in Unix.

Symlinks can span volumes (wicked useful) and you can also Symlink to UNC paths. Woof. Notice the Command Prompt Screenshot at Right. In this example "My Documents" is a Symlink to another drive, while Junction points locally.

I am still a little unclear about the difference. As I understand it, junctions are "reparse points" and support links to local files and directories while symlinks are built into the NTFS file system at the Kernel level and support spanning drives. Perhaps Mark Russinovich will jump in here and explain.

Here's my DOS prompt removing my non-working junction and using the new MKLINK to get My Documents onto another drive.

C:\Users\Scott>mklink
Creates a symbolic link.

MKLINK [[/D] | [/H] | [/J]] Link Target

        /D      Creates a directory symbolic link.  Default is a file
                symbolic link.
        /H      Creates a hard link instead of a symbolic link.
        /J      Creates a Directory Junction.
        Link    specifies the new symbolic link name.
        Target  specifies the path (relative or absolute) that the new link
                refers to.

C:\Users\Scott>junction "My Documents"

Junction v1.04 - Windows junction creator and reparse point viewer
Copyright (C) 2000-2005 Mark Russinovich
Systems Internals -
http://www.sysinternals.com

C:\Users\Scott\My Documents: JUNCTION
   Substitute Name: D:\Scott\My Documents

C:\Users\Scott>mklink /d "My Documents" "d:\Scott\My Documents"
Cannot create a file when that file already exists.

C:\Users\Scott
>junction /d  "My Documents"

Junction v1.04 - Windows junction creator and reparse point viewer
Copyright (C) 2000-2005 Mark Russinovich
Systems Internals -
http://www.sysinternals.com

Deleted My Documents.

C:\Users\Scott>mklink /d "My Documents" "d:\Scott\My Documents"
symbolic link created for My Documents <<===>> d:\Scott\My Documents

C:\Users\Scott>junction "My Documents"

Junction v1.04 - Windows junction creator and reparse point viewer
Copyright (C) 2000-2005 Mark Russinovich
Systems Internals -
http://www.sysinternals.com

C:\Users\Scott\My Documents: UNKNOWN MICROSOFT REPARSE POINT

C:\Users\Scott>dir "My Documents"
 Volume in drive C is 70 GIGS - SYSTEM
 Volume Serial Number is 88F3-D225

Newjunctionsvista1 Directory of C:\Users\Scott\My Documents

10/02/2006  09:42 PM    <DIR>          .
10/02/2006  09:42 PM    <DIR>          ..
04/23/2005  07:02 PM            37,758 0764576100.01._SCLZZZZZZZ_.jpg
...lots of files here...
...snip...I was able to CD over to another drive transparently...

Turns out I was (half) wrong when I said that Explorer doesn't know about Junctions. It knows enough about Junctions to show the shortcut icon, but that's about it. However, Explorer DOES know enough about Symlinks to show the Target (pointed to) directory in the Properties dialog. Nice.

In Vista, all kinds of things have been moved, and are now using Junctions to point to the new locations:

Was Now
Application Data AppData\Roaming
Cookies \AppData\Roaming\Microsoft\Windows\Cookies
Local Settings \AppData\Local
My Documents \Documents
NetHood \AppData\Roaming\Microsoft\Windows\Network Shortcuts
PrintHood \AppData\Roaming\Microsoft\Windows\Printer Shortcuts
Recent \AppData\Roaming\Microsoft\Windows\Recent
SendTo \AppData\Roaming\Microsoft\Windows\SendTo
Start Menu \AppData\Roaming\Microsoft\Windows\Start Menu
Templates \AppData\Roaming\Microsoft\Windows\Templates

Interesting stuff, I say.

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. I am a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by ORCS Web

Longhorn Indigo Samples

December 5, '03 Comments [1] Posted in Longhorn | ASP.NET
Sponsored By

Thanks to everyone who attended my Longhorn Talk at PADNUG yesterday.  It turned out to be a very Avalon-y/WinFS-y night, so we didn't talk a lot about Indigo.  But, thanks to Yasser, I know now that you can download ALL the Sample Code for Indigo at the Longhorn MSDN SDK.

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. I am a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by ORCS Web

More on declarative UIs and XML for GUI Markup

November 1, '03 Comments [1] Posted in Longhorn | ASP.NET | XML | Tools
Sponsored By

A good article discussing the various specs “competing” with XAML up at WebStandards.

For more comparisons of XML GUI languages, see DonXML's comparison of XAML and SVG-RCC, and Neil Deakin's point-by-point comparison of XAML and XUL.

The three XML GUI languages above represent only a fraction of those available. Others include XWT, Java GUI Builder, Glade for the GTK+ toolkit used in the GNOME desktop, XML GUI Builder for the KDE Desktop, Laszlo Systems' XML-and-ECMAScript Flash authoring software, Macromedia's Royale Initiative and Kinesis Software's Kinetic Fusion, a Java application that converts Rich Vector Markup Languag, Kinesis' own XML-based vector graphics format, into SVG or Flash and back. [WebStandards.org]

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. I am a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by ORCS Web
Page 1 of 3 in the Longhorn category Next Page

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.