how to do iis 7.0 CLEAN reinstall on vista? - iis-7

I need to reinstall IIS 7.0 on Vista due to some unsolved configuration issues.
I thought it was easy: I uninstalled all IIS-related stuff in Programs/Features, restarted system, installed all IIS modules again (installation cd wasn't needed) and hmm.. everything looks the same - I mean wrong. I see all configured websites, modules, pools etc.
Is there any clever way to get CLEAN installation with CLEAN database / metabase / configuration files / clean installation files?
Reinstalling whole OS is not a good solution.
Best regards,
Tomek

I've encountered the same problem and formatting my hard drive was not an option.
The answer is already provided in a comment, and that is uninstalling the Windows Activation Services in the Windows Components before reinstalling IIS.
I hope this helps some of people out there, because i noticed we're not the only ones when googling the problem...

It is my understanding that all configuration in IIS7 is done in the different web.config files. So keeping them will keep your (miss-)configuration after a reinstall.

Related

IIS 10 - Missing Managed Handlers Types

Recently we upgraded one of our internal servers from Windows Server 2012 R2 to 2016. There were some missing configurations in IIS and I had to reinstall extensions like Web Platform Installer, URLRewrite etc.
This upgrade also broke our .NET Core 3 hosted website and upon some investigation I found that handler configuration seems to be missing in IIS. I need help restoring the handlers.
Thank you
Input your type name manually. Sometimes it could not load type names in dropdown list.
You can try the following steps to solve the problem:
run the aspnet_regiis -ir
For x86, run C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -ir.
For x64, run C:\Windows\Microsoft.NET\Framework64\v2.0.50727\aspnet_regiis.exe -ir.
Or
click Revert to Parent in the right nav of IIS in the Handler
Mappings section.
I reinstalled .NET 4.8, .NET 3.1 Core one more time to get it work. Restarted a few times in between. Not sure which one did the trick exactly though!
Thank you all for your help!

Cannot find compilation library location for package 'Microsoft.NETCore.App'

I've upgraded from .NET Core 2.0 to 2.1.1 (so many elements that gets highly confusing).
I built my project and now I'm getting this error:
Cannot find compilation library location for package 'Microsoft.NETCore.App'
I don't know what other information should I provide. Please guide me in providing more info on this issue.
It's such a frustrating experience. Upgrading backward compatible version in Semantic Versioning shouldn't break things. I wish they had versioned this release as .NET Core 3.0, so that we wouldn't upgrade. Any help?
Update: I created this issue on GitHub.
I did simple fix for this issue, I selected option to remove additional files at destination before publish and then it solved my issue.
Just set MvcRazorExcludeRefAssembliesFromPublish to false in your .csproj file and that should fix the issue.
You're missing the SDK. Download and install 2.1.301 (at the time of writing), and you'll be okay. FWIW, you're not forced to upgrade. If the packages upgraded automatically, you either set a wildcard on package version or you just did something like "Upgrade all" in the NuGet Package Manager GUI. If you're concerned about things upgrading without your permission, then use explicit version numbers and pick and choose each package to upgrade manually.
Clean your hosted folder and install fresh. Re-installing the SDK/runtimes did not fully correct the issue for me.
Resolved this error by:
Re/Install SDK on IIS Server (2.1.3xx)
Re/Install SDK on Dev Machine (2.1.3xx)
Re/Install Runtime on IIS Server (2.1.2)
Clean hosted folder on IIS Server (I had old cshtml/dlls)
Republish to clean folder
Also try with an empty new project (File -> New Project -> ASP.NET Core Web Site -> 2.1)

Not able to install IIRF on Windows Server 2012 / IIS8

Not able to install iirf on Windows Server 2012. I used this msi file from codeplex: "Iirf2.1-x64"
http://download-codeplex.sec.s-msft.com/Download/Release?ProjectName=iirf&DownloadId=261341&FileTime=129654893866170000&Build=21018
Getting below error, couldn't find much help on Google or SO so far!
Setup for Ionic's ISAPI Rewrite Filter 2.1 ended prematurely
Anyone experienced or solved this?
You install IIRF by going to the IIS MMC snap-in and either at server level (for all websites) or on each website, you choose the ISAPI filters and click add, then just look for the DLL, click OK, restart IIS and you are done, no need to use the MSI. For IIS8 you need a version that's not available at the IIRF CodePlex project official site. I have been given a new version revision that works in IIS8+, this is version IIRF-2.1.2.4-x64 and I have made it available on my website (http://www.nelsonpires.com/web-development/ionics-isapi-rewrite-filter-aka-iirf-for-iis8/) for anyone to download and use. I have tested it and confirm it works great on IIS8.5. Hope this works for you too.
See my answer on the other related question here: IIRF on IIS8 / Window Server 2012 Throwing w3wp.exe Exceptions - there's a fix for it.

installed VS 2003, VS2010 websites will not load without 32bit enabled

I had to support this application written in 2003 so I installed it on my local computer and now my websites give me the following error when running without 32bit applications installed.
Previously I ran under and app pool without 32bit applications installed. What could have changed?
ISAPI Filter 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_filter.dll' could not be loaded due to a configuration problem. The current configuration only supports loading images built for a AMD64 processor architecture.... To learn more about this issue, including how to troubleshooting this kind of processor architecture mismatch error, see http://go.microsoft.com/fwlink/?LinkId=29349.
Any suggestions would be hugely appreciated.
Just in case someone else encounters this... I went to the websites that were having the trouble, then navigated to the ISAPI filter section, and noticed that one of the paths had an extra backslash.

aspnet_regiis.exe not working?. Where i find the Download link?

Temporary ASP.NET Files Missing
I struck with this error at yesterday itself. I googled for this. Somebudy told me to check, aspnet_regiis.exe working or not in this path.
file:///C:/windows/microsoft.net/framework/v2.0.50727/
Oh it not working. Warning is,...
The Program Can't start because webengine.dll is missing from your computer. try re installing the program to fix this problem.
Where can i find the download link.
Download it from http://www.microsoft.com/download/en/details.aspx?id=19.
You can download and re-install the .net framework 2.0. After this it will allow you to register the asp.net with IIS. Ensure the IIS is configured in your windows feature.

Resources