+3  A: 

To use LINQ or .NET 3.5 feature you need to first configure the SharePoint to run in 3.5 Mode. Refer to these links on how to do that

Simplest way

AnotherOne

Kusek
this has not worked for me yet, I get a server error in '/' Application. I am going to try to work this out. Thanks for the base to narrow my searching down :D
Anders
Enabled the CallStack="True" and CUstomError="Off" in Web.Config, you will get to know the actual error .
Kusek
the real problem was I forgot to install .net 3.5 on my server >.<. haha. thanks for the input though :)
Anders