I wanted to thank you for your suggestions. It was my problem - missing a file in the project.
>Was your old project a 'Web Site' or a 'Web Application' project?
>
>Web Site projects don't compile the actual pages into a fixed assembly in the /Bin folder (ie. there's no MyWebSite.dll), while Web Applications do. The two project types have different ways of referencing CodeBehind files.
>
>If you have a Web site and need to run it in a new Web Application I believe there is a "Convert to Web Application" option on the project which can take some but not all of the steps needed to convert. It's a pain. You can search online to find out what differences there are for the two project types. Mainly it involves small fixes to the page header (CodeBehind vs. CodeFile if I recall) and in some cases differences in how dynamic controls (user controls and masterpages) are accessed.
>
>The other option is you can just run your application as a 'Web Site' under .NET 4.0/4.5. You still get all the new runtimes and features but you can maintain your original project type.
>
>+++ Rick ---
>
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham