TF14040: The folder {0} may not be checked out.


After moving to a new computer and started to open my old Visual Studio projects I got this error when trying to open an old dataset for example.


The problem is related to permissions and I got around this by removing the Read-only flag on the project folder.


Edit hosts file in Vista/Windows 7


What is the hosts file?

The hosts file contains a list of IP address to hostname mappings and can be useful especially for web developers if they need to point a hostname to a specific IP address while developing or testing a website, without having to change settings on a DNS server. On Linux and Unix systems it is typically at /etc/hosts and on Windows systems (Windows 2000, XP, Vista, Windows 7) at c:\windows\system32\drivers\etc\hosts

Errors when editing the file

Depending on operative system you may get derrors below when trying to edit and save the hosts file:

“Contact administrator”, “Permission denied”, “Path is not correct”.

Run as administrator

What you need to do this to open Notepad as administrator. Right click on Notepad and choose Run as Administrator. Then browse to the hosts file (you may need to turn on “View all files” as the hosts file does not have the txt extension”. Now, just edit and save the file.


Windows 7 boot remove

Thought I would share this with Windows 7 (beta and non beta) users, if you are running XP and removed Win 7, but can't get rid of the boot record "your pc attempts to dual boot still" you can use this command along with disk...

In XP, put in the Win 7 disk, go to Start, Run, then type this into run window...

whatever drive your Win 7 disk is in, eg..D,E:\boot\bootsect.exe /nt52 ALL /force

Click Ok.

Take out disk, restart the computer, you should then boot right to XP.


Invalid object name 'sys.configurations'. (Microsoft SQL Server, Error: 208)



An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)


Perhaps you wanted to try Azure and especially SQL Azure. Maybe you wanted to connect to your SQL server in the cloud (especially as Microsoft provides a connection string) through Microsoft SQL Server Management Studio (MSMS). Forget that for now. Microsoft has no support for this currently.

There are some workarounds. You can, while in the Management Studio, open a new connection. Login. You will get an error. Click ok. Now, you can browse your tables but you can atleast peform SQL queries.

Guess we have to wait for the final release.


Windows live writer

This is a first test using Windows live writer. Let see if this post can be done!


This is Kian – almost 6 months and already facebooking!


TF31003: Your user account does not have permission to connect to the Team Foundation Server

My bad concience of not spreading my experience regarding this error led to this post. I noticed this strange popup error when I wanted to add a new user for accessing my Team Foundation Server. It was nothing wrong with the actual user, rather, I discovered it had something to do with accessing it from another computer. I could not even log in with my existing user from a remote computer without getting this error.

I found a solution and I have no idea if it is a good or bad fix - but it works. If someone knows that this is a stupid solution and have a better one then please tell me.

I figured out that it had something todo with the computer/domain name. So, I went into C:\Windows\System32\drivers\etc and edited the hosts-file. I added the ip and a name for that ip. I saved the file. Then I opened VisualStudio again and added that servername. The server name can be anything as long as it is pointing to the correct ip.