Jun 07, 2010 04:53 PM|Gentletouch|LINK
I am trying to convert an existing ASP.NET website to use dynamic data. I have created a generic dynamic data site using my existing database file which works fine. I have imported the Global.aspx, site.master, site.css, default.aspx and dynamicdata folders
into my existing site, I have set up the global page to use my Linq to SQL datacontext and set global to use scaffold but now encounter an odd error.
When I run the default page I get the list of my DB tables as expected and am able to click on them to display the List.aspx table. At this point if I click on details or edit I get the following error:
ASPNET: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl).
I have compared all the files in my functioning basic dynamic data site with my modified site and they all seem the same!
Can anyone tell me what this means?