Solved

Visual Studio 2010 Function evaluation disabled

Posted on 2011-02-22
4
1,914 Views
Last Modified: 2012-05-11
Hi All,

I have an issue with a VS 2010 .net 3.5 web application now that I have moved from using XP (and IIS5.1) to windows 7 (and IIS7) as my development machine.

When I debug the webapp and attempt to inspect a List<> or indeed other kinds of collection in the debugger I am met with the cursor spinning for a number of seconds and then presented with the message "Function evaluation disabled because a previous function evaluation timed out. You must continue execution".

I have trawled through a number of blog, forum and microsoft pages and cannot see anything that relates directly to my scenario.

The main microsoft line seems to be that someone could have written complex "get" functionality for the property that is being inspected, in my case this error occurs even when I try to inspect the list items of a DropDownList control.

I have also read through an article on msdn which explains how to place the application in IIS7 classic mode (which i have done) which is meant to provide backward compatability (even though i would expect a .net 3.5 webapp and VS2010 to work ok with IIS7) but this had no affect and the issue continues to occur.

Result of this is that i cannot debug my code so If anyone has experienced this issue or is aware of a fix then please can you let me know

thanks

Dave

PS - I have seen a thread which suggests that the issue is that windows authentication is not enabled, i have tried enabling this and this still did not fix the issue
0
Comment
Question by:dwhitfield_CPWN
4 Comments
 
LVL 41

Expert Comment

by:graye
ID: 35017651
I'd seriously consider copying your project to a flash drive and try it on somebody else's PC...   I'm thinking this is an issue with your install of VS2010.
0
 

Accepted Solution

by:
dwhitfield_CPWN earned 0 total points
ID: 35017771
Hi Graye,

Thanks for your reply but i do not believe it is anything to do with my installation. The VS solution is in TFS and i have had a colleague that is also on windows 7 retrieve it onto their machine and attempt to debug, they get exactly the same error. Other colleagues who are still using XP (IIS5.1) have no issue debugging this.

Just to be absolutely clear we use IIS to debug our web app's and not the Visual Studio Development server.

For anyone who is suffering this issue we have found a work around which is to change the DefaultAppPool (in its advanced settings) to use the LocalSystem identity rather than the default ApplicationPoolIdentity account which seems to make the debugging of the collections possible.

This however is a work around and not a fix and we have therefore logged this with Microsoft.

cheers

Dave
0
 
LVL 19

Expert Comment

by:Amandeep Singh Bhullar
ID: 35913546
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Any Third party toll for Integrating chat system on ASP.NET ? 2 34
Error on Add method 1 38
Export import database 4 45
C# Json POSt to Rest API 4 38
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now