Bug in Visual Studio 2005

Just started to do some serious development with Windows Forms in Visual Studio 2005. A bug showed it’s ugly face. Here is how it goes:

In your windows application project you create some usercontrols. They appear in the toolbox for you to use in all your forms. Everbody is happy!

But when you put your windows applilcation project into a solution folder this doesn’t work anymore… This is confirmed by Microsoft and not corrected with Visual Studio 2005 SP1.

There are some suggestions for workarounds and the one that I tried was to add toolbox items by referencing the output of my windows application. But then I got another problem, a warning something like: “The type [usercontrol] in ‘[my output]’ conflicts with the imported type [usercontrol] in ‘[my output]’”

So - the solution to this problem was to suppress this warning (0436) in the application configuration (Properties->Build-tab->Errors...

Read More

Salvo Audio - is this for real?

Got a great tip yesterday about Salvo Audio yesterday.

What a site! It contains tons of Salvation Army Brass band music, free as it seems! So if you ever wondered how it sounds, or if you are looking for <span id=”SPELLING_ERROR_0” classCD’s that is hard to find - take a look here.

Great tip, Andreas! And keep a lookout for the Vasa Band (of Sweden) we try to upload some stuff there.

Read More

Edit web.config in nice GUI

Yesterday was really intense! A complete day chasing a bug through the code and around servers. Felt so good to find it after about 7 hours of searching for me and a colleague.

When we ran around the servers and checked configurations I found a dialog box in IIS 6.0 that I never saw before. I realize that this probably is embarrassing to yield but I do it anyway.

There is a possibility to see and change the values of the web.config file from IIS in a much nicer GUI than the usual “Visual” Notepad. You can also change a lot of other configurations from this dialog.

  1. Right click your site or virtual directory and do Properties
  2. Choose the ASP.NET-tab
  3. Choose Edit-configuration
  4. Now the web.config for your application is opened and displayed (fancy that!), with possibility change the values.

This is a much nicer presentation of all the...

Read More

Futureforce of VasaCorps

Yesterday we finally had a long awaited meeting with the FutureForce for the Vasa Corps, my Salvation Army Church.

I am so privilliged to be part of that group. They are some very nice and clever people and great things really happen when we get togheter. Like yesterday I thought I knew what was going to come out of the meeting but in the end something completely different but still very good came out instead.

That felt so good - just think if I had known what we should decided before the meeting. That would have been so boring.

Read More

Let's go!

Today is the first “real” day of the year here in Sweden. A lot of public holidays and weekends is to an end and to be frankly it’s quite nice. Now it is back to normal with all people in the office and no more half days.

I good old Marcus-style the first week is quite hectic also with engagements all days of the week, save Friday. Most of them (all when i think of it) will be fun and good to do.

So - I hope that you also will have a good start on the new year!

Read More

Scrum - my first encounter

I am just reading a great article which talks about how to use Scrum in a real project situation. It’s an really interesting and fun article.

However I am not yet convinced - it seems to be a lot of “that is not so important”, “approximately” and “document if you think that you need it”. I still miss the use case, the technical specifications and the system architecture. Maybe if I read to the end I will be converted.

With that said; the methodology contains some very interesting concepts and ideas, and I will most certainly incorporate elements already now.

Read More

Happy new year

Soooo… here we are at the end of 2006 - one of the best years ever for my part:

  • I got married to Elin - the best thing ever.
  • Some really fun stuff to do at work (speaking at two conferences and some other presentations as highlights)
  • Really cool trips - Borneo and Malaysia, Norway and some very nice places in Sweden
  • Great euphonium-playing experiences: soloeuphonium with Gothenburg Brass Band during the spring, playing Music of the Spheres, playing euphonium with the Vasa Band who are really great guys and a good band
  • A lot of new friends and relatives
  • Starting this blog - had to put it in here of course :)

I can only hope for 2007 to be half this good and it still will be great!

A happy new year to you all!

Read More

Credentials passing in SOA-solutions for .NET

So finally I got the opportunity to write some about a finding that has solved a major problem at my customer. A big thank you to Fredrik A and Micke for the help on this solution.

The problem is a probably a common one; we have some external web applications (that is: reachable from the Internet) that uses some functionality from internal web service. These internal web service in turn calls a database. The problem probably arise in many SOA solutions since credentials will flow from server to server.

Since the users of the external applications may be anonymous or logged into a portal we can’t send the user credentials all the way to the database.

So we thought that making the calls, to the internal web services, under system account would solve the problem. But then the double hop problem kicked in and the credentials will “disappear” when...

Read More