我的网站没有app.config文件 [英] My web site has no app.config file

查看:89
本文介绍了我的网站没有app.config文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

hello
there is no

app.config file

中没有

my web site



是否有必要?

当我想在我的主机中使用网络服务时,我遇到这个错误:

.
is it necessary?
when i wants to use of a web service in my host, i face to this error:

An endpoint configuration section for contract 'name of my webservice' could not be loaded because more than one endpoint configuration for that contract was found. Please indicate the preferred endpoint configuration section by name.





谢谢



我尝试了什么:



i不能做任何事情。



帮助我



thanks

What I have tried:

i cant do any things.

help me

推荐答案

查看 web.config 文件而不是寻找 app.config


Web中存在服务配置设置(端点设置)。配置。

请仔细查看解决方案中的web.config是否错误。



欲了解更多信息,请阅读:使用配置文件配置服务Microsoft Docs [ ^ ]
Service configuration setting(endpoint setting) is present in web.config.
So kindly look into web.config in your solution for error.

For more information read: Configuring Services Using Configuration Files | Microsoft Docs[^]


这篇关于我的网站没有app.config文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆