?
Solved

Visual Studio 2010 Function evaluation disabled

Posted on 2011-02-22
4
Medium Priority
?
2,030 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

770 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