Greeting,
I developed a website using ASP.Net 3.5 and C#. It is working good with Visual Stdio 2010. I uploaded my website to my domain under the public folder.
I got the same problem and my solution was to remove webconfig file from the directory.. then it works..