Compiler Error Message: The compiler failed with error code -532462766

And the winner is ASP.NET Dynamic Compilation These lines in web.config where the cause. I only wish I knew how they got there. Was it a nu-get package or the VS2017 compilation? Remove these lines to resolve this error: <system.codedom> <compilers> <compiler language=”c#;cs;csharp” extension=”.cs” type=”Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35″ warningLevel=”4″ compilerOptions=”/langversion:6 /nowarn:1659;1699;1701″ /> <compiler language=”vb;vbs;visualbasic;vbscript” … Read more

Cannot add duplicate collection entry of type ‘add’ with unique key attribute ‘name’ set to ‘aspNetCore

The answer above didn’t work for me, however DavidG’s comment did solve my problem, so going to post as an answer in case it helps someone else. For me, I was not running it as a sub-application, and a project that had been working for me no issue for over a year suddenly stopped working … Read more

Missing “Import Web Application” option in Web Deploy 3.6

WebDeploy 3.6 prerequisites for Import / Export Web Application slightly changed and more rights need to be given for web management to enable these options again. Here are the steps to allow it again in Windows Server 2012 R2 (and Windows Server 2016): Using Server Manager get to Add Roles and Features. Pick ‘Management Service’ … Read more

WCF on IIS8; *.svc handler mapping doesn’t work

More specifically: Run Server Manager (on task bar and start menu) Choose the server to administer (probably local server) Scroll down to “Roles and Features” section. Choose “Add Role or Feature” from Tasks drop down On “Add Role or Feature Wizard” dialog, click down to “Features” in list of pages on the left. Expand “.Net … Read more

Config Error: This configuration section cannot be used at this path

I had the same problem. Don’t remember where I found it on the web, but here is what I did: Click “Start button” in the search box, enter “Turn windows features on or off” in the features window, Click: “Internet Information Services” Click: “World Wide Web Services” Click: “Application Development Features” Check (enable) the features. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)