Solved

Web deployment task failed

Posted on 2012-12-27
14
2,242 Views
Last Modified: 2014-11-12
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
0
Comment
Question by:HuaMinChen
  • 7
  • 7
14 Comments
 
LVL 29

Expert Comment

by:becraig
ID: 38726179
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
 
LVL 10

Author Comment

by:HuaMinChen
ID: 38726183
Yes, I login as administrator. But I use VS2010 in Win 2012 server to publish the project.

Many Thanks & Best Regards,
HuaMin
0
 
LVL 10

Author Comment

by:HuaMinChen
ID: 38728672
Any help to this? Thanks
0
 
LVL 29

Expert Comment

by:becraig
ID: 38728675
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
 
LVL 10

Author Comment

by:HuaMinChen
ID: 38735468
Any help? Thanks
0
 
LVL 29

Expert Comment

by:becraig
ID: 38736664
Do you have SP1 for VS 2010 installed  ?
0
 
LVL 10

Author Comment

by:HuaMinChen
ID: 38736682
I did not specifically set up SP1. It is from the original VS 2010 setup.
0
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
LVL 29

Expert Comment

by:becraig
ID: 38736711
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
 
LVL 10

Author Comment

by:HuaMinChen
ID: 38776998
How to upgrade the SP, if I still want to use VS 2010? Thanks.
0
 
LVL 29

Expert Comment

by:becraig
ID: 38777004
0
 
LVL 10

Author Comment

by:HuaMinChen
ID: 38777010
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
 
LVL 29

Accepted Solution

by:
becraig earned 500 total points
ID: 38777040
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
 
LVL 10

Author Comment

by:HuaMinChen
ID: 38795461
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
 
LVL 29

Expert Comment

by:becraig
ID: 38798991
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

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Determining unused mailboxes in Office 365 8 50
Microsoft Azure Powershell Message 5 12
Office 365 & Microsoft Azure 8 48
testing sql16 on win10 vs OS16 2 32
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

937 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now