Error publishing a webservice in IIS 7.0

允我心安 提交于 2020-01-03 03:51:12

问题


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

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. '

How could I resolve this issue?


回答1:


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



来源:https://stackoverflow.com/questions/2041032/error-publishing-a-webservice-in-iis-7-0

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!