【发布时间】:2009-08-04 20:21:24
【问题描述】:
我的 Web 服务在正常托管时运行良好,在 Mono 中,我第一次尝试运行它时遇到 500 内部服务器错误。
知道为什么它不能正常工作吗?
远程服务器返回错误:(500) 内部服务器错误。 System.Web.Services.Protocols.SoapException:写入请求时出错。 在 MY_WebServices.My_Messages.DownloadNewMessages(System.String ID,System.String 用户名,System.String 密码)[0x00000] 在(包装器托管到本机) System.Reflection.MonoMethod:InternalInvoke (object,object[]) 在 System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder 绑定器,System.Object[] 参数, System.Globalization.CultureInfo 文化)[0x00000]
【问题讨论】:
-
请提供一些代码、平台和配置信息。
-
您应该启用和配置 apache mono 模块。我建议删除这个问题并在serverfault.com 上提问。我想你会更快得到帮助。
-
@Mehrdad - 对于这个问题,stackoverflow 是一个完全可以接受的地方。可能不是服务器配置问题。 JL 需要为我们提供更多信息才能得出这个结论。
-
@JL:请在此类帖子中添加
web-services标签,或者asmx。
标签: c# web-services mono asmx