Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

problems with breakpoints and cached (?) page

$
0
0

I am having 2 problems with an application I am developing (they are related).

I have been working on this application for a week or so and have not had any problems, everything including debugging was working as expected. then all of a sudden I had a problem and when I tried to correct it I couldn't and debugging is not working.

1) I was creating a new gridview  and misspelled the DataKeyNames value. I got the following error: "DataBinding: System.Data.DataRowView does not contain a property with the name SvcTaskID". I corrected it, rebuilt the solution and tried again - same error. I searched for and replaced all instances of SvcTaskID in all files in my project, have saved, exited Visual Studio, restarted IIS, and rebooted my PC and I am still getting the same error even though SvcTaskID no longer exists anywhere in the project.

2) I tried to set a breakpoint right before the DataBind statement to see if I could get more information and the breakpoint is being ignored. I set a few others, including one on the first line of code of the start page (just setting a variable to an initial value) and all breakpoints are now being ignored. This was working before also.

I have not made any significant changes to my code, I am in the process of just defining and populating all my initial objects - very simple stuff.  I am working with Visual Studio Ultimate 2013 version 12, Update 2 and .NET framework 4.6

Can anyone help me get this back on track?

Thanks,

Gretchen


Viewing all articles
Browse latest Browse all 3509

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>