The URL for this project is in the Internet zone.Click Help for more information
1,在internet Explorer的“工具”菜單中,選擇“internet”選項
2,切換到“安全”選項卡
點擊"自定義級別" ,在底部。
向下滾動,找到"用戶驗證"一節。
選擇"自動登錄與當前的用戶名和密碼" 。
點擊" OK "兩次退出。
二),Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged
For ASP.NET projects, verify that you have a valid project file called 'Web.config' for the URL specified and 'debug' is set to 'true' in that file.
For ATL Server projects, verify that the 'DEBUG' verb is associated with your ISAPI extension.
Would you like to disable future attempts to debug ASP.NET pages for this project?
For ASP.NET projects, verify that you have a valid project file called 'Web.config' for the URL specified and 'debug' is set to 'true' in that file.
For ATL Server projects, verify that the 'DEBUG' verb is associated with your ISAPI extension.
Would you like to disable future attempts to debug ASP.NET pages for this project?
原因
出现此错误主要是因为下列原因: • ASP.NET 应用程序没有 Web.Config 文件。
• 在 Internet 服务管理器中,将当前项目文件夹的执行权限属性设置为无。
出现此错误主要是因为下列原因: • ASP.NET 应用程序没有 Web.Config 文件。
• 在 Internet 服务管理器中,将当前项目文件夹的执行权限属性设置为无。
解决方案
若要解决此问题,请根据您的具体环境,使用以下方法之一: • 如果项目没有 Web.config 文件,请将 Web.config 文件添加到包含该 ASP.NET 应用程序的目录中。如果是在 Visual Studio .NET 中工作,请在项目资源管理器中右键单击该项目,单击添加新项,然后单击 Web 配置文件。
• 如果项目已有 Web.config 文件,并且在 Web.config 文件的 <compilation> 部分中将 debug 属性设置为 true,请执行下列步骤来设置项目文件夹的执行权限属性: 1. 启动 Internet 服务管理器,然后单击要尝试进行调试的项目。
2. 右键单击该项目,然后单击属性。
3. 单击目录选项卡。
4. 如果在执行权限列表中选择了无,请单击“纯脚本”,然后单击应用。
若要解决此问题,请根据您的具体环境,使用以下方法之一: • 如果项目没有 Web.config 文件,请将 Web.config 文件添加到包含该 ASP.NET 应用程序的目录中。如果是在 Visual Studio .NET 中工作,请在项目资源管理器中右键单击该项目,单击添加新项,然后单击 Web 配置文件。
• 如果项目已有 Web.config 文件,并且在 Web.config 文件的 <compilation> 部分中将 debug 属性设置为 true,请执行下列步骤来设置项目文件夹的执行权限属性: 1. 启动 Internet 服务管理器,然后单击要尝试进行调试的项目。
2. 右键单击该项目,然后单击属性。
3. 单击目录选项卡。
4. 如果在执行权限列表中选择了无,请单击“纯脚本”,然后单击应用。
浙公网安备 33010602011771号