Yes the dbml is in App_Code and has its code-behind.
The first compile error says
The type or namespace name 'Linq' does not exist in the namespace 'System.Data' (are you missing an assembly reference?) C:\BegASPNET\Site\App_Code\PlanetWrox.designer.cs
The web.config contains:
Code:
<add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
As an aside there is no 'Version=3.5.x' version of that line.
Also, when I added Picture and PhotoAlbum on page 445 it asked me if I wanted to set myself up as owner, which I had already done in a previous example (in chapter 12 I think).
And, the Linq examples up to this point work fine.