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
LVL 12
HuaMin ChenProblem resolverAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

becraigCommented:
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
0
HuaMin ChenProblem resolverAuthor Commented:
Yes, I login as administrator. But I use VS2010 in Win 2012 server to publish the project.

Many Thanks & Best Regards,
HuaMin
0
HuaMin ChenProblem resolverAuthor Commented:
Any help to this? Thanks
0
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

becraigCommented:
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
0
HuaMin ChenProblem resolverAuthor Commented:
Any help? Thanks
0
becraigCommented:
Do you have SP1 for VS 2010 installed  ?
0
HuaMin ChenProblem resolverAuthor Commented:
I did not specifically set up SP1. It is from the original VS 2010 setup.
0
becraigCommented:
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.
0
HuaMin ChenProblem resolverAuthor Commented:
How to upgrade the SP, if I still want to use VS 2010? Thanks.
0
becraigCommented:
0
HuaMin ChenProblem resolverAuthor Commented:
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?
0
becraigCommented:
Reposted from:
http://support.microsoft.com/kb/2735834

Issue 1
Symptoms

When you try to publish a website or a Web application to http://localhost by using Internet Information Services (IIS) settings in Visual Studio 2010 on a computer that is running Windows 8, you receive an error message that resembles the following:
There was an error reading IIS configuration schema from "C:\Windows\system32\inetsrv\config\schema\"

Note This problem does not occur when you publish the website or the Web application without using IIS settings.

Workaround

To work around this issue, use one of the following methods:

    Use Microsoft Visual Studio 2012 to publish the website or the Web application.
    Use the latest Windows Azure SDK for .NET (Visual Studio 2010 SP1) to publish the website or the Web application. Windows Azure SDK for .NET provides an updated Web publish experience, and will not cause this problem. The following file is available for download from the Microsoft Download Center:
    Download
http://go.microsoft.com/fwlink/?LinkID=254269
    Download the Windows Azure SDK for .NET (VS 2010 SP1) package now.
    For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:
    119591 How to obtain Microsoft support files from online services
    Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
HuaMin ChenProblem resolverAuthor Commented:
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?
0
becraigCommented:
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
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.