连接到远程服务器时询问身份验证

连接到远程服务器时询问身份验证

问题描述:

我正在使用MySQL 2005作为数据库后端在ASP.NET中创建一个应用程序.某些页面仅限于访客.要访问这些页面,我要求使用表单"模式进行用户身份验证. br/> 但是,当我连接到远程服务器时,需要输入该服务器计算机的用户名和密码,然后只有我才能访问我的应用程序.
我应该如何预防呢?
请帮助我

I am creating an application in ASP.NET with MySQL 2005 as the database backend.There is certain pages that is restricted to a guest.To access these pages i''m asking for user Authentication using "Forms" mode.
However when i connect to the remote server i was required to enter username and password of that server machine and then only i can access my application.
How should i prevent this?
pls help me

您是否检查了远程计算机上的web.config以确保正在使用表单身份验证.
Have you checked the web.config on the remote machine to make sure forms auth is being used.


在托管后,在身份验证TAB中检查IIS:
集成Windows身份验证是否已禁用或启用?尝试禁用它.
Check in IIS after hosting, in Authentication TAB:
Is Integrated Windows Authentication disabled or enabled? Try disabling it.


我应该怎么做?
我在应用程序的web.config文件中进行了如下配置
< authentication mode =表单"></authentication>

我应该如何以及在哪里配置远程计算机的web.config文件?
how should i do that?
i have configure as follows in the web.config file of my application
<authentication mode="Forms"></authentication>

how and where should i configure the web.config file of a remote machine?