View Single Post
  #1 (permalink)  
Old August 29th, 2012, 11:55 AM
Caden11998 Caden11998 is offline
Authorized User
Points: 57, Level: 1
Points: 57, Level: 1 Points: 57, Level: 1 Points: 57, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2012
Posts: 14
Thanks: 2
Thanked 0 Times in 0 Posts
Default entity data model problem and maximum exceeded errors

Win 7 pro x64,
Microsoft Visual Studio 2010
Version 10.0.40219.1 SP1Rel
Microsoft .NET Framework
Version 4.0.30319 SP1Rel
Installed Version: WD Express- ENU Service Pack 1

Hello,

I am using the admin tool to 'authenticate from internet' and then refreshing VWD explorer window to create the default ASPNETDB.MDF -

The problem arises when I try to create an entity model in order to access any custom tables I create, right after Entity Model creation after right clicking on website path and pressing 'Build Web Site', over a hundred errors are found (before this no errors) all in the visual basic code behind of the model itself as you can see here -

-------------------------------------------------------

Error 1 Maximum number of errors has been exceeded. vbc :

Error 2 Type 'EdmSchemaAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 19 12 C:\pkweb\

Error 3 Type 'EdmRelationshipAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 21 12 C:\pkweb\

Error 4 Type 'EdmRelationshipAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 22 12 C:\pkweb\

Error 5 Type 'EdmRelationshipAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 23 12 C:\pkweb\

Error 6 Type 'EdmRelationshipAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 24 12 C:\pkweb\

Error 7 Type 'EdmRelationshipAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 25 12 C:\pkweb\

Error 8 Type 'EdmRelationshipAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 26 12 C:\pkweb\

Error 9 Type 'EdmRelationshipAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 27 12 C:\pkweb\

Error 10 Type 'EdmRelationshipAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 28 12 C:\pkweb\

Error 11 Type 'EdmRelationshipAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 29 12 C:\pkweb\

Error 12 Type 'EdmRelationshipAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 30 12 C:\pkweb\

Error 13 Type 'EdmEntityTypeAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 305 6 C:\pkweb\

Error 14 Type 'EntityObject' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 309 18 C:\pkweb\

Error 15 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 332 10 C:\pkweb\

Error 16 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 357 10 C:\pkweb\

Error 17 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 382 10 C:\pkweb\

Error 18 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 409 10 C:\pkweb\

Error 19 Type 'EdmRelationshipNavigationPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 440 10 C:\pkweb\

Error 20 Type 'EntityCollection' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 441 49 C:\pkweb\

Error 21 Type 'EdmRelationshipNavigationPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 458 10 C:\pkweb\

Error 22 Type 'EntityCollection' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 459 44 C:\pkweb\

Error 23 Type 'EdmRelationshipNavigationPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 476 10 C:\pkweb\

Error 24 Type 'EntityCollection' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 477 44 C:\pkweb\

Error 25 Type 'EdmRelationshipNavigationPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 494 10 C:\pkweb\

Error 26 Type 'EntityCollection' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 495 44 C:\pkweb\

Error 27 Type 'EdmEntityTypeAttribute' is not defined.
C:\pkweb\App_Code\Model1.Designer.vb 512 6 C:\pkweb\

Error 28 Type 'EntityObject' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 516 18 C:\pkweb\

Error 29 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 563 10 C:\pkweb\
Error 30 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 588 10 C:\pkweb\
Error 31 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 615 10 C:\pkweb\
Error 32 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 640 10 C:\pkweb\
Error 33 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 665 10 C:\pkweb\
Error 34 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 690 10 C:\pkweb\
Error 35 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 715 10 C:\pkweb\
Error 36 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 740 10 C:\pkweb\
Error 37 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 765 10 C:\pkweb\
Error 38 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 790 10 C:\pkweb\
Error 39 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 815 10 C:\pkweb\
Error 40 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 840 10 C:\pkweb\
Error 41 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 865 10 C:\pkweb\
Error 42 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 890 10 C:\pkweb\
Error 43 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 915 10 C:\pkweb\
Error 44 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 940 10 C:\pkweb\
Error 45 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 965 10 C:\pkweb\
Error 46 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 990 10 C:\pkweb\
Error 47 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 1015 10 C:\pkweb\
Error 48 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 1040 10 C:\pkweb\
Error 49 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 1065 10 C:\pkweb\
Error 50 Type 'EdmRelationshipNavigationPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 1096 10 C:\pkweb\
Error 51 Type 'EntityReference' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 1110 59 C:\pkweb\
Error 52 Type 'EdmRelationshipNavigationPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 1127 10 C:\pkweb\
Error 53 Type 'EntityReference' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 1141 52 C:\pkweb\
Error 54 Type 'EdmEntityTypeAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 1738 6 C:\pkweb\
Error 55 Type 'EntityObject' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 1742 18 C:\pkweb\
Error 56 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 1769 10 C:\pkweb\
Error 57 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 1796 10 C:\pkweb\
Error 58 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 1821 10 C:\pkweb\
Error 59 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 1846 10 C:\pkweb\
Error 60 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 1871 10 C:\pkweb\
Error 61 Type 'EdmRelationshipNavigationPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 1902 10 C:\pkweb\
Error 62 Type 'EntityReference' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 1916 52 C:\pkweb\
Error 63 Type 'EdmEntityTypeAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2144 6 C:\pkweb\
Error 64 Type 'EntityObject' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2148 18 C:\pkweb\
Error 65 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2198 10 C:\pkweb\
Error 66 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2225 10 C:\pkweb\
Error 67 Type 'EdmEntityTypeAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2253 6 C:\pkweb\
Error 68 Type 'EntityObject' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2257 18 C:\pkweb\
Error 69 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2286 10 C:\pkweb\
Error 70 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2311 10 C:\pkweb\
Error 71 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2338 10 C:\pkweb\
Error 72 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2363 10 C:\pkweb\
Error 73 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2388 10 C:\pkweb\
Error 74 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2413 10 C:\pkweb\
Error 75 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2438 10 C:\pkweb\
Error 76 Type 'EdmRelationshipNavigationPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2469 10 C:\pkweb\
Error 77 Type 'EntityReference' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2483 59 C:\pkweb\
Error 78 Type 'EdmRelationshipNavigationPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2500 10 C:\pkweb\
Error 79 Type 'EntityReference' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2514 57 C:\pkweb\
Error 80 Type 'EdmRelationshipNavigationPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2531 10 C:\pkweb\
Error 81 Type 'EntityCollection' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2532 61 C:\pkweb\
Error 82 Type 'EdmRelationshipNavigationPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2549 10 C:\pkweb\
Error 83 Type 'EntityReference' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2563 54 C:\pkweb\
Error 84 Type 'EdmRelationshipNavigationPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2580 10 C:\pkweb\
Error 85 Type 'EntityCollection' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2581 44 C:\pkweb\
Error 86 Type 'EdmEntityTypeAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2598 6 C:\pkweb\
Error 87 Type 'EntityObject' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2602 18 C:\pkweb\
Error 88 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2637 10 C:\pkweb\
Error 89 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2664 10 C:\pkweb\
Error 90 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2689 10 C:\pkweb\
Error 91 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2714 10 C:\pkweb\
Error 92 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2739 10 C:\pkweb\
Error 93 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2764 10 C:\pkweb\
Error 94 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2789 10 C:\pkweb\
Error 95 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2814 10 C:\pkweb\
Error 96 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2839 10 C:\pkweb\
Error 97 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2864 10 C:\pkweb\
Error 98 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2889 10 C:\pkweb\
Error 99 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2914 10 C:\pkweb\
Error 100 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2939 10 C:\pkweb\
Error 101 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2964 10 C:\pkweb\
Error 102 Type 'EdmScalarPropertyAttribute' is not defined. C:\pkweb\App_Code\Model1.Designer.vb 2989 10 C:\pkweb\
Error 103 Maximum number of errors has been exceeded. C:\pkweb\

-----------------------------------------------------------------

(I noticed this is where the problem started after retracing my steps when my Using statement intele-sense errored and said IDispsable was not being implemented)

Let me know if more information is needed - thanks in advance for any help

- Caden
Reply With Quote