简体   繁体   English

无法使用本地IIS服务器运行asp.net应用程序

[英]Can not run asp.net application using Local IIS Server

在此处输入图片说明

I can't debug my application using a local IIS server. 我无法使用本地IIS服务器调试应用程序。 However, when I change to IIS Express I can debug my application. 但是,当我更改为IIS Express时,可以调试应用程序。

I'm running Visual Studio as an administrator. 我以管理员身份运行Visual Studio。

使用调试/附加来处理您的vs并将其附加到w3wp.exe的所有实例

First thing you have to do is: 您要做的第一件事是:

register asp.net first to iis server like this; 首先将asp.net注册到iis服务器;

  1. run cmd as administrator. 以管理员身份运行cmd。 在此处输入图片说明

  2. in IIS >>> application pools >>> .net framework.. check your project framework here if the same of your project framework setting. 在IIS >>>应用程序池>>> .net框架中。如果您的项目框架设置相同,请在此处检查您的项目框架。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在本地IIS中运行asp.net应用程序 - How to run an asp.net application in local IIS 在Windows Azure和本地服务器上运行ASP.NET应用程序 - Run ASP.NET application in Windows Azure AND on a local server 在部署到IIS服务器的ASP.NET应用程序中使用Powershell - Using Powershell in an ASP.NET application deployed to an IIS server 我正在使用asp.net formview,当我在本地服务器上运行的IIS中托管asp.net应用程序时,日期格式会更改 - I am using asp.net formview ,Date format changes when i host asp.net application in IIS running on local server 使用本地计算机上的IIS8在Windows Server 2012上托管Asp.Net MVC 4应用程序 - Hosting an Asp.Net MVC 4 application on windows server 2012 with IIS8 from a Local Machine 如何在本地iis上部署asp.net Web应用程序? - How can I deploy an asp.net web application on my local iis? 无法从IIS(内部服务器500)使用Visual Studio 2015运行简单ASP.NET MVC应用程序 - Cannot run Simple ASP.NET MVC Application with Visual Studio 2015 from IIS (Internal Server 500) 为什么我的ASP.NET 5应用程序不能在IIS 7.5上运行? - Why does my ASP.NET 5 Application Not Run On IIS 7.5? 在 IIS 7 上的 ASP.NET MVC 4 应用程序中运行 PHP 文件? - Run PHP file inside ASP.NET MVC 4 application on IIS 7? ASP.NET IIS 应用程序 500 内部服务器错误 - ASP.NET IIS Application 500 Internal Server Error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM