help:为何我的webservice部署到服务器上就不能用了??

zhangrs 2003-08-20 11:35:41
在本机上没问题,远程访问也正常。
但是放到服务器上就不行了。服务器装了.net framework 1.1.
错误信息如下:
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 43: 它为成员站点提供单独登录和核心配置文件服务。
Line 44: -->
Line 45: <authentication mode="Windows" />
Line 46:
Line 47: <!-- 授权

好像是iis的设置问题,但是我改了还是不行,而且,在本机上也没有改iis呀
...全文
118 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
jackyhzzjcn 2003-09-02
  • 打赏
  • 举报
回复
将你的WEBSERVICE所在的目录设置为虚拟目录。
zhangrs 2003-08-26
  • 打赏
  • 举报
回复
up
meneter 2003-08-25
  • 打赏
  • 举报
回复
试试用IIS里设置Webservers的IP地址,不用127.0.0.1和localhost
zhangrs 2003-08-22
  • 打赏
  • 举报
回复
up
zhangrs 2003-08-22
  • 打赏
  • 举报
回复
up
zhangrs 2003-08-21
  • 打赏
  • 举报
回复
xiangzionest(祥子):当然有虚拟目录。
xiangzionest 2003-08-21
  • 打赏
  • 举报
回复
需要为你的WebService建立虚拟目录,你建立了吗?我的WebService部署到服务器上没有这个错误。
crodling 2003-08-20
  • 打赏
  • 举报
回复
你是配置成什么样的?打开iis管理看看目录的配置
zhangrs 2003-08-20
  • 打赏
  • 举报
回复
难道没有人知道吗?????????
zhangrs 2003-08-20
  • 打赏
  • 举报
回复
配置错误
说明: 在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定错误详细信息并适当地修改配置文件。

分析器错误信息: 在应用程序级别以外使用注册为 allowDefinition='MachineToApplication' 的节是错误的。导致该错误的原因可能是在 IIS 中没有将虚拟目录作为应用程序进行配置。

源错误:


行 43: 它为成员站点提供单独登录和核心配置文件服务。
行 44: -->
行 45: <authentication mode="Windows" />
行 46:
行 47: <!-- 授权

12,163

社区成员

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

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