views:

23

answers:

1

I created a new project. I copied files from the original VS 2008 project into the new VS 2010 an used "include" in VS 2010.

I get an error saying "Error 108 Maximum number of errors has been exceeded."

It seems that EVERY field in the webforms\user-controls\ASCX's has the error message "fieldName' is not a member of".

I tried a delete the contents of the ASCX and ASCX.vb for a specific ASCX. Compiled and that page had no errors (although the other pages did). Copied back the contents ASCX and compiled (although the other pages did). That page had no errors. Added back the code-behind in the ASCX.vb and compiled. Same error. 'fieldName' is not a member of ...

They fieldName can be anything. Textboxes, hiddens, checkboxes, etc.

OK ... what am I doing wrong? I have spent hours on this I am hoping I am just missing something simple.

A: 

This sounds like a namespacing issue.

Ensure your namespaces declared in your .vb files are in agreement with the containing project's default namespace (right click project->Properties).

Check the markup declaration as well. i.e. <%@ Page Language="VB" Inherits="foo.bar" %> as expected.

p.campbell
Thanks for the reply. (First time I am on Stackoverflow.) I'll go over the code today and let you know.
JenniferWalters