Angus Logan

MCMS/SPS/.NET/SQL/Microsoft Australia

July 2005 - Posts

RE: Compact Your VHD Files
[Via Heath Stewart]

Many times it's necessary to debug solutions on other machines so that you don't corrupt your developer machine, because of different platform requirements, or to attach a debugger without changing the state of the machine. Testing Windows Installer patches is no different. We test on daily target builds using daily upgrade builds. Installing daily builds isn't always such a good idea, and because Windows Installer now caches MSP re-installing a patch with slightly different contents but the same PatchCode proves difficult.

Of course we have labs full of machines, but because these run through a complete installation of both the OS and other components such as service packs and lab tools, I prefer Microsoft Virtual PC and Virtual Server. Both at home and at work I've got a good base build with very little installed, including the latest service packs, hotfixes, and the Visual Studio .NET 2003 native remote debugger. Once that's all set up, I enable undo disks. Now whenever I need to start over I simply turn off the virtual machine and discard the changes. When I restart I have a fresh new machine.

In order to decrease disk space requirements, you have to compact your virtual hard disks, or VHD files. If you run the Virtual Disk Wizard from the File menu and choose to edit and compact an existing VHD, the wizard states that, "Before you compact this virtual hard disk, you must zero out free space on it with a third-party tool that you install on the guest operating system." The CHM file for Virtual PC 2005 Service Pack 1 has a similar message. Finding such a tool wasn't so easy. SDelete from Sysinternals starts by zeroing free space, but then fills it with 0xff and then random bytes. It also grows the size of a dynamic disk because it creates a file to fill all available space which most likely hasn't been allocated yet in the VHD.

Before writing such a utility I, of course, tried Microsoft Support. I was able to find one KB article — KB 888760 — that made mention of such a tool, which was not a third-party tool at all.

  1. Download and install Virtual PC 2004 Service Pack 1.
  2. Defragment your guest operating system.
  3. From the CD menu, select Capture ISO Image and browse to the Virtual PC additions directory, which is %ProgramFiles%\Microsoft Virtual PC\Virtual Machine Additions by default.
  4. Mount Virtual Disk Precompactor.iso. By default with auto-run enabled, the precompactor will start automatically.
  5. When it has finished, unmount the ISO from the CD menu.
  6. Run the Virtual Disk Wizard from the File menu and follow the instructions to compact your VHD file.

This can significantly reduce the size of your base VHD file. When it's finished, click Settings to open the settings for your virtual machine, select Undo Disks, and check Enable Undo Disks.

Awesome Vista Feature: Network Presentations - What about LiveMeeting?

I got my Vista Beta 1 box run up and started to have a poke around

One of the neat features I saw is Network Presentations

But what is going to happen with Live Meeting - because once I get enough clients running this, or if there is a Windows XP adapter for it Live Meeting is gone (don't get me wrong; Live Meeting rocks but Vista Network Presentations rock harder!).

I am now going to make a Vista base image; and build a bunch of differencing disks so I can run my own little family of Vista Gusts :)

I have run upt a little family of Vista machines to check out the new features when two Vistas play together

RE: PDC05 Keynote announcements

Awesome!

[Via PDC Team @ MSDN Blogs]

We're very pleased to announce that Bill Gates will be opening PDC05 on Tuesday, September 13th. We're also very happy to announce that Jim Allchin will also be keynoting on Tuesday. and that additional keynotes will be hosted by Eric Rudder and Steven Sinofsky, on Wednesday, September 14th.

PDC05 Registration space is limited and going fast, so please consider registering soon if you haven't already!.

Throwing out NewsGator for Outlook and going back to RSS Bandit

I've started to get really annoyed with NewsGator for Outlook using up all of my available resources and making Outlook unusable for the first 5 minutes of operation.

When I boot my laptop I need to start Outlook; then open Outlook Web Access to check my emails instantly;

For this reason I've gone back to RSS Bandit (www.rssbandit.org). I don't like the interface as much as NewsGator but think having quick access to emails is more important than a bit of blog reading pleasture.

What are you using for your aggregator?

Office for Information Workers
[Via Last 20 Uploads on Only4Gurus.com]
    How ao achieve Competitive Advantage in today's challenging environment? Know the Information Worker! Learn how to improve responsiveness and remove inefficiencies.

    »See More RSS Feeds
Windows Vista - Deployment Overview
[Via Last 20 Uploads on Only4Gurus.com]
    Windows Vista brings significant innovations and technologies to make deploying desktops easier than it has ever been. Find out more about the new capabilities, tools and best practices along with a demo of Microsoft's new imaging tools in this webcast.

    »See More RSS Feeds
SPS User Adoption Tip
[Via Getting Things Done With MCMS, SharePoint, WSS, InfoPath & IBF]
    As much as you can make SPS attractive and useful to end users, launching IE is not always the first thing a user chooses to do. I would say that most users, like myself, probably launch Outlook and check for emails as soon as they arrive at work.

    As MS office is the seen as the Information Workers (IW) gateway, why not give them access to the Intranet through Outlook!

    This is quite simple to configure.

    1. Right click your root mail folder (It probably has your name on it) and is above your Inbox and Deleted Items etc.
    2. Select Properties
    3. Select Home Page
    4. In the address box, type in the url to SPS/Intranet
    5. Click OK

    Voila. When the user clicks on their name, the SPS/Intranet will appear in Outlook.

    You could alternatively create a new folder, name it intranet and set the home page property to the url of the SPS/Intranet.

Ouch - Playing with too many Betas has been cruel to my External Hard Drive!
Microsoft Australia/New Zealand is now a US$1.19b company

Awesome – Go Hard ANZ!

Via ASPSurvival

Via ITNews.com.au

By Byron Connolly, CRN, 28 July 2005 15:45 AEST

Microsoft’s Australia and New Zealand operation contributed around US$1.19 billion, or three percent, of the software giant’s global sales revenue of US$39.79 billion for the financial year ending 30 June 2005.

Speaking at Microsoft’s annual partner conference at Coolum, Queensland, Gary Cox, general manager of sales at Microsoft Australia, told 700 attendees that sales revenue growth in Aust/NZ was 5 percent on the year earlier. “We should all feel good and be proud of that result,” he said.

Globally, sales grew 8 percent over the 2004 financial year, Microsoft said in a results announcement on 21 July.

Sales generated by the Microsoft Business Solutions (MBS) division -- which markets products like Axapta, Navision, Great Plains and CRM software -- grew 22 percent in FY05 on the year earlier, Cox said. “This business could grow substantially more than 20 percent per year,” he said. Microsoft’s services and tools business in Aust/NZ also grew 17 percent, he said.

Cox told partners that there was a “massive opportunity to move Lotus Notes customers to Exchange, while touching on the impact of open source and Linux on the company over the past few years".

“There are many opportunities out there that we lose because we didn’t know about them. I hate that -- we do not like to lose,” he said.

Linux had been “the bain of our existence for the last few years,” he said. “But let’s be clear, it’s a strong technology."

He also admitted that Microsoft had “struggled to decide how it effectively competed” against the popular Blackberry mobile device manufactured by Research In Motion (RIM).

Google would also be an “interesting and successful competitor” to Microsoft, but the software giant would build search engines that are competitive with the Google offering.

Meanwhile, the company announced four new “competencies” to its Australian partner program and a Small Business Specialist program.

The first, a “Custom Development Solutions” competency recognised partners that developed custom software tailored to each specific customer requirement.

The second, a “Licensing Solutions” competency, was targeted at partners that specialise in complex licensing and software asset management rollouts. The third “Mobility Solutions” competency was designed for partners that develop applications based on Microsoft’s mobile platform.

Kerstin Baxter, partner group director at Microsoft Australia, said the company previously did not have an authorisation process for licensing, which is complex.

The fourth “OEM Hardware Solutions” competency groups partners that build hardware pre-installed with Microsoft software and those that develop or manufacture hardware devices.

The new Small Business Specialist program groups partners that are selling to companies with 50 employees or less. To qualify as a small business specialist, partners must pass two exams. The first exam -- the Small Business Sales and Marketing Skills Assessment -- measures knowledge of the small business market.

The second was a technical exam on products such as Small Business Server and the Windows client for System Builders, Microsoft said.

“It gives customers a brand where they can recognise that these partners specialise in their needs,” Baxter said.

Byron Connolly travelled to Coolum as a guest of Microsoft Australia.

Standards and CSS in IE

Via Chris Wilson on the IE Team Blog 

I’m very happy that we’ve shipped IE 7 beta 1. I wanted to make it clear that we know Beta 1 makes little progress for web developers in improving our standards support, particularly in our CSS implementation. I feel badly about this, but we have been focused on how to get the most done overall for IE7, so due to our lead time for locking down beta releases and ramping up our team, we could not get a whole lot done in the platform in beta 1. However, I know this will be better in Beta 2 – and I want to share how we are placing our priorities in IE.

In the web platform team that I lead, our top priority is (and will likely always be) security – not just mechanical “fix buffer overruns” type stuff, but innovative stuff like the anti-phishing work and low-rights IE. For IE7 in particular, our next major priority is removing the biggest causes of difficulty for web developers. To that end, we’ve dug through a lot of sites detailing IE bugs that cause pain for web developers, like PositionIsEverything and Quirksmode, and categorized and investigated those issues; we’ve taken feedback from you directly (yes, we do read the responses to our blog posts) on what bugs affect you the most and what features you’d most like to see, and we’ve planned out what we can and can’t do in IE7.

In IE7, we will fix as many of the worst bugs that web developers hit as we can, and we will add the critical most-requested features from the standards as well. Though you won’t see (most of) these until Beta 2, we have already fixed the following bugs from PositionIsEverything and Quirksmode:

  • Peekaboo bug
  • Guillotine bug
  • Duplicate Character bug
  • Border Chaos
  • No Scroll bug
  • 3 Pixel Text Jog
  • Magic Creeping Text bug
  • Bottom Margin bug on Hover
  • Losing the ability to highlight text under the top border
  • IE/Win Line-height bug
  • Double Float Margin Bug
  • Quirky Percentages in IE
  • Duplicate indent
  • Moving viewport scrollbar outside HTML borders
  • 1 px border style
  • Disappearing List-background
  • Fix width:auto

In addition we’ve added support for the following

  • HTML 4.01 ABBR tag
  • Improved (though not yet perfect) <object> fallback
  • CSS 2.1 Selector support (child, adjacent, attribute, first-child etc.)
  • CSS 2.1 Fixed positioning
  • Alpha channel in PNG images
  • Fix :hover on all elements
  • Background-attachment: fixed on all elements not just body

I want to be clear that our intent is to build a platform that fully complies with the appropriate web standards, in particular CSS 2 ( 2.1, once it’s been Recommended). I think we will make a lot of progress against that in IE7 through our goal of removing the worst painful bugs that make our platform difficult to use for web developers.

In that vein, I’ve seen a lot of comments asking if we will pass the Acid2 browser test published by the Web Standards Project when IE7 ships. I’ll go ahead and relieve the suspense by saying we will not pass this test when IE7 ships. The original Acid Test tested only the CSS 1 box model, and actually became part of the W3C CSS1 Test Suite since it was a fairly narrow test – but the Acid 2 Test covers a wide set of functionality and standards, not just from CSS2.1 and HTML 4.01, selected by the authors as a “wish list” of features they’d like to have. It’s pointedly not a compliance test (from the Test Guide: “Acid2 does not guarantee conformance with any specification”). As a wish list, it is really important and useful to my team, but it isn’t even intended, in my understanding, as our priority list for IE7.

We fully recognize that IE is behind the game today in CSS support. We’ve dug through the Acid 2 Test and analyzed IE’s problems with the test in some great detail, and we’ve made sure the bugs and features are on our list - however, there are some fairly large and difficult features to implement, and they will not all sort to the top of the stack in IE7. I believe we are doing a much better service to web developers out there in IE7 by fixing our known bang-your-head-on-the-desk bugs and usability problems first, and prioritizing the most commonly-requested features based on all the feedback we've had.

I do want to be clear that I believe the Web Standards Project and my team has a common goal of making the lives of web developers better by improving standards support, and I’m excited that we’re working together to that end.

- Chris Wilson

BizTalk 2006 Wss Adapter questions

SWEET!

Via Adrian Hamza 

These are some of the questions raised by early users of the WSS adapter. I assumed that people didn't want to see their names listed here, so I took the liberty and removed all the names and also rephrased some of the questions.

Q: What are the differences between the WSS adapter in 2006 which is available out of the box, and the WSS adapter for 2004 which could be downloaded from gotdotnet?
A: See my previous blog entry http://blogs.msdn.com/ahamza/archive/2005/07/27/443823.aspx At some point I will follow up in the blog with a detailed comparison of each feature.

Q: Can you use WSS adapter to archive Word/Excel docs contained in a SharePoint document libraries?
A: Yes, the new WSS Adapter can handle binary documents including Word/Excel docs. Just make sure that you: 1) use Passthrough pipelines on receive locations and send ports, and 2) you set Office Integration property to "No" on send ports and receive locations. Use CBR instead of an orchestration, it's much easier to make a mistake from an orchestration if you are using binary messages.

Q: Why would you use one pipeline over the other when using the WSS adapter?
A: Each pipeline has its own capabilities and features. The adapter does not care what pipeline is used, you will use one pipeline over the other based on the pipeline functionality that you need or don't need.
   - XmlPipeline - knows to search for the appropriate XSD schema that matches the incoming/outoging XML document and it will validate the XML message against the XSD schema. It also knows to add/remove PI, handle different types of message encodings, etc. This pipeline will validate the message and reject any invalid or unkown message. Using this pipeline with binary messages (non-xml) will cause the messages to be suspended. The pipeline settings can be changed to alter some of these characteristics.
   - Passthrough - this pipeline does NOT validate messages, it does not look for an XML schema, etc. This is the pipeline that you want to use with binary messages (or any message that can not be understood by BizTalk) like Word docs, PDF files, etc.

Q: The adapter "Windows SharePoint Services" raised an error message. Details "The request failed with HTTP status 401: Unauthorized." How can I fix this?
A: WSS Adapter runtime is hosted in a BizTalk host instance and it runs under the identity of the host instance. As a result the account for this host instance needs permissions to invoke the BTSharePointAdapterWS adapter web service as well as permissions to create/delete/update files in SharePoint.
Resolution:
    1.Go to your SharePoint site, probably http://<MACHINENAME>/sites/<SiteName> or http://<MACHINENAME>/
        Go to Site Settings
        Go to Site Administration
        Click on Manage site groups
        Click on Contributors
        Add Members...
        Add <MACHINENAME>\Sharepoint Enabled Hosts
    2. Now from Administrative Tools -> Computer Management, add <MACHINENAME>\<BTSHostUser> account to "Sharepoint Enabled Hosts" group
    3. Restart BizTalk host instance from the Admin MMC

Q: I added the host instance account to SharePoint Enabled Hosts and I still get 401 access denied error. Is there anything else I need to do?
A: Restart the host instance process using BizTalk Administration Console.

Q: How to install BTSharePointAdapterWS.asmx web service?
A: BTSharePointAdapterWS is in fact the Wss Adapter web service. This is installed by Windows SharePoint Services Adapter Web Service feature under Additional Software (in Setup). This feature's configuration settings are under the "SharePoint Adapter" node in the BizTalk Server Configuration tool.

 

Check it out

Via Thom Robbins 

Very cool DVD – well worth checking out

 

http://msdn.microsoft.com/vstudio/extend/partnerdvd/

 

Contains over 75 tools, components and languages from Visual Studio Industry Partners. These full version and evaluation products can help save you time and money building applications for Microsoft Windows, mobile devices, the Web, and Web services.

 

Screenshots Of New BizTalk Server 2006 Components

Via Richard Seroter 

Ok, as promised, here's a quick screenshot look at some of the BizTalk Server 2006 improvements that should catch your eye.

Figure 1 When you open up a BizTalk project in Visual Studio, the "Add Items" menu has changed a bit, and includes the new flat file wizard. This is a gift from heaven for those of you who have night terrors about monstrous delimited files.



Figure 2 Check out the new receive/send port adapter properties when you get the chance. Notice here that the FILE transport now has a Browse button. I think I actually rubbed my hands together and said "Exxxxxcellent" when I saw this. Some other great tweaks you can now make are visible here.



Figure 3 How do you not love the new Administration Manager? Here I can get an instant look at my machine and what's happening from a processing perspective. Just great stuff.



Figure 4 When viewing orchestration properties, you now control tracking as well as binding from one place. Very nice. No more digging through HAT to set tracking on an orchestration.



Figure 5 Since we now have an Application concept in BizTalk Server 2006, you can tie together all key resources that relate to a BizTalk application. This means that all the schemas, maps, pipelines, RULES, ports and so forth are logically grouped. As you see here, you can add any sort of resource to a BizTalk application for grouping. What's that, the gentle sobbing of joy I hear?



Figure 6 Mmmmmm, simplified deployment. Here I write click an Application and create an MSI package that contains ALL the resources needed for the destination machine. I think I just giggled out loud.



Figure 7 We've also added a friendly UI to the administration of Single Sign On. I have an SSO post queued up for this site, but needless to say, SSO is very cool stuff, and a non-DOS UI goes a long way to making this a bit easier to manage and use.



Figure 8 Here's the SSO Client UI that allows for the association of users with Affiliate Applications. Again, bit easier now to have a real UI instead of only a command line tool.


There you go. A quick first look. There have been great Business Activity Monitoring changes as well which warrant a dedicated post. More to come on that.

Windows Vista Beta 1 Now Available

I’m in the Longhorn beta in a ‘pending’ status on Connect.microsoft.com but I can download the Vista bits – Weird!

Either way – check out the Vista beta 1.

Via Dan Fernandez's Blog 

Build your webparts with NAnt
Play by the Rules or Don't Play at All!
Stefan has written a bunch of great articles which should put the fear into you if you are:
 
1) accessing Databases directly for products
2) Using undocumented/unsupported API's
3) running on unsupported architectures.
 
Check out this one: http://blogs.technet.com/stefan_gossner/archive/2005/07/27/undocumented_API_Part1.aspx
 
This one too: http://blogs.technet.com/stefan_gossner/archive/2005/07/27/408245.aspx
 
Not forgetting this one: http://blogs.technet.com/stefan_gossner/archive/2005/07/27/408247.aspx
 
And if you have been bad and are breaking the rules you must repent and get your system back into a supportable state!
(I can help)
Tech Ed NZ - SOLD OUT

Via Darryl Burling 

If you were looking forward to going to Tech Ed but were procrastinating - you've missed out!

Thats right!  We've sold out of our 2000 Tech Ed 2005 tickets in Auckland!  We've still got four weeks to go too!

If you are really desperate I suggest you find someone who has a ticket and see if they want to sell it :-)

Wow - this is cool - this years Tech Ed will rock!   

Where in the World was Dr. Neil?

This is soooo cool!

I wonder if it auto uploads his position as at midnight? 

Via Dr. Neil's Adventures: The HiTech Hobo

So you want to know where I have been this year, well here is the answer:
WhereWasDrNeil?

BizTalk 2006 Beta Program Now Open to the Public

YAY!

I’m in Beta-ville;

Virtual Server SP1

Office 2003 SP2

Windows Vista Beta (Aparently starting 3 August 2005)

MCMS/SPS vNext Beta (just kidding).

Via David Boschman 

[Via Stephen W. Thomas]

BizTalk Server 2006 Beta is now available for public sign up.   

BizTalk Server 2006 greatly simplifies the administration and deployment process.  Some of the other key enhancements are the flat file schema wizard, calling pipeline from an Orchestration, improved BAM, and suspended message routing, just to name a few.

To sign up for the beta program follow these easy steps:

1.  Go to http://beta.microsoft.com

2.  Sign in with your passport

3.  At the top of the page it should say something like “if you have a Guest Id click here”. 

4.  Enter: BizTalkBetaTeam (case sensitive) as your guest id.

5.  Fill out the survey.  I think the link is located on the left side of the screen.  Make sure you do not use a PO Box.

6.  You should get a welcome email once you are processed.  I do not know how long this will take.  Mine took several days.

 

I recommend anyone interested in BizTalk to take advantage to this beta program.  It will give you a great opportunity to see the new features of the upcoming release and to have access to the beta news group.  Just a note, Visual Studios 2005 Beta 2 is also required.

 

Check also the BizTalk Server 2006 Beta 1 Installation instructions and known issues. The installation instructions explain how to install BizTalk Server 2006 Beta 1 on Windows XP, Windows 2000 Server, or Windows Server 2003. The known issues file describes known issues about this beta release.

 

And don't forget to provide Luke with all feedback on the installation and configuration guides for this release.

Windows Vista Wallpaper

I had the Windows Vista background on my desktop and second monitor all day – and everyone walking past called me a dork!

Infact, I got more comments from the Vista wallpaper than the Springfield is for Gay Lovers of Marriage wallpaper.

Via Bink.nu

You were looking for that wallpaper showed of during the 'launch video'?


Windows Vista Wallpaper Large

Click to download ! Looks quite cool with the MCE 2005 'royale' theme! :)



More Posts Next page »