加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

关于引用了WebService的项目移植发布问题解决

发布时间:2020-12-17 02:33:59 所属栏目:安全 来源:网络整理
导读:? 项目中引用了webservice 后,发布,在本地预览通过,但发到服务器上就是一直不行。 ? 错误如下: Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details

?

项目中引用了webservice 后,发布,在本地预览通过,但发到服务器上就是一直不行。

?

错误如下:

Runtime Error

Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could,however,be viewed by browsers running on the local server machine.

?

?

首先我更新到服务器的文件包括 webservice? 生成的dll(App_WebReferences.dll和App_WebReferences.compiled), 还有 引用的页面前台和生成的dll, 还有 web.config

?

上面更新的文件应该没问题。

?

剩下就是服务的配置问题了。

?

最后查明是服务器防火墙的问题。

?

?

想解决办法的时候想到两种方法解决

?

1。是webservice在客户端调用

?

这种情况必须在调用webservice的时候 ,参数不包括用户名密码,否则不安全

?

2。服务器配置修改

?

这必须有专业服务器维护经验。我不太懂。呵呵。交给我们网管来处理了。

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读