Link to home
Start Free TrialLog in
Avatar of Peter Chan
Peter ChanFlag for Hong Kong

asked on

Web deployment task failed


When publishing one project within Win 2012 server, I've got this

Error 1 Web deployment task failed. (There was an error reading IIS configuration schema from 'C:\Windows\system32\inetsrv\config\schema\'.) 0 0 Start

Why? Please see the screenshot attached for what I do to publish it.
Avatar of becraig
Flag of United States of America image

Can you verify you are running VS as "administrator"

Also check the permissions on the schema folder
It is also said to be a known issue when using WS2012 with Windows 8 and IIS 8
Avatar of Peter Chan


Yes, I login as administrator. But I use VS2010 in Win 2012 server to publish the project.

Many Thanks & Best Regards,
Any help to this? Thanks
It seems to be the issue is with VS 2010 on the new OS.   I am talking to some of the VS guys to see if there is a hotfix
Any help? Thanks
Do you have SP1 for VS 2010 installed  ?
I did not specifically set up SP1. It is from the original VS 2010 setup.
The workarounds I heard would be
1. updating the SP
2. Changing the version of VS you are working with.

I am assuming upgrading the SP is easier.
How to upgrade the SP, if I still want to use VS 2010? Thanks.
My current version is
Microsoft Visual Studio 2010
Version 10.0.40219.1 SP1Rel
Microsoft .NET Framework
Version 4.5.50709 SP1Rel

Can you please tell me what the problem is for the above and you can see it is already SP1 above?
Avatar of becraig
Flag of United States of America image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Many thank Becraig. If I use VS 2012, must I set up "Windows Azure SDK for .NET"? I see this

is having the package for VS 2010. Can I apply it to VS 2012?
Here you go with the link for the SDK for both vs2010 and vs2012