Blog Home  Home |  Breeze Home RSS 2.0 Atom 1.0 CDF  
Mick's Breeze Blogs - Biztalk/Sharepoint/... - Thursday, May 22, 2008
Things hard and not so hard....
 Thursday, May 22, 2008

 

Thursday, May 22, 2008 3:49:28 PM (AUS Eastern Standard Time, UTC+10:00)  #    Comments [0]   MOSS | Tips  | 

Back in V2.0 we had a Web Service that did this sort of stuff for us, now in V3.0 it's delivered straight from the Object Model.

Essentially:

  1. We create a batch of XML which could have 'adds, updates + deletes' in there.
  2. We call the web.ProcessBatchData(xml) method, handing to it our wishes.

This technique is fast, and CAML based :(

So if you need to add 100 items to the list - this would be a way to do it. (I've got to check whether this technique fires event handlers on the lists or whether it's a 'back door' thing)

Note: in the snippet below, the fields are referenced via their namespace#<name>
- you can get the field's details by saving your list 'As a template', downloading the *.stp file, renaming to *.stp.cab, opening it and looking into the *.xml file there.

- you could also call the lists.asmx webservice (..\_vti_bin\lists.asmx) and calling the GetListCollection(); method to see a chunk of describing XML.

   1:  "<ows:Batch OnError=\"Return\">" +
   2:              "<Method ID=\"A1\"><SetList>" + myGuid + "</SetList>" +
   3:                  "<SetVar Name=\"ID\">New</SetVar>" +
   4:                  "<SetVar Name=\"Cmd\">Save</SetVar>" +
   5:                  "<SetVar Name=" +
   6:                      "\"urn:schemas-microsoft-com:office:office#Title\">" +
   7:                      "New Manager</SetVar>" +
   8:                  "<SetVar Name=" +
   9:                      "\"urn:schemas-microsoft-com:office:office#Body\">" +
  10:                      "Congratulations to Mary for her promotion!</SetVar>" +
  11:                  "<SetVar Name=" +
  12:                      "\"urn:schemas-microsoft-com:office:office#Expires\">" +
  13:                      "2003-09-14T00:00:00Z</SetVar>" + 
  14:              "</Method>" 

Here's a small MSDN article on it - http://msdn.microsoft.com/en-us/library/cc404818.aspx

Cheers,

Mick.

Thursday, May 22, 2008 3:39:46 PM (AUS Eastern Standard Time, UTC+10:00)  #    Comments [0]   MOSS | Tips  | 
 Wednesday, May 21, 2008

There's a couple of great MSDN articles around performance tuning and high availability.

Very nice - don't leave home without them :)

1. BizTalk RFID: Capacity Planning and Performance Tuning

Performance Metrics

Number of devices Administrative operation Response time - single processor
(in seconds)
Response time - dual processor
(in seconds)

10

StartProcess

30.1

17.64

StopProcess

5.2

2.221

GetAllDeviceStatus

10.0

7.0

50

StartProcess

37.6

20.302

StopProcess

6.2

6.591

GetAllDeviceStatus

21.0

13.0

150

StartProcess

55.8

27.934

StopProcess

7.5

6.789

GetAllDeviceStatus

42.0

27.0



2. BizTalk RFID: Clustering BizTalk RFID for High Availability

Wednesday, May 21, 2008 10:48:47 PM (AUS Eastern Standard Time, UTC+10:00)  #    Comments [0]   BizTalk | RFID | Tips  | 

(it even includes MOSS 2007 BI Dashboards)

This is one of the best BAM posters I have seen to date. As part of your Bat-Utility belt this is a must.

You could even print it out and stick it on the wall in the office....you never know....that raise should come sooner rather than later :)

Download the poster from HERE

Wednesday, May 21, 2008 9:07:29 PM (AUS Eastern Standard Time, UTC+10:00)  #    Comments [0]   BizTalk | MOSS  | 
 Tuesday, May 13, 2008

Clayton sent through a great picture that explains what the main placeholders are on SharePoint Master Pages.

Well done CJ - thanks!

sharepoint_masterpage

Tuesday, May 13, 2008 11:37:37 PM (AUS Eastern Standard Time, UTC+10:00)  #    Comments [2]   MOSS | Tips  | 
 Tuesday, May 06, 2008

Hi folks,

While freezing in NZ (this week) I came across this this great MSDN article discussing some of the lower level implementation details around .NET 3.5 Framework.

The part that interests me is the Presence information (right at the end of the article) where once a connection is setup, you can get presence information about the other party - right from the .NET 3.5 framework.

If you've ever had to try and develop for that other ways i.e. by talking straight to communicator, or messenger or... etc.

You'll realise that they each have a slightly different API set, (some accept SIP, some don't, some require it, some don't...) and it's opening up trouble - cause on the target deployment machine...can you imagine the production guys when you say "hang on, I've just got to go and download Messenger (from Live)...."

Anyway - here's the article.

Enjoy - http://msdn.microsoft.com/en-us/magazine/cc163356.aspx

Tuesday, May 06, 2008 5:05:16 PM (AUS Eastern Standard Time, UTC+10:00)  #    Comments [0]   .NET Developer | General | Tips  | 
 Sunday, May 04, 2008

It's a page that's hidden away and difficult to land on from a Search....so I thought I'd list it here for us all

http://www.pc-ap.fujitsu.com/support/drv_lb_vis64_t4215.html


 
LifeBook T4215
Windows Vista 64bit Drivers
Driver Name Readme file Version Size(bytes)
   Audio   V.6.10.0.5274A 5,352,330
   ACPI Device Driver (FUJ02B1)   V.1.23 11,655
   ACPI Device Driver (FUJ02E3)   V.1.20 11,434
   AuthenTec Fingerprint Sensor Driver (For model with Fingerprint sensor)   V.7.7.0.68 206,889
   Bluetooth Device Driver (For model with Bluetooth module)   V.5.00.07 29,491,323
   Fujitsu Tablet Button Driver and Utility Device Driver     654,550
   Intel Matrix Storage Manager Device Driver   V.6.2.1.1002 252,448
   LAN   V.9.16.2.3 164,250
   Modem   V.2.1.77 935,338
   SMSC Fast Infrared Device Driver   V.6.0.40001 55,209
   O2Mirco MultiMedia Devicd Driver   V.1.0.0A 2,236,416
   O2Micro SmartCard Device Driver   V.3.0.1.2 1,958,494
   TouchPad Mouse   V.9.1.11.0 6,710,882
   Video   V.7.14.10.1147R 10,535,384
   Wireless LAN for model with Intel 3945ABG module   V.10.6.0.46 3,701,179

Sunday, May 04, 2008 11:25:07 PM (AUS Eastern Standard Time, UTC+10:00)  #    Comments [0]   General | Tips  | 

After much trialling and not much success.....Skype would install on my Windows Server 2008 x64 no problems, but at the sign-in screen the app would crash.

This happened in many different ways over many different Skype install permutations.

I think I've cracked it with an older version being the goods:

http://www.oldapps.com/download.php?oldappsid=SkypeSetup_3.0.0.190.exe

Cheers,

Mick.

Sunday, May 04, 2008 11:23:27 PM (AUS Eastern Standard Time, UTC+10:00)  #    Comments [0]   General | Tips  | 
 Wednesday, April 30, 2008

Hey folks - while flying through different timezones and working away on my VPCs I came across the problem below.

Basically no further work could be done on the Application within the BizTalk Admin Console.

 

Couldn't stop/start, undeploy...delete etc.

 

The only thing I had done was to adjust my time to reflect local time....which as I found out causes the problem.

 

I adjusted my clock back to Sydney time and we're good to go!!!

 

Trap for young players......

 

 

SSO AUDIT
Function: SetConfigInfo
Tracking ID: df1dd0b0-c9d5-4012-bb97-336aa8df78b3
Client Computer: BTS06-Platform.contoso.com (mmc.exe:1884)
Client User: BTS06-PLATFORM\Administrator
Application Name: {D2241406-0767-4C13-98EB-43EECE80F8A0}
Error Code: 0xC0002A40, The external credentials in the SSO database are more recent.

Wednesday, April 30, 2008 2:45:23 PM (AUS Eastern Standard Time, UTC+10:00)  #    Comments [1]   BizTalk | Insights  | 
 Saturday, April 26, 2008

We've now got official Management Pack support for R2 and the newer things in R2 such as EDI and RFID.

I've had many students come up to me and say "Mick - what in the world are you talking about?"
(mind you I get that at home as well - but let's not go there)

Have you ever asked the question:
I wonder how our BizTalk (et. al.) servers are going?
(this is where you could send the work experience kid around to all the servers gathering details and report back to you by lunch.....but not all of us have work experience kids)

The answer to this is relatively complex - as you'll need know things like:

  1. Services - stopped, started, uptime. BizTalk Services, SQL Services, WCF/IIS Services etc.
  2. Database sizes, Spool table lengths
  3. Queue Lengths - disk etc.
  4. Memory details
  5. BizTalk Orchestration details
  6. Messaging Details
  7. .... and the list goes on.

SCOM2007 with the management pack gives you that - in near enough realtime with all sorts of graphs and charts.

One of the *best* things I like about SCOM2007 is that you install the Management Pack(s) only on *one* machine - usually the SCOM2007 Central Administration machine, and as more applications are installed on servers on the network, the appropriate management bits are 'auto-deployed'.

Grab it here -

http://www.microsoft.com/downloads/details.aspx?FamilyId=389FCB89-F4CF-46D7-BC6E-57830D234F91&amp;displaylang=en&displaylang=en

Saturday, April 26, 2008 10:59:16 PM (AUS Eastern Standard Time, UTC+10:00)  #    Comments [0]   BizTalk | Insights | RFID | General | Tips  | 
 Friday, April 25, 2008

I've got a RFID project in the pipeline and I'm doing a 'little playing' at this point - seeing how far I can go through the APIs given this certain Reader and BizTalk RFID Client APIs. (I'm home and hosed on the BizTalk RFID APIs, but the questions are more around the particular Provider AND what the device can/can't do)

So I decided to venture a little further...........

Fired up a VPC and seeing this Reader is a USB connected device, (and as we know that VPC/Virtual Server/Hyper-V 2008 does not share USB ports!!! After a little pain I found a 3rd party software piece that did the job!) had to share it from another physical host where the Reader is plugged into.

After a little playing with Provider/Device Settings within BizTalk RFID Manager - away we go.

I decided to cut some code and do a GetDeviceCapabilities(...) sort of call.

Check this out!!!!!

Line 25 - was my call on the Open Connection.

** I decided to run the code in debug mode and entered the same command in the Intermediate Window

This was the part that took the cake....it's got a whole collection of ENGLISH TEXT as to what the device does!

If you're like me...so many of these things fall down to byte structures with certain bits here and there indicating different capabilities.

HOW GOOD IS THIS!!!! Well done to the RFID Team.....it's great to have APIs that make sense.... :) (mostly smile_eyeroll)

RFID

Friday, April 25, 2008 9:03:03 PM (AUS Eastern Standard Time, UTC+10:00)  #    Comments [0]   BizTalk | RFID  | 

I came across this Microsoft Page while on my travels which lets you browse for your VHD by product!!!!!

e.g. SQL 2008, BizTalk, SharePoint, VS2008 etc etc. Grab the VHD for your needs.

They are public domain VHDs so I'm guessing they're 'limited' in some way (probably time) - which means don't go building your VOIP/RFID Corporation on them :)

Have fun!

Friday, April 25, 2008 7:13:53 PM (AUS Eastern Standard Time, UTC+10:00)  #    Comments [0]   General  | 
 Thursday, April 24, 2008

BizTalk RFID 'v2' is in early TAP (Technology Adopter Program/phase) and runs on Windows Mobile Devices...pretty cool!

Now Microsoft have moved RFID not only into the common household framework, but also provided the reach with Mobile devices.

Rather than in the classic RFID model where tags move and Readers are *fixed*. We now can have Readers that move and tags that are *fixed*.
(lots of ideas for this one!)

Check out a stream of RFID 'stuff' from YOUTUBE

RFID goes Mobile...

 

What is RFID....

Future Supermarket!

Thursday, April 24, 2008 10:18:43 PM (AUS Eastern Standard Time, UTC+10:00)  #    Comments [1]   BizTalk | Insights | RFID | General  | 

Christmas has gone, Easter too.....but here's something to smile about. There's some HUGE things cooking on the horizon in the land of BizTalk.

We want SQL2008....we want VS2008 and we want the world of connectivity to/from BizTalk to be *easy*. Also as BizTalk RFID goes mobile....we want to go there too! Control, manage, deploy/stop/start processes etc etc.

Here's a start....

Steve Martin (heads up the Connect Systems Division - CSD at Microsoft in Product Management) spilt the beans and let me tell you....when are the betas coming out!!!!!!!

http://blogs.msdn.com/stevemar/archive/2008/04/23/biztalk-server-platform-updates.aspx

 

Enjoy

Thursday, April 24, 2008 10:00:38 PM (AUS Eastern Standard Time, UTC+10:00)  #    Comments [0]   BizTalk | Insights | RFID  | 
 Monday, March 24, 2008

Happy Easter,

It's user group week and this Wednesday we're going to look at BAM (as well as playing some xbox!)

Wow another month has gone by and there’s been some great work done in the land of BizTalk.
There’s been a BizTalk Operations guide released and a whole swag of BizTalk whitepapers/articles published also – keep an eye on my blog (Main link, and the BizTalk Specific Info Link) for all of these and more.

If you haven’t checked out the BizTalk Adapter Pack V1.0 then it will be available from MSDN Downloads from April 1 (no April fools joke) – US Date, April 2 for us.

So what’s coming up in March I hear you ask....

This month I’m mixing a little work with play! IT’s XBOX time!!!! (with some BAM thrown in there)

(we didn’t actually get the XBOX ‘room’, but I’ve decided we’re going to make our own......in no other place than the boardroom! – “Mr Green, in the Boardroom with the Candle Stick!”.....wrong game :)

I’m also wanting to cover BAM from setup, including WCF and WF services. But the really cool part is that I’ll show you how to expose this in MOSS 2007 BI Dashboards! (right in the middle of your intranet!)

What is in store for our March 26th Session (add to Outlook)

Where:
Microsoft, North Ryde
1 Epping Road

When:
6pm - Beer + Pizza
6.30pm - Kick off
March 26th 2008

- LOAD FEST going on in the background – if you haven’t already got all the latest .NET 3.5 goodies, then I have 30GB worth that you copy over.

- TOPIC THIS MONTH: BAM End-To-End and XBOX-ing.

Presenter: Mick Badran (aka me) – MVP BizTalk and experience in Biztalk since its inception (1999/2000).
Mick as extensive real world experience in BizTalk and integration

Session Outline

In this session we will be focusing on some BAM within the BizTalk 2006 R2 Framework.

1) How to get BAM off the ground

2) Using BAM within Windows Workflow and WCF Services.

3) Extending BAM in real time

4) Surfacing BAM information through a MOSS Business Intelligence ‘Dashboard’

5) XBOX games! Games and more games.

Feel free to forward this to any of your colleagues/friends I may have missed (tell them to register on the Sydbiz.org site to be included)



Call for Speakers/Other People to take Tyre Kicking Sessions

If you want to help out and share a little of what you know with us, as always I welcome all and sundry.
Just email me and we’ll organise it....or....I could just dob you in......now where has Neal gone???

Love to see you there – and reply to this email to let me know for catering.

Monday, March 24, 2008 10:48:58 PM (AUS Eastern Standard Time, UTC+10:00)  #    Comments [2]   BizTalk | Usergroup  | 

Happy Easter all - just come back from a great Easter getaway weekend and thought I'd share this common question with you:

"How do I turn off Global Tracking in BizTalk?"

On an internal email a solution was mentioned:

Basically - it comes in two steps, (a) following a TechEd article, (b) performing additional steps in WMI.

Here's the steps:

1. TechNet Article

2. WMI Steps -

The GlobalTrackingOption property is a property of the MSBTS_GroupSetting WMI class.
The MSBTS_GroupSetting WMI class represents a logical grouping of computers that are running Microsoft BizTalk Server.
This property can be modified with the Windows Management Instrumentation Tester tool. To do this, follow these steps:
------------------------------------------
1. Click Start, click Run, type wbemtest, and then click OK.
2. In the Windows Management Instrumentation Tester, click Connect.
3. In the Namespace box, type root\MicrosoftBizTalkServer, and then click Connect.
4. Click Open Class, type MSBTS_GroupSetting in the Enter Target Class Name box, and then click OK.
5. In the Properties list, click GlobalTrackingOption, and then click Edit Property.
6. To disable the Global Tracking option for the BizTalk Group, change the Value that is listed from 1 (0x1) to 0 (0x0), and then click Save Property.
7. To enable the Global Tracking option for the BizTalk Group, change the Value that is listed from 0 (0x0) to 1 (0x1), and then click Save Property.
8. Also click on Save object
9. To close the Windows Management Instrumentation Tester tool, click Close in the Object Editor for MSBTS_GroupSetting dialog box, and then click Exit in the Windows Management Instrumentation Tester dialog box.
10 Restart the host.

Monday, March 24, 2008 10:36:20 PM (AUS Eastern Standard Time, UTC+10:00)  #    Comments [0]   BizTalk | Insights  | 
Copyright © 2008 Breeze Training. All rights reserved.