Question Win10, VS 2010 problem

IBMJunkman

Senior member
May 7, 2015
552
149
116
Win10, VS 2010. Working website on local IIS. Developed and tested on this PC. Made a small change to a project. Built fine. Trying to publish to local IIS. Get this error:
Error 1 Web deployment task failed. (There was an error reading IIS configuration schema from 'C:\WINDOWS\system32\inetsrv\config\schema\'.)

I can view the folder using Windows Explorer. I am blocked when trying ZTreeWin in non-admin mode. The file IIS_schema.xml was last modifed 3/2021.

I have no idea what the problem is. Help!
 
Jul 27, 2020
11,928
7,042
106

IBMJunkman

Senior member
May 7, 2015
552
149
116
I have uninstalled Web Deployment Tool version 1.1.0618. I have installed Microsoft Web Deploy 3.6 version 10.0.1973. No change.
All done while logged into the Administrator account.
C:\WINDOWS\system32\inetsrv\config\schema\ is marked ReadOnly and the Admin account cannot change it.
 

IBMJunkman

Senior member
May 7, 2015
552
149
116
Don't have access to VS 2012. And the Azure thing says it can't find the product I am trying to install.
 
Jul 27, 2020
11,928
7,042
106
All I can think of is, install the Windows version in VM that existed when VS2010 came out. Build your project inside the VM and publish it from there.
 

ASK THE COMMUNITY