Solved

Visual Studio 2010 Function evaluation disabled

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

809 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