2009-10-20

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.

tf14040

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

2009-09-19

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.

2009-09-18

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.

2009-09-13

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

 

 

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

image

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.

2009-09-07

Windows live writer

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

Kian

This is Kian – almost 6 months and already facebooking!

2009-01-07

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.

2008-12-30

pxhelp20.sys, x64 and Sony Picture Utility

My wife wanted to convert some AVCHD videos to a smaller format. I know there are tons of programs for that but I decided to use the free utility that came with our video camera SONY HDR-SR8 - the "Sony Picture Utility".

Everybody knows, that have worked with video that these kinds of tasks take time and CPU. So, I wanted to use some excessive CPU on my Windows 2008 Server - using latest Xeon CPU. This server is 64 bit operating system. I installed the software. It asked me to reboot. Since I only saw pictures and no videos I decided that maybe I had to reboot. By the way, I hate software that requires reboot!

Rebooting..It does not start..Moving a screen to the Server shows that Windows can't start because "pxhelp20.sys is corrupt or missing" - location \Windows\SysWOW64\Drivers\pxhelp20.sys. It seems like this driver is used by a lot of dvd tools and also the Sony Picture Utility. I started my Windows CD for repair but repair did not repair. My only way was through the command prompt. The file was there! I did not have any other 64 bit Windows 2008 so I asked a friend to send me same file for Vista x64. Replaced the file - same error. I was starting to getting nervous because I had a database on that Server that needed to be up and running. As a last option I deleted the file from the command prompt and hey, Windows started.

While this was a success in the end the story does not end here. I quickly noticed that all my cdroms where gone. Even Deamon Tools drives. This was not critical but needs to be solved.

Updated 2009-09-13:

Thanks to Junior-PL I got a solution:

1. Start->Run and open regedit
2. Go to HKEY_LOCAL_MACHINE/SYSTEM and open key CurrentControlSet/Control/Class/{4D36E965-E325-11CE-BFC1-08002BE10318}
3. There may be a lot of keys with this name but search for one that has (default) value DVD/CD-ROM drives
4. Now, when you have found this one you delete strings "LowFilters" and "UpperFilters" (if existing)
5. Reboot and pray (should work!)