如何解决Web配置文件中的错误... [英] How to resolve error from the web config file...

查看:129
本文介绍了如何解决Web配置文件中的错误...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好...

我已经将模拟用户名和密码添加到了Web配置文件中,然后它可以正常工作,但是现在却出现了错误.

我添加的代码是:

Hi guys...

I have added impersonation with username and password into the web config file before that it work fine but now it is giving error.

code which i have added is:

<authentication mode="Windows" />
    <identity impersonate="True" username="domainname\username" password="password"></identity> 
   <authorization>
        <allow users="*" />
    </authorization>


当我尝试从Visual Studio运行Web应用程序时,下面给出了错误消息.


Microsoft开发环境
---------------------------
尝试运行项目时出错:无法在Web服务器上开始调试.发送调试HTTP请求时发生服务器端错误.

确保服务器运行正常.通过执行Debug.Start Without Debugging来验证web.config中没有语法错误.您可能还想参考联机文档中的ASP.NET和ATL Server调试主题.



请帮忙解决此问题.


when i tried to run web application from visual studio, it''s giving error message below.


Microsoft Development Environment
---------------------------
Error while trying to run project: Unable to start debugging on the web server. Server side-error occurred on sending debug HTTP request.

Make sure the server is operating correctly. Verify there are no syntax errors in web.config by doing a Debug.Start Without Debugging. You may also want to refer to the ASP.NET and ATL Server debugging topic in the online documentation.



please help out to resolve this.

推荐答案

身份标记中存在语法错误,例如区分大小写,正确的用户名和密码


thanx为您提供帮助
There was some syntax error into the identity tag like case sensitivity, proper username and password


thanx for your help tooo


能否请您显示在web.config中添加的代码?
Can you please show the code which you have added in web.config?


这篇关于如何解决Web配置文件中的错误...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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