Thanks for your help. This is pretty frustrating and I need to get this to compile this morning if possible so if anyone has experienced this and can help me, I sure would appreciate it!

When I right click on the class name and select "Go to definition", I get this error: "Cannot navigate to MyDataContext"

How do I fix this so the page knows it's there? The odd thing is that the pages all work fine. I just can't do a new compile.

Here's the code again that throws the error:

public partial class settings : System.Web.UI.Page
{
MyDataContext mydata = new MyDataContext(); (the error is on the first MyDataContext on this line)

This happens with any class that references the MyDataContext.


Please help if you can!! Thanks a ton!