{"issue":{"milestone":null,"title":"MVC3 nuget breaks some web pages - they won't load","created_at":"2011-12-28T21:43:11Z","user":{"login":"Noyabronok","id":1195319,"url":"https://api.github.com/users/Noyabronok","gravatar_id":"5781d131a5108de7483989673d693134","avatar_url":"https://secure.gravatar.com/avatar/5781d131a5108de7483989673d693134?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"labels":[],"updated_at":"2011-12-29T21:49:59Z","state":"open","id":2675026,"closed_at":null,"html_url":"https://github.com/Glimpse/Glimpse/issues/151","pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"body":"I have an MVC3 application and the Glimpse for ASP.NET nuget package works fine.  Once I install the MVC3 Glimpse package the website breaks.  I am able to open the simple starter page and some other simple view pages, but once I try to load a page has a non-trivial model the browser keeps trying to load the page forever and shows a blank page.  I stepped through the code and the view seems to execute ok. \r\n\r\nThe debug output window in visual studio:\r\n-------------------------------------------------------\r\n\r\n'WebDev.WebServer40.EXE' (Managed (v4.0.30319)): Loaded 'C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\Temporary ASP.NET Files\\root\\b89b609a\\f5045958\\App_Web_2dtynfom.dll', Symbols loaded.\r\nIDependencyResolver.GetService<ASP._Page_Views_User_List_cshtml>() = ASP._Page_Views_User_List_cshtmlIDependencyResolver.GetService<System.Web.Mvc.ModelMetadataProvider>() = null'WebDev.WebServer40.EXE' (Managed (v4.0.30319)): Loaded 'ApplicationProxyAssembly'\r\nIDependencyResolver.GetServices<System.Web.Mvc.ModelValidatorProvider>() = null\r\n\r\n\r\nThe Glimpse log file\r\n-------------------------------------------------------\r\n\r\n2011-12-29 10:20:12.7511|INFO|Glimpse.Core.Module|<glimpse enabled=\"true\" requestLimit=\"5\" loggingEnabled=\"true\" ipForwardingEnabled=\"false\" cacheEnabled=\"false\"\r\n2011-12-29 10:20:12.7697|INFO|Glimpse.Core.Module|Glimpse Module constructed|\r\n2011-12-29 10:20:14.3824|INFO|Glimpse.Core.Module|MEF Parts composed: 12 IGlimpsePlugins, 10 IGlimpseHandlers and 5 IGlimpseConverters configured|\r\n2011-12-29 10:20:14.3824|INFO|Glimpse.Core.Module|Calling SetupInit() on Glimpse.Core.Plugin.Trace|\r\n2011-12-29 10:20:14.3824|INFO|Glimpse.Core.Module|Calling SetupInit() on Glimpse.Mvc3.Plugin.Binders|\r\n2011-12-29 10:20:14.3824|WARN|Glimpse.Mvc3.Plugin.Binders|System.Web.Mvc.HttpPostedFileBaseModelBinder is not a System.Web.Mvc.DefaultModelBinder.|\r\n2011-12-29 10:20:14.3824|WARN|Glimpse.Mvc3.Plugin.Binders|System.Web.Mvc.ByteArrayModelBinder is not a System.Web.Mvc.DefaultModelBinder.|\r\n2011-12-29 10:20:14.3824|WARN|Glimpse.Mvc3.Plugin.Binders|System.Web.Mvc.LinqBinaryModelBinder is not a System.Web.Mvc.DefaultModelBinder.|\r\n2011-12-29 10:20:14.4351|WARN|Glimpse.Mvc3.Plugin.Binders|get_Binders method of System.Web.Mvc.DefaultModelBinder type is not proxyable.|\r\n2011-12-29 10:20:14.4351|WARN|Glimpse.Mvc3.Plugin.Binders|set_Binders method of System.Web.Mvc.DefaultModelBinder type is not proxyable.|\r\n2011-12-29 10:20:14.4429|WARN|Glimpse.Mvc3.Plugin.Binders|GetFilteredModelProperties method of System.Web.Mvc.DefaultModelBinder type is not proxyable.|\r\n2011-12-29 10:20:14.4429|WARN|Glimpse.Mvc3.Plugin.Binders|GetType method of System.Web.Mvc.DefaultModelBinder type is not proxyable.|\r\n2011-12-29 10:20:14.4429|WARN|Glimpse.Mvc3.Plugin.Binders|MemberwiseClone method of System.Web.Mvc.DefaultModelBinder type is not proxyable.|\r\n2011-12-29 10:20:14.5387|INFO|Glimpse.Core.Module|Calling SetupInit() on Glimpse.Mvc3.Plugin.Execution|\r\n2011-12-29 10:20:14.6090|WARN|Glimpse.Mvc3.Plugin.Execution|GetType method of AppsRoleManager.WebUI.Infrastructure.NinjectControllerFactory type is not proxyable.|\r\n2011-12-29 10:20:14.6090|WARN|Glimpse.Mvc3.Plugin.Execution|MemberwiseClone method of AppsRoleManager.WebUI.Infrastructure.NinjectControllerFactory type is not proxyable.|\r\n2011-12-29 10:20:14.6295|INFO|Glimpse.Core.Module|Calling SetupInit() on Glimpse.Mvc3.Plugin.Views|\r\n2011-12-29 10:20:14.6295|INFO|Glimpse.Core.Module|Glimpse Module Init Complete|\r\n2011-12-29 10:20:14.7077|INFO|Glimpse.Core.Module|BeginRequest handling complete for requestId 2bc25f23-c9cc-4290-8e2a-927ab9703594 (/)|\r\n2011-12-29 10:20:14.8044|WARN|Glimpse.Mvc3.Plugin.Execution|get_Binders method of System.Web.Mvc.ControllerActionInvoker type is not proxyable.|\r\n2011-12-29 10:20:14.8044|WARN|Glimpse.Mvc3.Plugin.Execution|set_Binders method of System.Web.Mvc.ControllerActionInvoker type is not proxyable.|\r\n2011-12-29 10:20:14.8044|WARN|Glimpse.Mvc3.Plugin.Execution|GetType method of System.Web.Mvc.ControllerActionInvoker type is not proxyable.|\r\n2011-12-29 10:20:14.8044|WARN|Glimpse.Mvc3.Plugin.Execution|MemberwiseClone method of System.Web.Mvc.ControllerActionInvoker type is not proxyable.|\r\n2011-12-29 10:20:15.7528|INFO|Glimpse.Core.Module|PostRequestHandlerExecute handling complete for requestId 2bc25f23-c9cc-4290-8e2a-927ab9703594 (/)|\r\n2011-12-29 10:20:15.7538|INFO|Glimpse.Core.Module|PostReleaseRequestState handling complete for requestId 2bc25f23-c9cc-4290-8e2a-927ab9703594 (/)|\r\n2011-12-29 10:20:15.9843|INFO|Glimpse.Core.Module|Glimpse JSON payload created for requestId 2bc25f23-c9cc-4290-8e2a-927ab9703594 (/)|\r\n2011-12-29 10:20:15.9892|INFO|Glimpse.Core.Module|Glimpse output generated for requestId 2bc25f23-c9cc-4290-8e2a-927ab9703594 (/)|\r\n2011-12-29 10:20:15.9892|INFO|Glimpse.Core.Module|RequestId 2bc25f23-c9cc-4290-8e2a-927ab9703594 (/) persisted|\r\n2011-12-29 10:20:15.9892|INFO|Glimpse.Core.Module|EndRequest handling complete for requestId 2bc25f23-c9cc-4290-8e2a-927ab9703594 (/)|\r\n2011-12-29 10:20:16.1201|INFO|Glimpse.Core.Module|Glimpse Module Init Complete|\r\n2011-12-29 10:20:16.1201|INFO|Glimpse.Core.Module|Glimpse Module Init Complete|\r\n2011-12-29 10:20:16.2031|INFO|Glimpse.Core.Module|BeginRequest handling complete for requestId 011e1b5b-ead6-4f77-ad94-e75e50b85891 (/Content/Site.css)|\r\n2011-12-29 10:20:16.2725|INFO|Glimpse.Core.Module|BeginRequest handling complete for requestId c1604f8b-9ea3-4d6b-a721-2597df3d75fa (/Scripts/jquery-1.5.1.min.js)|\r\n2011-12-29 10:20:16.2871|WARN|Glimpse.Core.Validator.GlimpseRequestValidator|Glimpse.Core.Validator.ContentTypeValidator invalided request (it will now be ignored) with id 011e1b5b-ead6-4f77-ad94-e75e50b85891 (/Content/Site.css)|\r\n2011-12-29 10:20:16.2871|WARN|Glimpse.Core.Validator.GlimpseRequestValidator|Glimpse.Core.Validator.ContentTypeValidator invalided request (it will now be ignored) with id 011e1b5b-ead6-4f77-ad94-e75e50b85891 (/Content/Site.css)|\r\n2011-12-29 10:20:16.2871|WARN|Glimpse.Core.Validator.GlimpseRequestValidator|Glimpse.Core.Validator.ContentTypeValidator invalided request (it will now be ignored) with id 011e1b5b-ead6-4f77-ad94-e75e50b85891 (/Content/Site.css)|\r\n2011-12-29 10:20:16.2871|WARN|Glimpse.Core.Validator.GlimpseRequestValidator|Glimpse.Core.Validator.ContentTypeValidator invalided request (it will now be ignored) with id 011e1b5b-ead6-4f77-ad94-e75e50b85891 (/Content/Site.css)|\r\n2011-12-29 10:20:16.2871|WARN|Glimpse.Core.Validator.GlimpseRequestValidator|Glimpse.Core.Validator.ContentTypeValidator invalided request (it will now be ignored) with id c1604f8b-9ea3-4d6b-a721-2597df3d75fa (/Scripts/jquery-1.5.1.min.js)|\r\n2011-12-29 10:20:16.2871|WARN|Glimpse.Core.Validator.GlimpseRequestValidator|Glimpse.Core.Validator.ContentTypeValidator invalided request (it will now be ignored) with id c1604f8b-9ea3-4d6b-a721-2597df3d75fa (/Scripts/jquery-1.5.1.min.js)|\r\n2011-12-29 10:20:16.2871|WARN|Glimpse.Core.Validator.GlimpseRequestValidator|Glimpse.Core.Validator.ContentTypeValidator invalided request (it will now be ignored) with id c1604f8b-9ea3-4d6b-a721-2597df3d75fa (/Scripts/jquery-1.5.1.min.js)|\r\n2011-12-29 10:20:16.2871|WARN|Glimpse.Core.Validator.GlimpseRequestValidator|Glimpse.Core.Validator.ContentTypeValidator invalided request (it will now be ignored) with id c1604f8b-9ea3-4d6b-a721-2597df3d75fa (/Scripts/jquery-1.5.1.min.js)|\r\n2011-12-29 10:20:16.2871|INFO|Glimpse.Core.Module|BeginRequest handling complete for requestId 67e3dcb7-3315-478c-a9f9-bdbeb3fb7710 (/Content/themes/redmond/jquery-ui-1.8.16.custom.css)|\r\n2011-12-29 10:20:16.3028|WARN|Glimpse.Core.Validator.GlimpseRequestValidator|Glimpse.Core.Validator.ContentTypeValidator invalided request (it will now be ignored) with id 67e3dcb7-3315-478c-a9f9-bdbeb3fb7710 (/Content/themes/redmond/jquery-ui-1.8.16.custom.css)|\r\n2011-12-29 10:20:16.3028|WARN|Glimpse.Core.Validator.GlimpseRequestValidator|Glimpse.Core.Validator.ContentTypeValidator invalided request (it will now be ignored) with id 67e3dcb7-3315-478c-a9f9-bdbeb3fb7710 (/Content/themes/redmond/jquery-ui-1.8.16.custom.css)|\r\n2011-12-29 10:20:16.3028|WARN|Glimpse.Core.Validator.GlimpseRequestValidator|Glimpse.Core.Validator.ContentTypeValidator invalided request (it will now be ignored) with id 67e3dcb7-3315-478c-a9f9-bdbeb3fb7710 (/Content/themes/redmond/jquery-ui-1.8.16.custom.css)|\r\n2011-12-29 10:20:16.3028|WARN|Glimpse.Core.Validator.GlimpseRequestValidator|Glimpse.Core.Validator.ContentTypeValidator invalided request (it will now be ignored) with id 67e3dcb7-3315-478c-a9f9-bdbeb3fb7710 (/Content/themes/redmond/jquery-ui-1.8.16.custom.css)|\r\n2011-12-29 10:20:16.3956|INFO|Glimpse.Core.Module|BeginRequest handling complete for requestId caf1b2ad-09d3-4874-9fd4-bb43f2e62d6e (/Glimpse.axd)|\r\n2011-12-29 10:20:16.3956|WARN|Glimpse.Core.Validator.GlimpseRequestValidator|Glimpse.Core.Validator.ContentTypeValidator invalided request (it will now be ignored) with id caf1b2ad-09d3-4874-9fd4-bb43f2e62d6e (/Glimpse.axd)|\r\n2011-12-29 10:20:16.3956|WARN|Glimpse.Core.Validator.GlimpseRequestValidator|Glimpse.Core.Validator.ContentTypeValidator invalided request (it will now be ignored) with id caf1b2ad-09d3-4874-9fd4-bb43f2e62d6e (/Glimpse.axd)|\r\n2011-12-29 10:20:16.3956|WARN|Glimpse.Core.Validator.GlimpseRequestValidator|Glimpse.Core.Validator.ContentTypeValidator invalided request (it will now be ignored) with id caf1b2ad-09d3-4874-9fd4-bb43f2e62d6e (/Glimpse.axd)|\r\n2011-12-29 10:20:16.3956|WARN|Glimpse.Core.Validator.GlimpseRequestValidator|Glimpse.Core.Validator.ContentTypeValidator invalided request (it will now be ignored) with id caf1b2ad-09d3-4874-9fd4-bb43f2e62d6e (/Glimpse.axd)|\r\n2011-12-29 10:20:20.9601|INFO|Glimpse.Core.Module|BeginRequest handling complete for requestId bc7c8175-e80f-4d6e-a95c-eabbc78e054d (/User/List)|\r\n2011-12-29 10:20:20.9904|WARN|Glimpse.Mvc3.Plugin.Execution|get_Binders method of System.Web.Mvc.ControllerActionInvoker type is not proxyable.|\r\n2011-12-29 10:20:20.9904|WARN|Glimpse.Mvc3.Plugin.Execution|set_Binders method of System.Web.Mvc.ControllerActionInvoker type is not proxyable.|\r\n2011-12-29 10:20:20.9904|WARN|Glimpse.Mvc3.Plugin.Execution|GetType method of System.Web.Mvc.ControllerActionInvoker type is not proxyable.|\r\n2011-12-29 10:20:20.9904|WARN|Glimpse.Mvc3.Plugin.Execution|MemberwiseClone method of System.Web.Mvc.ControllerActionInvoker type is not proxyable.|\r\n2011-12-29 10:20:25.7445|INFO|Glimpse.Core.Module|PostRequestHandlerExecute handling complete for requestId bc7c8175-e80f-4d6e-a95c-eabbc78e054d (/User/List)|\r\n2011-12-29 10:20:25.7445|INFO|Glimpse.Core.Module|PostReleaseRequestState handling complete for requestId bc7c8175-e80f-4d6e-a95c-eabbc78e054d (/User/List)|\r\n","number":151,"url":"https://api.github.com/repos/Glimpse/Glimpse/issues/151","comments":1,"assignee":null},"comment":{"created_at":"2011-12-29T21:49:59Z","user":{"login":"nikmd23","id":199026,"url":"https://api.github.com/users/nikmd23","gravatar_id":"e07a27ec61977c7c686feaa799b1cf6e","avatar_url":"https://secure.gravatar.com/avatar/e07a27ec61977c7c686feaa799b1cf6e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"updated_at":"2011-12-29T21:49:59Z","id":3305541,"body":"Try disabling the Views plugin in your web.config file. My hunch is that\nyou have a view model that is having trouble serializing.\n\nThanks,\nNik\n\nOn Wed, Dec 28, 2011 at 4:43 PM, Noyabronok <\nreply@reply.github.com\n> wrote:\n\n> I have an MVC3 application and the Glimpse for ASP.NET nuget package\n> works fine.  Once I install the MVC3 Glimpse package the website breaks.  I\n> am able to open the simple starter page ok, but once I try to load a page\n> that talks to the database the page just hangs.  I see the following error\n> in the debug output window as the last statement.  How do I troubleshoot\n> this?\n>\n> 'WebDev.WebServer40.EXE' (Managed (v4.0.30319)): Loaded\n> 'C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\Temporary ASP.NETFiles\\root\\b89b609a\\f5045958\\App_Web_2dtynfom.dll', Symbols loaded.\n> IDependencyResolver.GetService<ASP._Page_Views_User_List_cshtml>() =\n> ASP._Page_Views_User_List_cshtmlIDependencyResolver.GetService<System.Web.Mvc.ModelMetadataProvider>()\n> = null'WebDev.WebServer40.EXE' (Managed (v4.0.30319)): Loaded\n> 'ApplicationProxyAssembly'\n> IDependencyResolver.GetServices<System.Web.Mvc.ModelValidatorProvider>() =\n> null\n>\n> ---\n> Reply to this email directly or view it on GitHub:\n> https://github.com/Glimpse/Glimpse/issues/151\n>","url":"https://api.github.com/repos/Glimpse/Glimpse/issues/comments/3305541"},"action":"created"}