Geeks With Blogs

News View Michael Stephenson's profile on BizTalk Blog Doc View Michael Stephenson's profile on LinkedIn
Michael Stephenson keeping your feet on premise while your heads in the cloud .net 2
MsTest Command Line Referenced Assemblies
This was a small issue i came across the other day, just thought would add a note about it like i usually do. Problem When running my tests in visual studio everything is fine and they all pass. In this particular case they were actually BizUnit tests where some of my steps use a proxy class which i have created and is in a seperate assembly. In my assembly where i have my tests i have just added a reference even though my code does not directly use the assembly i reference. The problem is when i ......

Posted On Friday, August 10, 2007 3:59 PM

Microsoft WMI Code Generation Tool

I hadnt seen this anywhere before, but a collegue pointed me at it and i must say am very impressed.  It basically lets you view the WMI Classes then generate code to use them

It is very handy when working on BizTalk utilities

Get it here

Posted On Friday, June 29, 2007 9:29 PM

One to watch for with WSE Filters
Scenario I am currently working on a project where one of the things we deliver is a web service exposed by BizTalk which allows other applications to interact with one of the legacy systems. The service is consumed primarily by a .net application being developed on another project within the same company. When trying to consume the service the developers of the .net application were recieving an error and with BizTalk being involved the usual case of blaming BizTalk as it is this strange mystical ......

Posted On Sunday, May 6, 2007 4:58 PM

Calling MsTest from MsBuild with multiple test containers
Learnt something new with MsTest today… in the scripts I have for our projects we run the tests using MsTest from the command line as follows: <Exec Command='"$(VS80COMNTOOLS).... /testcontainer:Acme\Group\B... /runconfig:localtestrun.tes... /> <Exec Command='"$(VS80COMNTOOLS).... /testcontainer:Acme\Group\B... ......

Posted On Friday, April 27, 2007 10:13 AM

I hate the visual studio configuration manager
We all have things in the development tools and processes that bug us and this is one of mine. Why am i blogging about this? - To relieve some frustration - On the off chance that someone might read this who can do something about it ;-) What is the configuration manager? The configuration manager is that tool in visual studio that allows you to configure what mode different projects are in. See diagram. Why does it bug me? Most of these bug me's are related to things i have come across in BizTalk ......

Posted On Sunday, April 15, 2007 8:26 AM

MsTest Error - Unit Test Adapter threw exception
Problem I was trying to run my tests through the visual studio IDE, i was getting the following error: Unit Test Adapter threw exception: System.Reflection.Reflectio... Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.. Symptoms The following symptoms existed: If i chose to debug the tests they all worked. They only failed when doing a normal run Some of my assemblies were signed Solution The solution is that in the code ......

Posted On Monday, February 12, 2007 10:45 AM

Kerberos Adventures - Lessons Learned
The security stuff is pretty much complete so here are some random thoughts after this experience which might be useful to anyone else. Article Description POC Overview Details about the different proof of concepts we did to validate all of the different scenarios we require. Useful Links Some links to articles and blogs which will provide useful background information Useful Tools Links to tools which were useful to help troubleshooting this implementation Problems - Error Consuming a service from ......

Posted On Friday, February 9, 2007 6:31 PM

Kerberos Adventures - Problem: Exposing an Orchestration from BizTalk with the WSE 2 Adapter and using Kerberos
Scenario I was trying to implement the requirement to use Kerberos to sign and encrypt the messages to and from a web service which was generated using the WSE 2 Web Service Publishing Wizard to expose a BizTalk Orchestration as a web service. Problem I had this all setup as I expected to work. The SPN and everything seemed correct but when I called it I kept getting the following error message: System.Web.Services.Protoco... Server unavailable, please try later ---> System.Security.SecurityExc... ......

Posted On Tuesday, February 6, 2007 10:15 PM

Creating a new project/solution
Problem Ok this is one the biggest pains in the butt to me when working with Visual Studio. Normally on projects ive use a nested folder structure which matches the namespaces within the solution. The problem is that when you create a new project it will put it in a new folder under the folder where the solution file is or which ever directory you select, and the new folder is always the full name of the project. In the end you just end up having to move the project file to the place you want it ......

Posted On Wednesday, November 22, 2006 11:10 PM

Kerberos Adventures - Problem: 401 Unauthorised - User equals null
Scenario We were trying to implement a delegation scenario similar to the one in the POC (Web Services using Delegation). While implementing this we came across the problem where we seemed to not be passing the clients credentials. We constantly got the IIS 401 Unauthorized return code. Symptoms In this example we got some of the following symptoms: In the IIS Log of the back end service there would be no credential specified. When calling the back end service locally on the machine where it sits ......

Posted On Tuesday, February 6, 2007 10:07 PM

Kerberos Adventures - Problem: Error consuming web service from Windows XP SP2 client
Scenario We have a windows XP Client which is calling a .net 2 Web Service which uses WSE 2.0 SP3 on a remote Windows 2003 Server. When we make the call we get the following error message: "System.ApplicationException: InitializeSecurityContext call failed with the following error message: A specified logon session does not exist. It may already have been terminated." We only get this message when calling our web service from a client running Windows XP Service Pack 2. Symptoms You will get the following ......

Posted On Tuesday, February 6, 2007 10:04 PM

Kerberos Adventures - Overview
This post will provide an overview of the planned proof of concepts we have been working on to try and get this right. In this series of posts I intend to provide a step by step guide for setting up each of these scenarios. Or if there is a sufficient walk through already available I will point you to that. The proof of concepts I intend to cover are: Web Services secured with Kerberos This proof of concept aims to show we can create web services which can be secured with a Kerberos token. Web Services ......

Posted On Monday, February 5, 2007 9:38 PM

Kerberos Adventures - Useful Tools
The following tools proved useful in diagnosing problems with this Tool Description Link KerbTray Windows 2003 Support Tools Contains the tool SETSPN which you need to register an SPN. Located on windows 2003 disk or at the following url: WSE Trace Tool Provides a tool to look over the WSE Trace output files ......

Posted On Friday, February 2, 2007 12:46 PM

Kerberos Adventures - Useful Information Links
This post will list some of the sources of information I have found useful during my "Kerberos Adventures" Recommended Reading To help you get up to speed quickly I would recommend checking out the following resources. There are additional resources below. Kerberos Delegation Troubleshooting Guide Pretty much walks you through all of setting up a delegation scenario and will tell you how to do each step and what is going on in relation to a good sample. ......

Posted On Friday, February 2, 2007 12:40 PM

Kerberos Adventures - Introduction
I am currently on a medium - large sized project where one of the things we are planning to do is use BizTalk and Web Services. Within the architecture we have plans to support credential flow across tiers. It has proven quite difficult to get this working and then doing things with BizTalk has added an additional twist which also proved tricky. During the course of working on resolving our issues and also setting up these proof of concepts I have found that there is useful information out there ......

Posted On Friday, February 2, 2007 12:38 PM

Copyright © Michael Stephenson | Powered by: | Join free