just giving some more info as getting quite desperate as can't run the code:
Using .NET Framework 3.5 and Visual Studio 2008.
When I run the website through the code, I get these errors BUT if I run the site through the localhost, then it runs fine.
Any ideas?