Avatar of Peter Chan
Peter Chan
Flag 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
Microsoft IIS Web Server.NET ProgrammingWeb ServersAzure

Avatar of undefined
Last Comment
becraig

8/22/2022 - Mon
becraig

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
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
Peter Chan

ASKER
Any help to this? Thanks
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
becraig

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
Peter Chan

ASKER
Any help? Thanks
becraig

Do you have SP1 for VS 2010 installed  ?
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Peter Chan

ASKER
I did not specifically set up SP1. It is from the original VS 2010 setup.
becraig

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.
Peter Chan

ASKER
How to upgrade the SP, if I still want to use VS 2010? Thanks.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
becraig

Peter Chan

ASKER
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
becraig

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Peter Chan

ASKER
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?
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
becraig

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