Friday, June 06, 2008

MOCSDUG: ESB Guidance Toolkit for BizTalk 2006 R2

Last night 2nd meeting was just as good as the first one.  Richard Broida gave a good overview of some of the key points for the ESB Guidance toolkit, as well as some good background info on having a good architecture base.

There were some BizTalk developers in the room and there were some other ones that were interested on BizTalk. Somehow, the seating arrangement turned out to be all BizTalk developers in the middle section and everyone else out on the sides. ;)

Richard's blog is http://gloriousmonster.blogspot.com/, and I'm waiting for his slide deck to show up at the MOCSDUG site.

ESB Guidance Toolkit for Biztalk 2006 R2 

I have been interested on the ESB Guidance toolkit, and after tonight's meeting I have decided to install it and try some of their samples.  Of interest to me are the Message Repair block and the Exception Handler block.  Will post on my findings on those blocks when I get them running.

Wednesday, May 14, 2008

Distinguished fields of type xs:dateTime not Working on Orchestrations

Writing a spyke for a simple program, I came out with this odd behavior when I try to compile my BizTalk project.

image

I have created a simple schema, and in one of the fields I have field of type xs:dateTime. Well, when I have tried to use this field on an expression shape, I get this build compiler error:

'System.Xml.XmlDocument' does not contain a definition for 'XXXX'

where XXXX is the field name of the element that I have declared as a xs:dateTime type. I then went and set it up as a distinguished field. Here is a sample generated xml from my test schema:

  1. <ns0:Customer xmlns:ns0="http://DistingProperty.Test.Customer.v1">
    <FName>FName_0</FName>
    <DOB_datetime>1999-05-31T13:20:00.000-05:00</DOB_datetime>
    <DOB_date>1999-05-31</DOB_date>
    </ns0:Customer>

and this is the schema that I have used


image

When I am trying to use the distinguished field inside an expression shape, noticed that I get the Visual Studio IntelliSense:

image

When you try to read this value, it will always complain about the XmlDocument not being able to find the definition for the field that is defined as DateTime.

To get around this, you should use the System.Convert.ToString() instead of the .ToString() function;


1 Trace.WriteLine(" bad:[" + msgIN.DOB_datetime.ToString() + "]");

2 Trace.WriteLine("good:[" + System.Convert.ToString(msgIN.DOB_datetime) + "]");



Another lengthy way to get around this issue is to assign the distinguish field to an xmlNode and then use the xml Namespace Manager to get to the node value instead.

The code on my expression shape looks like this:


1 System.Diagnostics.Trace.WriteLine("bts- In here");

2

3 //assign values to person

4 xDoc = msgIN;

5

6 xmlnsMgr = new System.Xml.XmlNamespaceManager(xDoc.NameTable);

7 xmlnsMgr.AddNamespace("ns0", "http://DistingProperty.Test.Customer.v1");

8

9 xNode = xDoc.SelectSingleNode("/ns0:Customer/DOB_datetime", xmlnsMgr);

10 System.Diagnostics.Trace.WriteLine("bts-[" + xNode.OuterXml + "]");

11

12 xNode = xDoc.SelectSingleNode("/ns0:Customer/DOB_date", xmlnsMgr);

13 System.Diagnostics.Trace.WriteLine("bts-[" + xNode.OuterXml + "]");

14

15 //this works as expected

16 System.Diagnostics.Trace.WriteLine("bts- " + msgIN.FName);

17


Which ever way you choose, this looks like a limitation on the way the XLANG/s in the Expression shape interprets the command code.

Monday, May 12, 2008

How to Setup Windows SharePoint Services 3.0 with BizTalk 2006 R2

Today I have found this error AGAIN.! [old post]

Setup is unable to proceed due to the following error(s):
This product requires ASP.NET v2.0 to be set to 'Allow' in the list of Internet Information Services (IIS) Web Server Extensions. If it is not available in the list, re-install ASP.NET v2.0.
Correct the issue(s) listed above and re-run setup.

This time I am installing WSS 3.0 with SP1 on a Windows 2003 - SP2 machine.  This is a greenfield installation of BizTalk 2006-R2.

Noticed that on my IIS Manager, there is no ASP.NET 2.0 service extensions

image

I ran the standard command that *everyone* should have memorized by now... ;)

c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -iru -enable

Now, when I open my IIS Manager I see the ASP.NET v2 service extension enabled

image

Running the setup.exe for WSS works fine now. 

Hint:  Don't forget to select Advanced settings and then select  the Web Client configuration.  This is a necessary step, if you want to specify the name of the database where the WSS configuration will exist.

Thursday, May 08, 2008

Error trying to re-install SQL Server 2005 on a Failover Cluster environment

I had to un-install the SQL instance that I have on my virtual cluster.  The reason?  I could not get the Service Pack 2 to be recognized by my BizTalk configuration.  Apparently, the SP2 that I had installed was the 9.00.3027.0 and not the 9.00.3042.1  Monish pointed that out that I might have an older version of the Service Pack [he is the only person I know that reads those EULA information...]

 9.0.3027.0  - 12/1/2006 11:17am 9.0.3042.1  - 9/5/2007 12:09am

I am trying to start from scratch the installation of SQL 2005, and when I run the setup I get this message:

image

TITLE: Microsoft SQL Server 2005 Setup
There was an unexpected failure during the setup wizard. You may review the setup logs and/or click the help button for more information.

For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.06&EvtSrc=setup.rll&EvtID=50000&EvtType=datastore%5cmachineconfigscopeproperties.cpp%40InvokeSqlSetupDllAction%40SqlInstallConfigScope.InstanceName%400x2

Well, clicking on that link, does not provided any more help. Click on the help and I get this other screen:

image

the last line tells me about the event type that has failed:

datastore\machineconfigscopeproperties.cpp@InvokeSqlSetupDllAction@SqlInstallConfigScope.InstanceName@0x2

Now, I have the code that causes the installation to fail. What's next?  ;)

Then I found this other technical article on the MSDN 925976, this suggested cleaning up the registry. I went and clear all of the registry entries from my SQLNode1 and I still get the same error.  I then follow the same instructions on my SQLNode2.  This still did not allowed me to run the setup.  So I went one step deeper and instead of removing just the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.X\ registry key like they suggested, I removed all hives starting from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server.

Success..! now I am able to run the setup on my primary node, and I *WILL* install the correct Service Pack this time.. ;)

Monday, April 21, 2008

Day of .NET - Wilmington, OH

CIMG5741

One more year of an awesome event. 

Jeff Blankenburg has started what seems like a great tradition: Poker night...!  After the appreciation dinner, we were all invited to room 506 for a poker night. It was amazing that almost everyone went up to the suite to just hang out.  There was an equally amount of people in there just watching than playing.

Hopefully, Jeff will remember to bring something *ELSE* for those of us that just want to hang out and don't play poker. [Xbox 360 / Wii ;).  It was a different way of bringing together all of the masses to a room where we could talk. thanks Jeff.

Sessions that I attended: 

  • Mobile with Nino: I thought that the topic was very interesting; however, I think Nino was not all there.  Maybe that trip to the MVP summit was too tiresome for him ;)  His presentation was good, but I think he could have done a lot better.  I could not attend his 2nd talk on Mobile development, but I heard it was very interesting as well...
  • XML Capabilities in SQL with Jason was great.  Learn a couple of things that I have added to my to-do task of things I want to try when I have some spare time.
  • Soft Skills with Brian.  What can I say, Brian delivered another thought provoking talk, good pointers in there.  I am lining up for the swag-monkey position for next time. ;)
  • Reliable messaging with WFC with James was good.  WFC is one of those topics that are so vast, and James really nail down the point that he was trying to make. He lived up to his *twitter promise* and in fact it was a MUCH improved talk from last year.
  • Agile Practices and TFS with the comrade was good.  I like the way that he show the agile implementation by using a tool like TFS.

I had a blast at this day of .NET event.  The new location was awesome.  We all got to eat sitting at a table.!! (unlike last year's... ;)

Following last year's tradition, it was Monish time to oversleep. And HE did.  I have never seen a Prius doing more than 70mph (or for that matter Monish driving THAT fast...;)  One thing is that me and Alexei learned is that Monish does not know how to avoid things on the road. On the way to finding a Bob Evans for early breakfast, he hit a dead skunk.! Even thought we smell the dead skunk and saw the body over 100ft ahead.!!

Looking forward next year's when it will be Alexei's turn to drive... ;)

Tuesday, April 15, 2008

VPC 2007 not running on Virtual Server 2005 R2

I have been trying to port a VPC 2007 to run on our Virtual Server 2005 R2 with no success. This is the error I am getting:

Virtual Machine
The "Virtual Hardware Standard" (Virtual PC 2007) in the configuration .vmc file for "XXX Server" was not created by Virtual Server. "XXX Server" can start, but some settings may be changed and some settings may not be used.

other errors that I am getting:

Virtual Server
The virtual machine “XXX Server” could not be started. An unexpected error occurred.

Virtual Machine
"XXX Server" could not be started because a disk-related error occurred.

I am still not sure as to what the error is. So I ran the Inspect and also the compact utility on the hard drive hoping that this action might *magically* fixed this issue.

Virtual Server 2005 R2 Pending Actions

I get the message that it did succeed compacting:

Virtual Disk Operation
The virtual hard disk "E:\Virtual Machines\XXXServer\BaseWin2K3 Hard Disk.vhd" was compacted.

However, I still get the unexpected error message. At this point, I decided to merge the diff disk with the parent and then keep a single file. Clicking on the Merge virtual hard disk link yielded this:

Virtual Server 2005 R2 Merging Disk

After this is done, I get this message:

The parent virtual hard disk appears to have been modified without using the differencing virtual hard disk located at "E:\Virtual Machines\XXXServer\W2K3 Diff.vhd". Modifying the parent virtual hard disk may result in data corruption. It is strongly recommended that you lock the parent virtual hard disk to prevent this in the future. If you recently changed time zones on your computer, you can safely continue using this virtual hard disk.

So, I decided to create a new virtual machine. First step, I deleted the VMC file. Then create a new Virtual Machine with no Virtual Hard Disk defined.

Attach a virtual hard disk later (None)

After that was done, clicked on the Configurations for that new Virtual Server, then clicked on the Virtual Hard Disk properties, and added the Virtual Hard Drive that was merged earlier:

Virtual Server 2005 R2 - add existing VHD

Started the New Virtual machine, and PRESTO..!! it's alive [muahh, muahh, muahh] and it has all of my latest changes into it.

Thursday, April 03, 2008

Blue Screen on Vista SP1

Do blue screen still exists in the new and latest Operating system from Microsoft... ?

image 

[Main Instruction]
Windows has recovered from an unexpected shutdown

Problem signature:
  Problem Event Name:    BlueScreen
  OS Version:    6.0.6001.2.1.0.256.4
  Locale ID:    1033

Additional information about the problem:
  BCCode:    a
  BCP1:    0000000000000000
  BCP2:    000000000000000C
  BCP3:    0000000000000001
  BCP4:    FFFFF800026742D4
  OS Version:    6_0_6001
  Service Pack:    1_0
  Product:    256_1

Files that help describe the problem:
  C:\Windows\Minidump\Mini040208-01.dmp
  c:\temp\WER-374105-0.sysdata.xml
  c:\temp\WER6B5F.tmp.version.txt

Clicking on the Check for Solution button, it deleted those files and close the dialog box really quick.  So I went and check on the Windows Error Reporting folder located at C:\ProgramData\Microsoft\Windows\WER\ReportArchive

In there I found two files:  Report.cab and Report.wer.  Opening the Report.cab yield those 3 files reported on the Dialog box.

image

Now I went and open the version.txt file:

Windows NT  Version 6.0 Build: 6001 Service Pack 1
Product (0x4): Windows Vista (TM) Enterprise
Edition: Enterprise
BuildString: 6001.18000.amd64fre.longhorn_rtm.080118-1840
Flavor: Multiprocessor Free
Architecture: X64
LCID: 1033

The sysdata.xml contains a list of all of the drivers currently loaded:

image

so right now I don't know what caused the blue screen, and I am not sure if this information was ever transmitted to Microsoft.  For the record I have a Dell D820 with 4GB Ram running Vista Enterprise 64bits.

I have started to see more and more people getting blue screen's on Vista after they installed SP1. Coincidence?  ;)

Wednesday, April 02, 2008

MOCSDG: Mid Ohio Connected System Developer's Group - OSLO

Yeah, the first meeting of this group will be kicked off this Thrusday.!! Don't miss it. If you want to be on the mailing list, email Monish and he will add you to the list. The meeting will be held at the Microsoft Office in Columbus, OH.

This first meeting, is going to be started with a presentation from Delbert Murphy. He is one out of 90 MCA's that holds this certification. He is the only Certified Architect in both Microsoft .NET and Java that I have met. So this is a good opportunity to meet him (even if you DONT believe in Certifications... blog post coming....;)

He will be talking about OSLO, which is not just the next version of BizTalk, but the next generation of a unified platform for integrating applications and services. (lots of buzzwords... ;) This is all part of the Connected Systems Division at Microsoft and I believe these set of technologies that Microsoft is working on will have everything including the kitchen sink!! Elkay Mystic Kitchen sink Don't believe me?

... the technology to deliver these capabilities will be delivered through BizTalk Server "V6", System Center "V5", Visual Studio "V10", BizTalk Services "V1" and .NET Framework "V4". The code name for this effort is "Oslo"...[read whole article]

  1. Visual Studio v.10
  2. System Center v.5
  3. Biztalk Services v.1
  4. .NET framework v4.0
  5. Biztalk Server v.6

and that is very powerful.! And if you are a Challenge Junkie like Brian said, then OSLO will give you something to get excited about.

Tuesday, April 01, 2008

ReSharper 4.0 upgrade

I am taking the plunge and going for the EAP nightly builds of ReSharper.  Since I have started using Visual Studio 2008, and it is REALLY annoying having to disable ReSharper everytime I want to do any work on it. Plus Harman talks so much about the new features and how they are very stable. So if HE uses it, why not me. ;)

So far, I have an un-easy feeling about this and the message does not provide any comfort...image

Hope that QSI Management hurries up and approved that PO to buy us personal licenses of ReSharper before I run out of trial days.

Here is what happened to my v.3.1 License: License to version 3.x is not acceptable since issued before 12/21/2007.

image

30-days trial vs Full license... argghhh..

image

 

let's see what happens after 30-days.!

image

Sunday, March 30, 2008

DVD Collection = 800..!

I have finally reached a milestone [800 dvd's..!] in my DVD collection.

image

These are the last 25 dvd's that I have added to my collection. The software that I used to keep track of my massive collection is DVD Profiler.  This software allows me to keep track of all of the details on my collection.  From how much I have spent, to when did I purchased it, location, etc.  It also allows me to keep track of dvd's that I have loaned to friends. There is even a section about ratings, choosing a random movie to watch, etc.  Well worth the price of it [$25.00]. The price includes putting your collection online. Here you can view my complete collection online.

image

General information on my collection.

image

noticed that the average price for this year is about $6.13 / dvd..!!

image

The number one question I get asked is how much have I spent?  Not a secret. In this chart you can see, is not that I am buying less in the past 3 years.  Instead, it is that the price of the DVD's have significantly come down.  Also, I am buying mostly used DVD's, so it affects the average price I am paying for them.

image

Tuesday, March 25, 2008

Shutdown Event Tracker

A small annoyance.  When I get a Virtual PC image that has Windows 2003 on it, it seems that the I am always looking for this information on google on how to disable the Event Tracker.

image

Here is a good article that I used all of the time

Disable Shutdown Event Tracker Windows 2003

Now, I won't loose it... :D

Thursday, March 20, 2008

Windows DNA and Biztalk 2000

Being the certification freak, I subscribe to anything Microsoft related. A few weeks back, I have received an email notifying me that the Exam for BizTalk 2000 is going to be retired.! http://www.microsoft.com/learning/exams/70-230.mspx

Of all of the certification tests that I have taken, this is the one that has the most meaning to me.

It's been almost 10yrs since I first hear about this product. Why BizTalk? This is my story. Right at the beginning of the dot COM era, I was an independent consultant doing COM and MTS. I actually knew how to get Windows NT4 to work with DCOM. Those were the years that I have abandoned C++ and their MFC for VB4 and VB5.

I remembered being part of the beta tester for VB5 and VB6 and signing NDA's. I was just starting to play with SQL Server 6.5 when I got this offer from a consulting company up north. They were based on Michigan and they were looking for Developers to work on this new joint application with Ford Motors [carpoint.com]. They mentioned that I would be working alongside Microsoft Consultants developing this new application that was going to revolutionize the automobile industry. I passed all 2 tech phone interviews and drove up there to meet them. Everything went fine, and I did get the Michigan Battle song played while talking to one of the PM's.! Funny, I don't really care about Football.

When the offer came, there were so many factors that I had to take into account. It was just about the same that I was making at that time in Columbus, so the money factor was not there. The challenge factor was there. It was the beginning of Internet boom, and as I can remember signing bonuses and stock options were very popular. Moving up north did not seem like a good career move, so with great dispair, I passed on this one offer.

2 years later, I am playing with this technology preview called BizTalk. Oh yeah, that was it. I am still doing the *what-if's* all of the time.

The buzzword of the day back then was Windows DNA [Windows Distributed InterNet Applications Architecture], then Microsoft stated their new strategy with the eCommerce .NET servers: Commerce Server 2000, Exchange 2000, SQL Server 2000, Application Center 2000, ISA 2000, BizTalk 2000 and some other that I can't remember. And BizTalk was one of the main core that will glue them all together.

I embraced this technology fully. It was the time that there were lots of mergers and acquisitions. Integration was starting to become a real enterprise problem. I had my share of integration projects with Unix and Windows.

The certification for this BizTalk 2000 did not come out until about 2001. I had to admit, I had to take this test 2 times to pass it. There were no materials to study for. At the time there were only 2 books that I could study from:

MCSE Training Kit: Microsoft BizTalk(tm) Server 2000 (Exam 70-230) (Hardcover) Microsoft BizTalk Server 2000 Administrator's Guide (Hardcover)

So finally I conquered this test.

image

Now, after obtaining every single BizTalk Certification (including the ones that dont exist... ;), I can only say that I will miss this test the most for the significance it had in my life..

It is amazing to sit here and think that this product has evolved so much in the past 10yrs. I can't hardly wait when Oslo comes out.

Monday, March 10, 2008

ADIOS

Mom and Dad - 1964
Arnulfo Wing Caceres
Born: August 15, 1938
Decease: March 4, 2008
Married: October 18, 1964

fyi, my dad passed away at 5:30am, I arrived at 2:10pm. :S

Friday, February 29, 2008

Grok talk on Business Rule Engine Essentials

I have presented a grok on BRE essentials tonight at our monthly Solutions Group meeting.  The main focus on my presentation was to give a quick glance at what is available to developers when they enter the realm of BizTalk.  Some smart guy once said that knowing what's available out there is half the battle.

Anyways, the main points of my talk was to show how you can interface with the BRE (from BRE to .NET, and from .NET to BRE).  I have found the BizTalk rules engine to be very efficient and fast.  In the last project we have, we had over 450+ policies, and each policy had an average of about 5-7 rules on each of them.  On top of that I had an orchestration that call the vocabularies, determine the policy that needed to be executed, and then execute that policy.  The time for all of this to happen, is between 1-2 seconds from the time the message enter BizTalk to the time it gets send back to the calling routine.

How do you show this much functionality in 20 minutes or less?  Well, I came out with this fictitious company that had the following requirements:

image

The first thing that you do in BizTalk is that you need to define the schemas that will contain the inputs and output of the message that you are dealing with.  So a simple schema:

image

Next, I have implemented those rules in the BRE composer

image

So now that I have the rules implemented, we need to get a way to call them and executed them.  Here is the sample solution code that will call this policy.

I have also included some code that shows how to call the vocabulary.  And some code to show how to implement a .NET assembly that can be called from the BRE.

image 

 

Feedback [good|bad] is always welcome.  Hope this help someone get a small peek into the vast universe of BizTalk.

Friday, February 22, 2008

How does a BizTalk guy pack?

From Brian Prince's questionnaire, here is my response.

A BizTalk guy knows that the whole world could be fit into a set of enterprise patterns (scatter/gather, aggregator, resequencer, etc).   So, we don't pack, we orchestrate the moving of all of the other so called *entities*.

Moving is what BizTalk does best.  A BizTalk guy will correlate the moving to a scatter/gather pattern application.  Each crate will be considered a message, and the content of each crate will be the message content. Since BizTalk is all about messages (your stuff),  each crate will be labeled (just like a promoted property) and it will be marked with a GUID (Angie...;). 

Once the contents are inside the Crate, the labels will be used for routing and destination.  As each crate is handled by different external entities, the content will still be private, yet still managed to be transported to the correct destination.

A BizTalk guy does not care what's inside each crate (Message content), all it cares is that it is delivery correctly to the final destination.  The order of the crates departing the old office will not be the same order as they arrived to the new office.  But it is OK, since a BizTalk guy knows how to handle asynchronous messages and knows about scheduling, service window, failed delivery and re-routing.

A BizTalk guy will set a pipeline component that will take all of the inputs and translate them to a canonical message (Crate). A BizTalk guy will take all of these crates from different sources (admin, sales, recruiting, pmo, app dev, management, etc) and orchestrate a smooth move by processing them by their labeled information and not their content.

Being BizTalk of course, this crate will have a guarantee delivery that the contents are the exact same that when it was submitted.  The BizTalk guy will create an orchestration that implements the scatter/gather pattern.  All boxes are then send out in no particular order, to different locations, but they will be find their target destination correctly.

Since this is going to be an asynchronous transportation, the BizTalk guy will make sure that a single receive port location will handle the gather pattern and a confirmation receipt will then be issue. A confirmation receipt can then be handled and after the identity is confirmed a FAB key can be issued.

Of course, a BizTalk guy will create an orchestration:

image 

and then attach another orchestration to it

image

so while other entities talk about

  1. Some Borat character(Uzbekistan) and/or browsers add-ins ,
  2. how cool is to stay late coding for free ,
  3. about boxes and their colors ,
  4. color boxes labeled v.2.0 that are not yet delivered,
  5. how to pack a box in 5 minutes, versioned it, and then unpack it and repack it on changesets,
  6. how to move your stuff by writing random xml code,

only a BizTalk guy does know how to move and in the process deliver quality  :P

Not only a BizTalk guy will deliver all crates and their contents to its destination, but it can also get real time monitoring (BAM) on the moving process and then once the move is done, we can provide with KPI's on the whole process as whole, bringing meaningful reports for ROI.

yeah, that's right... ;)

Thursday, February 14, 2008

How to restore TMM settings

If you have deleted the TMM settings from your task scheduler as I have mentioned on my previous post, and need to get them back, here is the xml. Create an xml file and copy the following xml to it and import this file into your Task Schedule under the MobilePC hive:

image

---- Cut here 8<----

<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
<RegistrationInfo>
<Source>MobilePC Display Handling</Source>
<Author>Microsoft Corporation</Author>
<Description>Microsoft Transient Multi-Monitor Manager</Description>
<URI>Microsoft\Windows\MobilePC\TMM</URI>
<SecurityDescriptor>D:(A;;FA;;;BA)(A;;FA;;;SY)(A;;FR;;;AU)</SecurityDescriptor>
</RegistrationInfo>
<Triggers>
<LogonTrigger>
<Enabled>true</Enabled>
<Delay>PT00M02S</Delay>
</LogonTrigger>
</Triggers>
<Principals>
<Principal id="Users">
<GroupId>Authenticated Users</GroupId>
<RunLevel>LeastPrivilege</RunLevel>
</Principal>
</Principals>
<Settings>
<IdleSettings>
<Duration>PT10M</Duration>
<WaitTimeout>PT1H</WaitTimeout>
<StopOnIdleEnd>false</StopOnIdleEnd>
<RestartOnIdle>false</RestartOnIdle>
</IdleSettings>
<MultipleInstancesPolicy>Parallel</MultipleInstancesPolicy>
<DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>
<StopIfGoingOnBatteries>false</StopIfGoingOnBatteries>
<AllowHardTerminate>true</AllowHardTerminate>
<StartWhenAvailable>true</StartWhenAvailable>
<RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
<AllowStartOnDemand>true</AllowStartOnDemand>
<Enabled>true</Enabled>
<Hidden>false</Hidden>
<RunOnlyIfIdle>false</RunOnlyIfIdle>
<WakeToRun>true</WakeToRun>
<ExecutionTimeLimit>PT0S</ExecutionTimeLimit>
<Priority>7</Priority>
</Settings>
<Actions Context="Users">
<ComHandler>
<ClassId>{35EF4182-F900-4632-B072-8639E4478A61}</ClassId>
</ComHandler>
</Actions>
</Task>

------ cut here 8<-----

Wednesday, February 13, 2008

WSS 3.0 studio extensions not working on x64 Vista

One more of those little annoyances. I can't play with this new set of tools on my laptop: Windows SharePoint Services 3.0 Tools: Visual Studio 2005 Extensions, Version 1.1, because it does not support 64bit.

image

bummer. Time to fire off my Windows 2003 Virtual machine.. :(

Tuesday, February 12, 2008

Amazon Web Services and Ruby

I have been using Amazon Web Services for quite some time.  I have a large collection of DVD's, and a fairly amount of eBooks.  I have written applications against the aws to get detail information for specific books and stuff.  My user interface skills are much to be desired  ;), but the important thing in here, is that Amazon, make it very easy to connect and query their services.

image 

Today, I attended the Ruby user's group meeting.  The presenter was Mike Culver from Amazon.com, his title is Web Services Evangelist. How cool of a title is that.?  During his presentation, he mentioned how Amazon is empowering developers to come out with creative ideas on how to use these services.

He showcased 2 websites that are kind of unique in the way of their approach using the AWS.  One of them created a full front end to amazon.com, so that they can get referrals:  www.tvmojo.com

The other site that is more impressive is www.zoomii.ca this one is really neat.  The user interface is very visual, and for what I saw seems to be very resource intensive.  Unfortunately, the site is still in Beta, and it is not open for the public, but trust me, it is very interesting.

In all, I did learned quite a few things out of this meeting about Ruby. One of these days I will write my first hello world on Ruby, or maybe I might take the challenge like Steve Harman suggested and write my own blog engine using Ruby... :P

Thursday, February 07, 2008

Data Dude for Studio 2008?

Does DataDude works for Visual Studio 2008?  The answer can be found on this blog post by Gertd:

visual-studio-team-system-2008-database-edition.aspx

Awesome, so it is time to create a new DB project.

SQL Server 2005 project

I get this dialog box:

Connection to Local Express Instance

going back. I have followed the instructions and set my options to use my SQL server instance:

Tools - Options - Database Tools

and my data connections is set to my local instance as well

Tools - Options - Database Tools

since I don't have SQLExpress running, I decided to follow the instructions on it. I click CANCEL on the previous dialog box, and I get this error:

Remote Server Connection

---------------------------
Microsoft Visual Studio
---------------------------
An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

I remember this error from before.  I has something to do with having the SQL Server Browser running for it to find it.

image

I go and turn this service on. I usually have ALL services stopped and I only run the services on demand when I need to use them. Yes, I do have lots of batch files that the only thing they do is to start/stop services... :D

humm. I still getting the error about not being able to connect.

I wonder if this has anything to do with the fact that I am running the 64-bit version of SQL server? Just for kicks, I delete the name of my instance on the tools-Options

Tools - Options - Database tools

BINGO.  It works like a charm.  I went back and turn that SQL Server Browser service off.  It still works... :D [one more service that I don't need to run.!]

My environment is Vista  Enterprise 64-bit, SQL Server Developer Edition 64-bit, BizTalk 2006-R2, Visual Studio Team Suite 2008.  I don't know if this has anything to do with it, but by leaving the instance name blank, Studio 2008 was able to connect to my local SQL Server instance.

 

oh well.

Tuesday, February 05, 2008

70-504: Windows Workflow Foundation 3.5

Part of working in the Solutions Team for Quick Solutions, Inc., is that we get special offers for all kind of Microsoft stuff. The latest one was an invitation to participate in the Beta Test for the exam 70-504- MS .Net Framework 3.5 Windows Workflow Foundation.

In order to study for this beta test I have to install vs2008.

Microsoft Visual Studio Team System 2008 Setup

Since I am not doing any C++ programming, I decided not to install any of the C++ components. By unselecting it, I saved almost 2GB in space...!! However, when I open Studio 2008 for the first time, I've got this error:

Package Load Failure

Package Load Failure

Package 'Visual C++ Resource Editor Package' has failed to load properly ( GUID = {74AAD8B2-3294-49CB-BB5D-E9BAB132BFD5} ). Please contact package vendor for assistance. Application restart is recommended, due to possible environment corruption. Would you like to disable loading this package in the future? You may use 'devenv /resetskippkgs' to re-enable package loading.

Selecting Yes, got rid of this dialog box. Now I went and try to create a sequential workflow application, and this is what I got:

Error Loading workflow .NET 3.5

An error occurred while loading the workflow. Please correct the following error and try reloading the document to view the workflow.

The designer could not be shown for this file because none of the the classes within it can be designed.

Using my 2nd brain, aka Google, I came across a lot of other post relating to this error, but none of them applied to my configuration. My configuration is Vista x64, with BizTalk 2006 R2, and Visual Studio 2005 Team System installed. I have installed the SDK for .NET 3.0 some time ago.

I can create workflow projects in 2005. However, using the .NET 3.5 does not seems to work.

image

When I compare both projects VS2005 and VS2008, the only differences I've found is that the 2008 reference these assemblies: System.WorkflowServices .Net 3.5, and the System.ServiceModel. The new assembly points to this location:

c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.WorkflowServices.dll

Then I started to dig out more information on the Event Logs. Then I found the culprit:

The Windows update "Update for Windows (KB929300)" was successfully installed. (Command line: ""C:\Windows\system32\WUSA.exe" "e:\setup\..\wcu\dotnetframework\dotnetmsp\x64\NetFX3.0-KB929300-v6000-x64.msu" /quiet /norestart")

It seems that after the setup has finished installing, it needed to reboot my machine. However, the /quiet and the /norestart flags did not report anything back to me. So I did not know I had to reboot for the workflow application 3.5 to work.

Now I can get back to reading Pro WF Windows Workflow in .NET 3.0, and try to run some samples out of the SDK before my test.