在IIS 7.0中发布Web服务时出错 [英] Error publishing a webservice in IIS 7.0

查看:86
本文介绍了在IIS 7.0中发布Web服务时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试在Vista IIS 7.0中发布我的Web服务时收到以下错误消息:

I get the following error message while trying to publish my webservice in Vista IIS 7.0:

描述:在为该请求提供服务所需的资源的编译过程中发生错误.请查看以下特定的错误详细信息并适当地修改源代码.编译器错误消息:CS0016:无法写入输出文件'c:\ Windows \ Microsoft.NET \ Framework64 \ v2.0.50727 \ Temporary ASP.NET Files \ helloworld \ a71cdc49 \ 1d988805 \ App_Web_defaultwsdlhelpgenerator.aspx.cdcab7d2.mchc3ynk.dll'-'拒绝访问. '

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.Compiler Error Message: CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\helloworld\a71cdc49\1d988805\App_Web_defaultwsdlhelpgenerator.aspx.cdcab7d2.mchc3ynk.dll' -- 'Access is denied. '

我该如何解决此问题?

推荐答案

尝试为%TEMP%文件夹(c:\ windows \ temp)授予对ASP.NET帐户(网络服务)的完全访问权限.

Try granting full access permissions to the ASP.NET account (Network Service) for the %TEMP% folder (c:\windows\temp).

这篇关于在IIS 7.0中发布Web服务时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆