Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

Compilation Error on login and admin pages

Vote:
 

I'm getting a compilation error on all Episerver sites that I run locally.  I noticed this after installing Visual Studio 2015.  I've tried existing Episerver projects -- experience editor comes up fine, but CMS -> admin area and Commerce Manager area both yield this error.  I've also tried new Episerver projects -- latest version of CMS (9.5.1), both using the Alloy MVC project template and an empty ASP.NET MVC project and installing the nuget package.  I have since uninstalled Visual Studio 2015, but the problem persists.  The site compiles within visual studio fine, and the root of the site runs fine.  All of my projects are targeting .NET 4.5.2.  Here is the error I'm getting; any thoughts would be greatly appreciated!

Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. 

Compiler Error Message: The compiler failed with error code -1073741511.



C:\Program Files (x86)\IIS Express> "C:\Windows\Microsoft.NET\Framework\v4.0.30319\vbc.exe" /t:library /utf8output /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\f2a21406\9a4ceaa2_ab3dd101\Newtonsoft.Json.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\e0a51f03\bb2b4da5_ab3dd101\System.Web.Providers.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudio.Web.PageInspector.Loader\v4.0_1.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Web.PageInspector.Loader.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\61cd7fdd\697a34a5_ab3dd101\EntityFramework.SqlServer.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\6dce9a1d\91b96ca4_ab3dd101\EPiServer.ImageLibrary.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\78e9f919\8ee98ba4_ab3dd101\EPiServer.Cms.Shell.UI.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Web\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activities.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\b509c610\627ed274_ab3dd101\System.Web.WebPages.Deployment.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\0b767600\9cf390a4_ab3dd101\EPiServer.UI.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Data.DataSetExtensions\v4.0_4.0.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\495c977e\113d03a3_ab3dd101\StructureMap.Net4.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\3ddd3a81\563556a4_ab3dd101\Castle.Windsor.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\App_Code._teavup8.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\044d4f16\76ea2da3_ab3dd101\EPiServer.Data.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\5317be72\fc476aa4_ab3dd101\EPiServer.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.Entity\v4.0_4.0.0.0__b77a5c561934e089\System.Web.Entity.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\d4cdffa0\6e961da3_ab3dd101\StructureMap.Web.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\4899f905\36f532a3_ab3dd101\EPiServer.Framework.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\5adcc647\b6a5d974_ab3dd101\System.Web.WebPages.Razor.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\92f50f45\4a386fa4_ab3dd101\EPiServer.LinkAnalyzer.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\bac5e0d2\97baffa2_ab3dd101\StructureMap.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\5df2a108\64708da4_ab3dd101\EPiServer.Shell.UI.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\a57fd931\a4fd67a4_ab3dd101\EPiServer.Configuration.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\06fa482a\7c7734a3_ab3dd101\EPiServer.Licensing.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\adcba707\77632ca3_ab3dd101\EPiServer.Data.Cache.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.ApplicationServices\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.ApplicationServices.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\3150ff24\93e231a5_ab3dd101\EntityFramework.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\98f77103\1308dea4_ab3dd101\EPiServer.Packaging.UI.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\964d1b9a\d16abf74_ab3dd101\System.Web.Razor.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\af8d346d\a5ef36a3_ab3dd101\EPiServer.Shell.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\34e64097\45e8b0a4_ab3dd101\EPiServer.Packaging.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\78489dd8\bd47a8a4_ab3dd101\NuGet.Core.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.Activities.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\3bf69542\141d6ca4_ab3dd101\EPiServer.Enterprise.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\00ac876e\d3e0d474_ab3dd101\System.Web.WebPages.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.WorkflowServices\v4.0_4.0.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\ac93c8ad\f8bf70a4_ab3dd101\EPiServer.Web.WebControls.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\c735301f\9ab80aa4_ab3dd101\Castle.Core.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\dd253296\bd1bef74_ab3dd101\System.Web.Mvc.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.Extensions\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Extensions.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\7ca2b3cf\7dd525a3_ab3dd101\EPiServer.ApplicationModules.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\4db03c29\9ad6afa4_ab3dd101\EPiServer.Packaging.CmdAPI.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\cb8c3fa2\7ab9cd74_ab3dd101\System.Web.Helpers.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\App_global.asax.agdo13r3.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.WebPages.Deployment\v4.0_2.0.0.0__31bf3856ad364e35\System.Web.WebPages.Deployment.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.DynamicData\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.DynamicData.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.IdentityModel\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\8990321a\5b3173a4_ab3dd101\EPiServer.XForms.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\cc091688\efd52ea3_ab3dd101\EPiServer.Events.dll" /R:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\assembly\dl3\71c7b9f3\ed06eebd_ab3dd101\EpiOn45Test.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activation\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activation.dll" /out:"C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\App_Theme_Default.gkc0x9cu.dll" /D:DEBUG=1 /debug+ /nowarn:41008,40000,40008 /define:_MYTYPE=\"Web\" /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Generic,System.Collections.Specialized,System.ComponentModel.DataAnnotations,System.Configuration,System.Linq,System.Text,System.Text.RegularExpressions,System.Web,System.Web.Caching,System.Web.DynamicData,System.Web.SessionState,System.Web.Security,System.Web.Profile,System.Web.UI,System.Web.UI.WebControls,System.Web.UI.WebControls.WebParts,System.Web.UI.HtmlControls,System.Xml.Linq,System.Web.Mvc,System.Web.Mvc.Ajax,System.Web.Mvc.Html,System.Web.Routing,EPiServer.Shell.Web.Mvc.Html,System.Web.Helpers,System.Web.WebPages,EPiServer.Framework.Web.Mvc.Html /warnaserror- /optionInfer+  "C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\App_Theme_Default.gkc0x9cu.0.vb" "C:\Users\briano\AppData\Local\Temp\Temporary ASP.NET Files\root\0194154c\185f8603\App_Theme_Default.gkc0x9cu.1.vb"





Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1055.0

#142789
Dec 23, 2015 19:51
Vote:
 

Clear your temporary files...rebuild. Sometimes the compiler goes bananas...

#143962
Feb 03, 2016 23:33
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.