我有一个asp.net MVC 4解决方案.当我尝试使用Visual Studio 2012打开它时,我收到以下错误:
Microsoft Visual Studio
https://localhost:为ASP.NET 4.5 配置Web 失败.您必须为ASP.NET 4.5手动配置此站点才能使站点正确运行.无法https://localhost:44300/在本地计算机上找到该服务器.确保已将本地IIS服务器配置为支持安全通信.好的帮助
虽然解决方案打开了.此外,当我尝试从调试菜单运行它时,我收到以下错误:
Unable to launch the IIS Express Web server.
The start URL specified is not valid. https://localhost:44300/
Run Code Online (Sandbox Code Playgroud)
我无法调试代码.如何从VS 2012中摆脱这些错误并调试/运行网站?
请建议.
我已经在 Windows Server 2016 机器上下载了PHP 7.4.1 NTS vc15 x86。我也下载安装了vc_redist.x86.exe。
当我尝试从命令提示符运行 php-cgi 时,出现以下错误:
PHP 警告:'vcruntime140.dll' 14.0 与第 0 行未知中与 14.16 链接的 PHP 版本不兼容
关于如何解决这个问题的任何想法?我想我可以从档案中安装旧版本的 PHP,但这并不能真正解决问题。
我正在使用xampp便携式服务器而我在Apache http服务器上遇到了一些问题,它说"ServerRoot必须是一个有效的目录"
命令行输出:
Please close this command only for Shutdown
Apache 2 is starting ...
httpd.exe: Syntax error on line 35 of K:/../../../xampp/apache/conf/httpd.conf: ServerRoot must be a valid directory
Apache could not be started
Run Code Online (Sandbox Code Playgroud)
我检查了xampp/apache/conf/httpd.conf的第35行,它是:
ServerRoot "/xampp/apache"
Run Code Online (Sandbox Code Playgroud)
哪个不存在.我的文件夹是:
K:/../../../xampp/apache/conf <- where the httpd.conf is
K:/../../../xampp/apache/ <- the server root
K:/../../../xampp/apache/modules <- where server modules are
Run Code Online (Sandbox Code Playgroud)
如果我改变(在第35行)
ServerRoot ".."
Run Code Online (Sandbox Code Playgroud)
它说:
Please close this command only for Shutdown
Apache 2 is starting ...
httpd.exe: Syntax error on line 65 of K:/../../../xampp/apache/conf/httpd.conf: Cannot …Run Code Online (Sandbox Code Playgroud) 我刚刚安装了XAMPP,一切正常,但我无法运行apache.似乎端口80是问题,我已禁用Skype使用端口80,但它似乎没有解决它.我读到某个地方SSL端口可能是问题,应该更改.但我无法弄清楚端口是或如何改变它.
"Check the "/xampp/apache/logs/error.log" file"
Run Code Online (Sandbox Code Playgroud)
我试图检查这个文件,但在"日志"里面没有任何东西.从apache我可以去错误,但没有最近更改的文件.
错误:
20:34:24 [Apache] Problem detected!
20:34:24 [Apache] Port 80 in use by "system"!
20:34:24 [Apache] Apache WILL NOT start without the configured ports free!
20:34:24 [Apache] You need to uninstall/disable/reconfigure the blocking application
20:34:24 [Apache] or reconfigure Apache to listen on a different port
20:40:50 [Apache] Attempting to start Apache app...
20:40:50 [Apache] Status change detected: running
20:40:51 [Apache] Status change detected: stopped
20:40:51 [Apache] Error: Apache shutdown unexpectedly.
20:40:51 [Apache] This may be …Run Code Online (Sandbox Code Playgroud) 我的电脑安装了IIS和我使用xampp没有问题.
但是当我安装SQL Server和Visual Studio时.我的阿帕奇无法启动.
我通过cmd检查一下

和

但我无法结束任务,因为它是禁用的.我怎样才能让我的阿帕奇感谢.
如何使用安全连接(SSL我)XAMPP?
打开本地主机页面时出现以下错误:
连接不安全
apache ×4
xampp ×3
iis ×2
php ×2
windows ×2
httpd.conf ×1
iis-express ×1
port ×1
ssl ×1
vcredist ×1