Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Visual Studio 2010 Function evaluation disabled

Posted on 2011-02-22
4
Medium Priority
?
2,082 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

610 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