Error-Call has to be configured

I have this error where I make a kernel call. This occurs even if the body of the kernel is commented out. I have never seen this error before. I use Visual Studio 2005 and just installed the 2.0 beta on Vista.