Solved

Visual Studio 2010 Function evaluation disabled

Posted on 2011-02-22
4
1,894 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
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…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

708 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

19 Experts available now in Live!

Get 1:1 Help Now