怎么布署Web Service?

Scott_Guo 2007-08-17 09:19:42
我把创建好的Web Service 在IIS上设定VD后.调用进有下面的错误,希望大家可以尽快帮我解答,谢谢.


Server Error in '/uniERP.NET' Application.
--------------------------------------------------------------------------------

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error:


Line 19: ASP.NET to identify an incoming user.
Line 20: -->
Line 21: <authentication mode="Windows" /> //p 提示这里有错误,该怎么修改呢?谢谢大家.
Line 22: <!--
Line 23: The <customErrors> section enables configuration


Source File: C:\uniERP.NET\unierp\app\webapp\services\mm\unierp.app.fl.mm.pm7g428\web.config Line: 21
...全文
291 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
gui0605 2007-08-20
  • 打赏
  • 举报
回复
权限不够
showmy 2007-08-18
  • 打赏
  • 举报
回复
mark 学习
flyinsky333 2007-08-17
  • 打赏
  • 举报
回复
看看这编文章: http://8g5djj6we67h6s8th46a.248886.com
foyuan 2007-08-17
  • 打赏
  • 举报
回复
没有权限

IIS里面设置 站点属性 看是不是应用程序 如果不是 创建一下

或者按照楼上
rtsp 2007-08-17
  • 打赏
  • 举报
回复
IIS的目录安全性-》集成windows验证勾起来看看

不然web.config改成Forms试试

12,162

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 Web Services
社区管理员
  • Web Services社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧