Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

Visual Studio 2012 hangs when opening web.config in certain projects

$
0
0

Hello, 

I was suggested to post this question here in stead of the MSDN forum.

In certain projects, when we open the web.config file, Visual Studio will freeze (turning white, not responding) for about 5-10 seconds. This will happen every 10 seconds or so, making it next to impossible to work in this project while web.config is opened. Other files I've tried do not have this problem. It happens to all team members that open the project.

We use Visual Studio 2012 (v 11.0.60610.01 Update 3) with AnkhVSN 2.5. Our project uses WCF to serve ajax-calls within the same project.

I have tried /resetsettings and /safemode without any results. When I shrink the web.config file (by removing lines), I notice the effects seem to get less (the waiting time is less), though it still occurs. 

It is an ASP.NET 4.5 web application. We use Ext.Net.Utilities, Newtonsoft.Json and Transformer.NET.

I can see devenv.exe use a lot of CPU when this happens which is in the devenv.exe thread. I'm not sure if it's useful, but when I click on the thread in procexp, I see this:

ntoskrnl.exe!KeWaitForMultipleObjects+0xc0a
ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x732
ntoskrnl.exe!KeWaitForMutexObject+0x19f
ntoskrnl.exe!PoStartNextPowerIrp+0xba4
ntdll.dll!RtlEnterCriticalSection+0x17
cslangsvc.dll+0x4e00
clr.dll!GetAppIdAuthority+0x20b3e3

I have looked all over the internet and couldn't find a solution. What could be the problem here?

Thanks in advance!

<div>Koen</div> <div>
</div>

Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>