Masshysteri on Spotify

10. January 2010

My brother is playing the drums in a punk-rock band from Umeå, Sweden, called Masshysteri.

They have been on Myspace for a long time, but now they are also found on Spotify!

Check them out here.

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

General, , Email | Facebook | Digg | Twitter | del.icio.us

A Reading Guide To Becoming A Better Developer

30. November 2009

Here is an interesting post about how to become a better developer:

http://davybrion.com/blog/2009/11/a-reading-guide-to-becoming-a-better-developer/

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Development, , , Email | Facebook | Digg | Twitter | del.icio.us

SQL Azure and Entity Framework sessions from PDC 2009

26. November 2009

If you are into SQL Azure and EF 4, but didn't get a chance to go to PDC09 you should really take a look at this link. Eric Nelson on geekswithblogs.net has posted a list of sessions about these two topics from PDC, with links to videos and slides.

At microsoftpdc.com you will also find information about every session from this years conference. Video and slides are available for almost every session. I like!

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Development, , Email | Facebook | Digg | Twitter | del.icio.us

Raspeballer – The norwegian “palt”

20. November 2009

I was born and raised in Luleå, which is a town in the north of Sweden. In Luleå, or at least in my family, we eat a lot of Palt. For those who don't know what palt is, it is a traditional Swedish meat-filled dumpling, made mainly out of potatoes and flour. You eat it with butter and lingonberry jam. Since I am a vegetarian I am excluding the meat, and I love it! The only bad think about palt is that it is quite a hassle to make and it take a long time…

But, I got a tip from my dear mom which still lives back home in Luleå. She had found a product called “Raspeballer”-flour in her local department store. It is a product from Norway, that they use to make their version of palt. But the thing is that when you are making Raspeballer, all you need is the raspeballe-flour and water… Just mix and you are done! I haven't tried it yet so I am pretty skeptical… I will come back when I have… :)

Here is a recipe in swedish for those who want to try.

356727-356739

Image from kokaihop.se.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Food, , , Email | Facebook | Digg | Twitter | del.icio.us

Installation notice for the SharePoint Server Public Beta

20. November 2009

If you are installing SharePoint Server Public Beta on Microsoft Windows Server 2008 R2 or Microsoft Windows 7 you should read this:

http://blogs.msdn.com/sharepoint/archive/2009/11/19/installation-notice-for-the-sharepoint-server-public-beta-on-microsoft-windows-server-2008-r2-and-microsoft-windows-7.aspx

The hotfix resolves an issue that occurs in Microsoft SharePoint Server 2010 when provisioning Service Applications or when accessing pages that make service calls.  Without the hotfix, these operations will result in an error "System.Configuration.ConfigurationErrorsException: Unrecognized attribute 'allowInsecureTransport'. Note that attribute names are case-sensitive. (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebClients\<Service Area>\client.config line <Line Number>)". 

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Development, , Email | Facebook | Digg | Twitter | del.icio.us

Visual Studio 2008 freezing after Office 2010 installation

20. November 2009

Earlier this week I installed Office 2010 beta on my laptop. And no issues there, the installation completed successfully. I am actually rater surprised how fast Word and Excel starts up now, compared with Office 2007.

But when I started Visual Studio 2008 to work with a web application everything freezes. Luckily, I got a tip from a colleague on how to solve the problem. Check out this link:

http://blog.hinshelwood.com/archive/2009/07/19/office-2010-gotcha-2-visual-studio-2008-locks.aspx

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Development, Email | Facebook | Digg | Twitter | del.icio.us

Fix in the SP2010 beta install on Windows 7

18. November 2009

I installed SP2010 Beta on my laptop running Windows 7 x64. Using the installation guide from Microsoft the installation went rather smooth.

But when I ran the configuration wizard at the end I got an error:

Failed to create sample data…

I googled it and found a solution on Twitter saying that you must remove the allowinSecureTransport attribute in the client.config file found in:

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebClients\Profile\

There are two attributes with that name in the config-file. Remove both. After that the configuration wizard completed successfully.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Development, Email | Facebook | Digg | Twitter | del.icio.us

SharePoint 2010 Public Beta Available on MSDN

17. November 2009

The public betas for SharePoint 2010 are now available for download for those who has a MSDN Subscription.

Both SharePoint Foundation and SharePoint Server are out there, and also Office 2010, SharePoint Designer 2010 and Visio 2010.

So, what are you waiting for?!?

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Development, Email | Facebook | Digg | Twitter | del.icio.us

SQL Server Management Studio now supports SQL Azure

13. November 2009

A new version of SQL Server Management Studio 2008 is now available for download from Microsoft.com.

One of the nice features of SQL Server 2008 R2 CTP Express is that it now supports SQL Azure. Well, the previous version also had support for this, but it basically only meant that you got a new query window that was connected to the database, and it was quite messy. In short, you had to open Management Studio, hit “Cancel” in the login dialog, click on “New Query” and here enter the FQDN of the SQL Azure server… Here is an article on how you connect to SQL Azure the ‘old’ way.

The good thing about the new version is that you know can connect to the database right from the login dialog (!). Amazing isn't?! :)

And when you are logged in, you could see a list of all the tables and stored procedures in the database and of course run queries… But there are still some limitations in this version. When you want to create a new table you don't get a UI where you could add columns. No, not at all, you get a “create table”-script…

There is also no way to show the data in a table.. Well you could right-click on a table, select “Script Table as –> SELECT to”.  As you can see in the image below there is no “Design” option, and strangely enough you could not do a “Script Table as –> ALTER to”.. That one is disabled.

image 

Enough with the complaining. This version is better than the previous one, and I guess Microsoft is working on this, and hopefully it will be better in the next version.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Development, Email | Facebook | Digg | Twitter | del.icio.us

BlogEngine.NET and SQL Azure

13. November 2009

As I wrote in a previous post I am running my BlogEngine.NET blog with SQL Azure as data storage. How, you may ask. Well, don't worry, I will explain it to you in this post…

You could run BlogEngine.NET entirely on XML or SQL Server. Well, actually you could also run it on SQLite, MySQL and VistaDB Express. I have tried XML, SQL Server and MySQL and they all work great, and since there are setup scripts and instructions for each data storage you could be up and running within minutes.

I am not sure which versions of SQL Server that BlogEngine.NET supports, but it worked like a charm on SQL Server 2008…

But now back to the topic, SQL Azure. In short, SQL Azure is a fully relational database in the cloud, built on SQL Server® technologies. If you want to know about SQL Azure I recommend reading this article.

To get started with SQL Azure (and Windows Azure, a cloud platform where you could host ASP.NET applications. Most likely I will write about this in the future…) you have to create a Windows Azure account and get an invitation code. You should also download the Windows Azure Platform Training Kit, to get access to samples, demos and presentations.

When you have your account you can visit http://sql.azure.com and sign in with your Live ID. Then create the databases you need. For this case you only need one database.

Next step is to run the SQL setup script to create all the tables and data that are needed. The SQL Azure database does not support all features in SQL Server so the setup script provided by BlogEngine.NET needs to be modified to work on SQL Azure.

I found a nice tool on CodePlex, SQL Azure Migration Wizard, that helps you migrate local SQL Server 2005/2008 databases to SQ Azure. Just what I need! 

Download and run the tool. As “Source” select the setup script file, and check the “Parse TSQL for SQL Azure Incompatibilities” option. Hit next and the SQL script is generated. But that was not enough, so I had do some more changes to the script before I was able to run it on my SQL Azure database. You could download a working version of the script at the end of this post (Runs on my cloud…).

When you got the database with all its tables and data all you have to do now is update the web.config file of the blog. In the setup folder for SQL Server you find instructions on what to add. Also add a new connectionString tag, you will get the connection string to your SQL Azure database from the sql.azure.com page. Save the web.config file and visit your blog. Bang! you are in the cloud, or at least your posts…:)

BlogEngine15SqlAzure.sql (26.07 kb)

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Development, , Email | Facebook | Digg | Twitter | del.icio.us