.NET Core 2.1 Keeps Coming Back After Uninstall - asp.net

We have a development VM (Windows Server 2016 Standard) with some apps installed such as Visual Studio 2019 and SQL Server Management Studio 18.6. Our weekly security scans are showing that .NET Core 2.1.30 is installed, which is at end of life and should be removed. I manually uninstall the application from the apps and features control panel, but it mysteriously appears again about a month later. When I was looking at the event viewer while trying to track down who could be installing it, I notice that it is installed by the SYSTEM user. Is there any dependent app that could be reinstalling this automatically after I manually remove it?

Related

problem with hosting asp.net core 2.1 in plesk cpanel?

I am having asp.net core 2.1 project and your plesk supports upto only .Net framework 4.6.2. And I am not able to host my project.It always ends up with following error
HTTP Error 502.5 - Process Failure
What I have tried:
In Plesk , I clicked on Hosting Settings and untick Microsoft ASP.NET so that .NET core gets No Managed Code Application Pool.
And then trying to test my project .. But everytime I ends you will above error.
I am trying to do this for 3 days :)
As mentioned on Plesk's Knowledge base, it'll depend on your version of Plesk - it'll require 17.8 onwards.
ASP.NET Core 2.x
In Plesk for Windows
According to release notes, ASP.NET Core 2.0 is supported since March
6, 2018 on Plesk Onyx 17.8 only. Check how to upgrade to the latest
version.
It is possible to install required components with the Autoinstaller
(Plesk > Tools & Settings (Server) > Updates & Upgrades > Plesk
hosting features > .NET Core Runtime), and then upload your
application manually into hosting using FTP, Visual Studio and etc.
As for other versions, they are not shipped with Plesk, but can be
used on a server with Plesk.
The required version can be installed manually using the installer
available on .NET Core main website.
After installation, version can be verified by executing the following
command in the Command prompt:
dotnet --version
In Plesk for Linux Download and install manually all the required packages from https://www.microsoft.com/net/download/linux

Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine in VS2010 Only

'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. I am getting this in visual studio only after upgrading from 32bit office 2013 to 64bit office 16. I have already installed the 64bit database engine and my published project from IIS is working with the existing access database. I switched debug mode to x64 and remove the references to the old office and replaced them with the new office access. How can I get Visual Studio 2010 to recognize my access database created in access 2013?
Things I have tried:
Installing Microsoft Access Database Engine 2010 Redistributable 64bit version.
Updating the office references in the project.
Debugging in x64 mode
This is a little outside of my normal area of database application design;
it's unclear - you state 2016 Office 64 bit installed but then Access 2010 Redistributable/Runtime 64bit - - so do you have a full license of Access installed?
if you do have the full Access license - try something that is quick: create a brand new database and import that table. Then try the link to this new db.
I had that issue in the past.
install 2007 Office System Driver and restart visual studio.
I've dealt many time with this problem, the solution was ever install one of these:
AccessDatabaseEngine 2007.exe
AccessDatabaseEngine_2010.exe
AccessDatabaseEngine_2016.exe
AccessDatabaseEngine_X64_2010.exe
AccessDatabaseEngine_X64_2016.exe
Most of the time I've solved installing the 2007 one even using 2016 version.
To run 32-bit applications on IIS, you will get the same error. So, from the IIS 7, right-click on the applications' application pool and go to "advanced settings" and change "Enable 32-Bit Applications" to "TRUE".
Restart your website and it should work.

Visual Studio 2017 Installation of "ASP.NET and web development"

I've downloaded Visual Studio with --layout option, and installed it.
Installation was successful with warning, as below,
The product failed to install the listed workloads and components due to one or more package failures.
Incomplete workloads
.NET Core cross-platform development (Microsoft.VisualStudio.Workload.NetCoreTools,version=15.0.26208.0)
ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=15.0.26208.0)
Azure development (Microsoft.VisualStudio.Workload.Azure,version=15.0.26208.0)
Mobile development with JavaScript (Microsoft.VisualStudio.Workload.WebCrossPlat,version=15.0.26208.0)
Node.js development (Microsoft.VisualStudio.Workload.Node,version=15.0.26208.0)
Incomplete components
.NET Core 1.0 - 1.1 development tools (Microsoft.NetCore.ComponentGroup.Web,version=15.0.26208.0)
.NET Core 1.0.1 development tools (Microsoft.Net.Core.Component.SDK,version=15.0.26208.0)
Container development tools (Microsoft.VisualStudio.Component.DockerTools,version=15.0.26208.0)
Git for Windows (Microsoft.VisualStudio.Component.Git,version=15.0.26208.0)
Visual Studio Emulator for Android (Component.Android.Emulator,version=15.0.26208.0)
There errors were listed in log file.
Every time I modify the Installer and try to install web components, doesn't work.
I've tried to restart computer, restart the installer.
Nothing works.
After some digging,
I found a solution.
Try to install Visual Studio with setting temp and %temp% folder to short path, like d:\temp.
Step 1 : open cmd with administrator privileges (to ignore administrative privileges error).
Step 2 : execute command - set tmp="d:\temp"
Step 3 : execute command - set temp="d:\temp"
Step 4 : execute vs_community.exe with whatever --layout option you want.

How can I add / download web development settings to my existing Visual Studio installation?

When Visual Studio 2010 (10.0.4 SP1) was installed on my machine, it seems no web development settings were installed. There are no web projects under templates, and Web Development Settings do not appear under the default settings list (Under Tools->Import Export Settings).
I don't know for sure that I'm not just missing some big obvious 'Switch to Web Development Mode' button somewhere, but I've had a good Google and a look and I cant see anything.
I would rather not have to install Visual Web Developer. Is there some way I can add web development settings to my existing install of Visual Studio?
Here are the steps to install it while installing Web Deploymnet Settings
· Insert the DVD or CDROM Disk 1 – the Setup program starts automatically.
· Click Install Visual Studio 2010 and follow the instructions.
o This installs Visual Studio, the .NET framework, the development web server, and SQL Server 2008 Express.
o If you are installing Visual Web Developer 2010 Express Edition, it does NOT install SQL Server 2008 Express – you’ll need to download SQL Server 2008 and install it separately.
· On the Options page accept Default option – for the Default Environment Settings you can select Web Development Settings.
· Click the Install Product Documentation link to install the MSDN help files.
You must have missed it so run the setup again and as you don't want to reinstall VS you'll be asked to repair the setup there you can select the feature
refer:http://www.siue.edu/~dbock/cmis460/Module%20A%20--%20Appendix%20A%20in%20textbook/ModuleA-InstallSoftware.htm
http://www.microsoft.com/web/gallery/install.aspx?appid=VWDorVS2010SP1Pack
This adds the web development parts to an installed version of visual studio that lacks them (along with all the other tool you require for web development)

Deploy from Visual Studio 2010 stopped working after upgrade to Web Deployment Tool 2.1

I have a web site project that has been existing for a while - it has been ASP.NET MVC2 based up until right now. .Net 4, Visual Studio 2010 Sp1, deployed to IIS 7.5 running on Win2008 R2.
I have four separate deployment profiles - "alpha", "test", "staging" and "live". Yes, I could probably have come up with better names, but they should hopefully convey what they are for.
It was recently decided to upgrade to MVC3 to take advantage of new awesomeness like Razor, global filter attributes, and start using NuGet etc. So I went on an upgrade binge with the Web Platform Installer. One of the things I updated was the Web Deployment Tool - both my developer machine (where the MVC3 upgrade happens) and the web server got this new version of the tool installed.
Since then, I have not been able to do deployments. I have gone back to earlier versions of my project (thanks to git for allowing me to painlessly go back to any previous version) and tried to deploy them, and they don't work either.
Whenever I try to do a deployment from Visual Studio I get the following error:
Web deployment task failed.((23.05.2011 11:18:24) An error occurred when the request was processed on the remote computer.)
(23.05.2011 11:18:24) An error occurred when the request was processed on the remote computer.
Unable to cast object of type 'Microsoft.Web.Deployment.DeploymentSyncOptions' to type 'Microsoft.Web.Deployment.DeploymentSyncOptions'.
I can see why that cast would be hard. ;)
But seriously - how can we get deployment from Visual Studio to work again? In the future we will do this using our CI server, and install a deployment package using MsBuild automatically on the correct web server depending on the git branch that was updated, but that is some time in the future.
I have full access to both machines so any other information need can hopefully be gathered.
You might be having beta version of web deploy on your box if you have ever installed web platform installer v2 beta. YOu can check that by
gacutil -l Microsoft.web.deployment.
If you see any 7.5.0.0 version then you have a beta version. Uninstall this version. You need to check and change this on both the client as well as the server.
Owais is right - this is very likely because you have a pre-release version installed. Rune can you please check and let me know?

Resources