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

asked on

Web deployment task failed

Hi,

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.
t285.png
Avatar of becraig
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

http://support.microsoft.com/kb/2735834/en-us?fr=1
Avatar of Peter Chan

ASKER

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

Many Thanks & Best Regards,
HuaMin
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?
ASKER CERTIFIED SOLUTION
Avatar of becraig
becraig
Flag of United States of America image

Link to home
membership
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
http://go.microsoft.com/fwlink/?LinkID=254269

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

http://www.microsoft.com/en-us/download/details.aspx?id=29988