使用 Web 服务任务执行 SSIS 包时出错 [英] error while executing SSIS package with web service task
问题描述
描述:出现以下错误消息:Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException:Web 服务在方法执行过程中抛出错误.错误是:客户端发现响应内容类型为‘文本/html; charset=utf-8',但应为 'text/xml'.请求失败并显示错误消息:--IIS 7.5 详细错误 - 500.24 - 内部服务器错误
应用程序DEFAULT WEB SITE"中的服务器错误
Internet Information Services 7.5
Description: An error occurred with the following error message: "Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException: The Web Service threw an error during method execution. The error is: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'. The request failed with the error message: -- IIS 7.5 Detailed Error - 500.24 - Internal Server Error
Server Error in Application "DEFAULT WEB SITE"
Internet Information Services 7.5
推荐答案
像这样改变你的 web.config:
change your web.config like this:
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
</system.webServer>
这篇关于使用 Web 服务任务执行 SSIS 包时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!