How to make BundleTransformer work on Windows Server Core - asp.net-mvc

Ever since we found dotLess stopped working for us our ASP.NET MVC project has been using BundleTransformer for our LESS bundling and minification. We are trying to migrate our CI build agents to use Windows Server Core (headless) and away from Windows Server Standard. When we did this we started receiving Internal Server Errors when trying to hit our pages. This seems to be blowing up inside of BundleTransformer.
We initially were using BundleTransformer with http://www.nuget.org/packages/JavaScriptEngineSwitcher.Msie
From reading this post I thought maybe it was that we were missing the dependency on Internet Explorer.
http://bundletransformer.codeplex.com/discussions/454495
I tried to use the v8 engine switcher and started getting server errors on my Windows Standard setup.
http://www.nuget.org/packages/JavaScriptEngineSwitcher.V8
Has anyone successfully managed to get BundleTransformer working on a Windows Server Core environment? Anything would help. Thank you.

You have installed the Visual C++ Redistributable for Visual Studio 2012 before you install the JavaScriptEngineSwitcher.V8 package?
Give an example of the error message.

Related

iis express from vs error ERR_HTTP2_PROTOCOL_ERROR

Running an MVC project in VS 2022, .NET Framework 4.8. When I run from VS, I get the below error. This was working as of a couple days ago, suddenly I get this error. I am inexperienced in all things IIS Express, how can I go about troubleshooting this exception? Google search has not turned up anything helpful to me. Any help is greatly appreciated!
EDIT: I created a new ASP.NET MVC application and was able to run it in IIS Express without issue. It is running under a different port (https://localhost:44327/) that the project I'm having issues with. I tried changing the port# on the problem project, but still get the same error.
In doing all of this, my applicationhost.config for IIS Express didn't change at all.
Uninstalling IIS Express in Visual Studio Installer, rebooting, and reinstalling IIS Express (along with all dependent components that had been removed) fixed my issue.

Problems with Umbraco version 8.4.0 on Windows 2016 Standard Server

I'm trying to install an Umbraco version 8.4.0 on Windows 2016 Standard Server.
The dev machine is Windows 10 Pro on which the installation works fine.
But when I deploy to the Windows 2016 Standard Server the pages loaded do not format well - the footer, header and other compositions setup in the back-end do render.
There are no 500 server errors or Javascript errors in console. I'm clueless about whats going wrong?
Has anyone installed Umbraco v8 on windows 2016 server, are there any special considerations for installing it?
Please could someone help me, I'm really stuck on it and not sure how to go and resolve it.
We gave "Network Service" permissions to modify the website folders. That fixed it, not sure though why because Umbraco was already running without the "Network services" in the permissions. It was only the new release of the website that got affected, the previous release had no issues without Network Services having these permissions.
If anyone get stuck with something like this should check the permissions for the website folders.

Running my asp.net 4.5 web application under visual studio 2012 will raise the following error:- HTTP Error 500.0 - Internal Server Error

I am working on an asp.net mvc 4 web application (using .net 4.5). and i am using Visual Studio professional 2012. now when i run the project inside VS-2012 i will get the following error:-
HTTP Error 500.0 - Internal Server Error
Although i am hosting the same application under IIS-8 and it is working well. but if i run the same web application inside Visual studio i will get the above error. i am using windows server 2012 r2.
can anyone adivce why my project is not working when i try running it inside VS? and this problem appeared all of a sudden i mean last week i was able to run the application without any problem..
Thanks
here is the event viewer errors regarding my problem , one related to iis-express, while the other related to VS:-
An application has reported as being unhealthy. The worker process
will now request a recycle. Reason given: An error message detailing
the cause of this specific request failure can be found in the
application event log of the web server. Please review this log entry
to discover what caused this error to occur. . The data is the error.
Windows cannot access the file for one of the following reasons:
there is a problem with the network connection, the disk that the file
is stored on, or the storage drivers installed on this computer; or
the disk is missing. Windows closed the program Microsoft Visual
Studio 2012 because of this error.
Program: Microsoft Visual Studio 2012 File:
Have u checked the "most likely causes". Possibly it is permissions issue. You may need to check startup project or you may need to review your web.config file

Why do I need to switch off module inheritance to make my ASP.NET MVC site work on Windows Server 2008?

I am developing an ASP.NET MVC 5 site targeting .NET 4.5.1 and for some reason I am struggling to deploy it on a Windows Server 2008 Standard edition server.
To be clear the site runs fine on my Windows 7 development machine and my Windows Server 2012 test environment but when I deploy it to the Windows Server 2008 in question I get this error:
At this point I tried all the advice about reinstalling ASP.NET and enabling runAllManagedModulesForAllRequests that I found in threads like this one ASP.NET MVC on IIS 7.5 but nothing would make it work.
Eventually I found that I could fix the problem by switching off the "Invoke only requests to ASP.NET applications or managed handlers" option for all managed modules in the application. What this did in essence was to make the following changes to the web.config file:
So my question is two-fold. Firstly, why is this change necessary to get the site to work? Secondly, am I safe to change the web.config permanently given that it will be installed on other servers as well, not all of which will be Windows Server 2008?

Unable to find V3.5 in IIS5.0

I am doing sample application on MVC when i run the application i am getting the following error
Also in my IIS i am unable to find the version 3.5 even i am having 2008 installed on my pc so can any one tell how to rectify this problems
You might need to configure extensionless mappings as IIS 5 doesn't support it.

Resources