Slow debugging ASP.NET MVC 5 2nd, 3rd time

I am running an ASP.NET MVC application (in debug mode) from LocalHost in MS VS 2013 Pro. The application connects to a remote database.

For some reason, the application has become much slower "in one night." All this worked smoothing until a day ago. Now for some reason, when I boot my machine (cold boot) and run the application, it works fine. But just say that I close the application and stop debugging, and then run the application again, it is really very slow. If I restart the computer and then run the application, everything will be fine.

So, basically, this is the second time you debug (without rebooting the whole machine) that its ultra, very slow.

Any help would be great!

In the debug window:

'iisexpress.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C: \ Windows \ Microsoft.Net \ assembly \ GAC_32 \ mscorlib \ v4.0_4.0.0.0__b77a5c561934e089 \ mscorlib.dll'. Missing download symbols. The module is optimized and the debugger option "Only my code" is enabled. 'iisexpress.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C: \ Windows \ Microsoft.Net \ assembly \ GAC_32 \ System.Web \ v4.0_4.0.0.0__b03f5f7f11d50a3a \ System.Web.dll'. Missing download symbols. The module is optimized and the debugger option "Only my code" is enabled. 'iisexpress.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C: \ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System \ v4.0_4.0.0.0__b77a5c561934e089 \ System.dll'. Missing download symbols. The module is optimized and the debugger option "Only my code" is enabled. 'iisexpress.exe' (CLR v4.0.30319: DefaultDomain): loaded 'C: \ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System.Core \ v4.0_4.0.0.0__b77a5c561934e089 \ System.Core.dll'. Missing download symbols. The module is optimized and the debugger option "Only my code" is enabled. 'iisexpress.exe' (CLR v4.0.30319: DefaultDomain): loaded 'C: \ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System.Web.ApplicationServices \ v4.0_4.0.0.03131bf3856ad364e35 \ System.Web.ApplicationServices.dll " Missing download symbols. The module is optimized and the debugger option "Only my code" is enabled. 'iisexpress.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C: \ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System.Configuration \ v4.0_4.0.0.0bb3f5f7f11d50a3a \ System.Configuration.dll'. Missing download symbols. The module is optimized and the debugger option "Only my code" is enabled. 'iisexpress.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C: \ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System.Xml \ v4.0_4.0.0.0__b77a5c561934e089 \ System.Xml.dll'. Missing download symbols. The module is optimized and the debugger option "Only my code" is enabled. 'iisexpress.exe' (CLR v4.0.30319: Domain 2): Loaded "C: \ Windows \ Microsoft.Net \ assembly \ GAC_32 \ mscorlib \ v4.0_4.0.0.0__b77a5c561934e089 \ mscorlib.dll". Missing download symbols. The module is optimized and the debugger option "Only my code" is enabled. 'iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-130443759999540000): Loaded 'C: \ Windows \ Microsoft.Net \ assembly \ GAC_32 \ System.Web \ v4.0_4.0.0. 0__b03f5f7f11d50a3a \ System.Web.dll. Missing download symbols. The module is optimized and the debugger parameter "Only my code" is enabled. 'Iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-130443759999540000): Loaded "C: \ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System \ v4.0_4.0.0.0bbb5a5c561934e089 \ System.dll. Missing download symbols. The module is optimized and the debugger option "Only my code" is enabled. 'iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-130443759999540000): Loaded 'C: \ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System.Core \ v4.0_4.0.0. 0__b77a5c561934e089 \ System.Core.dll. Missing download symbols. The module is optimized and the debugger option "Only my code" is enabled. 'iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-130443759999540000): Loaded 'C: \ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System.Web.ApplicationServices \ v4.0_4. 0.0.0__31bf3856ad364e35 \ System.Web.ApplicationServices.dll. Missing download symbols. The module is optimized and the debugger option "Only my code" is enabled. 'iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-130443759999540000): Loaded 'C: \ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System.Configuration \ v4.0_4.0.0. 0__b03f5f7f11d50a3a \ System.Configuration.dll. Missing download symbols. The module is optimized and the debugger option "Only my code" is enabled. 'iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-130443759999540000): loaded "C: \ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System.Xml \ v4.0_4.0.0. 0__b77a5c561934e089 \ system.Xml.dll. Missing loading symbols. The module is optimized and the debugger parameter "Only my code" is enabled. 'Iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-130443759999540000): Loaded 'C: \ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System.Runtime.Caching \ v4.0_4. 0.0.0__b03f5f7f11d50a3a \ System.Runtime.Caching.dll. Missing download characters. The module is optimized and the debugger option "Only my code is enabled ". 'iisexpress.exe' (CLR v4.0.30319: DefaultDomain): loaded" C: \ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System.Runtime.Caching \ v4.0_4.0.0.0bb3f5f7f11d50a3a \ System.Runtime.Caching .dll ". Missing characters Download: The module is optimized and the debugger option "Only my code" is enabled. 'iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-130443759999540000): loaded "C: \ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ Microsoft.Build.Utilities.v4.0 \ v4.0_4.0.0.0__b03f5f7f11d50a3a \ Microsoft.Build.Utilities.v4.0.dll. Missing download symbols. The module is optimized and the debugger option "Only my code" is enabled. 'iisexpress.exe' (CLR v4.0.30319: DefaultDomain): loaded 'C: \ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ Microsoft.Build.Utilities.v4.0 \ v4.0_4.0.0.0__b03f5f7f11d50a3a \ Microsoft.Build .Utilities.v4.0.dll. Missing download symbols. The module is optimized and the debugger option "Only my code" is enabled. 'iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-130443759999540000): Loaded 'C: \ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ Microsoft.JScript \ v4.0_10.0.0. 0__b03f5f7f11d50a3a \ Microsoft.JScript.dll. Missing download symbols. The module is optimized and the debugger option "Only my code" is enabled. 'iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-130443759999540000): loaded "C: \ Users \ Sai Lee \ AppData \ Local \ Temp \ Temporary ASP.NET Files \ root \ 8049ceb4 \ 41eadfc5 \ build \ DL3 \ 6a721505 \ 90d0028d_2258cf01 \ System.Web.WebPages.Razor.dll. Cannot find or open the PDB file. 'Iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1 -130443759999540000): Loaded 'C: \ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ Microsoft.VisualStudio.Web.PageInspector.Loader \ v4.0_1.0.0.0__b03f5f7f11d50a3a \ Microsoft.VisualStudio.Web.PageInspector.Loader. cannot find or open the PDB file. 'iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-130443759999540000): C: \ Users \ Sai Lee \ AppData \ Local \ Temp \ Temporary ASP .NET Files \ root \ 8049ceb4 \ 41eadfc5 \ build \ DL3 \ 22324533 \ 7092298d_2258cf01 \ WebMatrix.WebData.dll. Cannot find or open the PDB file. 'iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-130443759999540000): loaded "C: \ Users \ Sai Lee \ AppData \ Local \ Temp \ Temporary ASP.NET Files \ root \ 8049ceb4 \ 41eadfc5 \ build \ DL3 \ 021ff24a \ e0638e8c_2258cf01 \ System.Web.Optimization.dll. Cannot find or open the PDB file. 'Iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-130443759999540000 ): loaded "C: \ Users \ Sai Lee \ AppData \ Local \ Temp \ Temporary ASP.NET Files \ root \ 8049ceb4 \ 41eadfc5 \ build \ DL3 \ 95a37a1e \ 20a1068d_2258cf01 \ System.Web.WebPages.dll. Cannot find or open the PDB file. 'iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-130443759999540000): loaded "C: \ Users \ Sai Lee \ AppData \ Local \ Temp \ Temporary ASP.NET Files \ root \ 8049ceb4 \ 41eadfc5 \ build \ DL3 \ 731993f0 \ b0ad008d_2258cf01 \ System.Web.WebPages.Deployment.dll. Cannot find or open the PDB file. 'Iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1 -130443759999540000): loaded "C: \ Users \ Sai Lee \ AppData \ Local \ Temp \ Temporary ASP.NET Files \ root \ 8049ceb4 \ 41eadfc5 \ build \ DL3 \ 79ff7061 \ 30c4608c_2258cf01 \ System.Web.Mvc.dll. Cannot find or open the PDB file. 'iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-130443759999540000): Loaded 'C: \ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System.Web.WebPages.Deployment \ v4. 0_1.0.0.0__31bf3856ad364e35 \ System.Web.WebPages.Deployment.dll. Missing download symbols. The module is optimized and the debugger option "Only my code" is enabled. 'iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-130443759999540000): loaded "C: \ Users \ Sai Lee \ AppData \ Local \ Temp \ Temporary ASP.NET Files \ root \ 8049ceb4 \ 41eadfc5 \ build \ DL3 \ c6f94af9 \ d026df8d_2258cf01 \ Microsoft.Owin.Host.SystemWeb.dll. Cannot find or open the PDB file. 'Iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1 -130443759999540000): loaded "C: \ Users \ Sai Lee \ AppData \ Local \ Temp \ Temporary ASP.NET Files \ root \ 8049ceb4 \ 41eadfc5 \ build \ DL3 \ 63a74605 \ 401bd68c_2258cf01 \ Microsoft.Web.Helpers.dll. Cannot find or open the PDB file. 'iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-130443759999540000): loaded "C: \ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ Microsoft.VisualStudio.Web.PageInspector.Runtime \ v4.0_2.1.0.0__b03f5f7f11d50a3a \ Microsoft.VisualStudio.Web.PageInspector.Runtime.dll. Cannot find or open the PDB file. 'iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1- 130443759999540000): loaded "C: \ Users \ Sai Lee \ AppData \ Local \ Temp \ Temporary ASP.NET Files \ root \ 8049ceb4 \ 41eadfc5 \ build \ DL3 \ 84014a7d \ c0fe7c8c_2258cf01 \ System.Web.Razor.dll. Cannot find or open the PDB file. 'iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-130443759999540000): Loaded 'C: \ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ Microsoft.Web.Infrastructure \ v4.0_1. 0.0.0__31bf3856ad364e35 \ Microsoft.Web.Infrastructure.dll. Missing loading symbols. The module is optimized and the debugger option "Only my code" is enabled. 'iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-130443759999540000): loaded "C: \ Users \ Sai Lee \ AppData \ Local \ Temp \ Temporary ASP.NET Files \ root \ 8049ceb4 \ 41eadfc5 \ build \ DL3 \ e1d9295c \ 9058168d_2258cf01 \ WebMatrix.Data.dll. Cannot find or open the PDB file. 'Iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-130443759999540000): Loaded 'C: \ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System.Drawing \ v4.0_4.0.0. 0__b03f5f7f11d50a3a \ System.Drawing.dll. Missing loading symbols. The module is optimized and the debugger parameter "Only my code" is enabled.' iisexpress.exe '(CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-130443759999540000): loaded' C: \ Users \ Sai Lee \ AppData \ Local \ Temp \ Temporary ASP.NET Files \ root \ 8049ceb4 \ 41eadfc5 \ App_global.asax.yvi9nkec.dll. 'iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-130443759999540000): loaded "C: \ Users \ Sai Lee \ AppData \ Local \ Temp \ Temporary ASP.NET Files \ root \ 8049ceb4 \ 41eadfc5 \ build \ DL3 \ 56b15d59 \ 4084c3ac_d26dcf01 \ OfficiumWebApp.dll. The symbols are loaded. 'Iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-130443759999540000): Loaded 'C: \ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System.ServiceModel.Activation \ v4.0_4. 0.0.0__31bf3856ad364e35 \ System.ServiceModel.Activation.dll. Missing download characters. The module is optimized and the debugger option "Only my code" is enabled. 'Iisexpress.exe '(CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-130443759999540000): Loaded' C: \ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System.Web.Extensions \ v4.0_4. 0.0.0__31bf3856ad364e35 \ System.Web.Extensions.dll. Symbols loaded. 'Iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-13044 3759999540000): Loaded 'C: \ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System.ServiceModel.Internals \ v4.0_4. 0.0.0__31bf3856ad364e35 \ System.ServiceModel.Internals.dll. Missing download symbols. The module is optimized and the debugger option "Only my code" is enabled. 'iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-130443759999540000): loaded "C: \ Users \ Sai Lee \ AppData \ Local \ Temp \ Temporary ASP.NET Files \ root \ 8049ceb4 \ 41eadfc5 \ build \ DL3 \ cf53efd6 \ 306c338f_2258cf01 \ Owin.dll. Cannot find or open the PDB file. 'Iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-130443759999540000): Loaded ' C: \ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ Microsoft.CSharp \ v4.0_4.0.0. 0__b03f5f7f11d50a3a \ Microsoft.CSharp.dll. Missing download characters. The module is optimized and the debugger option is "Only my code". 'Iisexpress. exe '(CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-13044375999954540000): Loaded' C: \ Windows \ Microsoft.Net \ assembly \ GAC_32 \ System.Data \ v4.0_4.0.0. 0__b77a5c561934e089 \ System.Data.dll. Missing download symbols. The module is optimized and the debugger option "Only my code" is enabled. 'iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-130443759999540000): Loaded 'C: \ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System.Web.Services \ v4.0_4. 0.0.0__b03f5f7f11d50a3a \ System.Web.Services.dll. Missing download symbols. The module is optimized and the debugger option "Only my code" is enabled. 'iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-130443759999540000): Loaded "C: \ Windows \ Microsoft.Net \ assembly \ GAC_32 \ System.EnterpriseServices \ v4.0_4.0.0. 0__b03f5f7f11d50a3a \ System.EnterpriseServices.dll. Missing loading symbols. The module is optimized and the debugger option is "My code only". 'Iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-130443759999540000): Loaded 'C: \ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System.IdentityModel \ v4.0_4.0.0. 0__b77a5c561934e089 \ System.IdentityModel.dll. Missing loading characters. The module is optimized and the debugger option "Only my code" is enabled.' Iisexpress .exe '(CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-13044375999954540000): Loaded' C: \ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System.Runtime.Serialization \ v4.0_4. 0.0. 0__b77a5c561934e089 \ Sy stem.Runtime.Serialization.dll. Missing loading symbols. The module is optimized and the debugger option is "Only my code". 'iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-130443759999540000): Loaded "C: \ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System.ServiceModel \ v4.0_4.0.0. 0__b77a5c561934e089 \ System.ServiceModel.dll. Missing download symbols. The module is optimized and the debugger option "Only my code" is enabled. 'iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-130443759999540000): Loaded 'C: \ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System.ServiceModel.Web \ v4.0_4. 0.0.0__31bf3856ad364e35 \ System.ServiceModel.Web.dll. Missing download characters. The module is optimized and the debugger option "Only my code" is enabled. 'iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-130443759999540000): Loaded "C: \ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System.Activities \ v4.0_4.0.0. 0__31bf3856ad364e35 \ System.Activities.dll. Missing loading symbols. The module is optimized and the debugger parameter "Only my code" is enabled. 'Iisexpress.exe' (CLR v4.0.30319: / LM / W3SVC / 34 / ROOT-1-130443759999540000): Loaded "C: \ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System.ServiceModel.Activities \ v4.0_4. 0.0.0__31bf3856ad364e35 \ System.ServiceModel.Activities.dll. Missing download symbols. The module is optimized and the debugger option "Only my code" is enabled.

+7
c # asp.net-mvc
source share
3 answers

Try the following steps to resolve the problem:

1) Go to Tools> Options> Source Control and set Current control source ...: No

2) Go to Tools> Options> Environment> Synchronized Settings and clear this option by unchecking the box.

3) Clear the contents in the following cache folders (do not delete these folders, but do not delete their contents) and restart Visual Studio :

  • Clear the contents in the WebSiteCache folder (can be found in
    C: \ Users \% USERNAME% \ AppData \ Local \ Microsoft \ WebSiteCache)

  • Empty the contents in the Temporary ASP.NET Files folder (can be found in
    C: \ Users \% USERNAME% \ AppData \ Local \ Temp \ Temporary ASP. NET)

Note. If you enable Hardware Acceleration or use the default visual perception settings in Microsoft Visual Studio 2015 or Visual Studio 2013 , you may experience periodic performance issues, product crashes, or rendering problems. To work around these problems, go to Tools> Options> Environment> General and apply the following settings:

enter image description here

For more information, visit: You are experiencing performance issues, product crashes, or rendering problems in Visual Studio 2015 and Visual Studio 2013 .

Update: If the problem is with debugging, try Visual Studio debugging / loading workaround very slowly

Hope this helps ...

+5
source share

I think that the solvation of your problem can be created in the settings of your profile "Only my code" for the compiler. Remembering that you are using your solution from VS - your exception gives this thought:

Module is optimized and the debugger option 'Just My Code' is enabled. .

This is repeated very often. And try placing your application in real IIS, not in IIS Express. Just to be sure.

0
source share

Check and possibly temporarily disable Anti-Virus (for example, Windows Defender), which tries to scan DLL files every time. In addition, if you have “only” 4 GB of RAM and you think you need more RAM, about 8 GB or 16 GB

-one
source share

All Articles