试图在XAMPP安装asp.net [英] Trying to install asp.net on xampp

查看:806
本文介绍了试图在XAMPP安装asp.net的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试对我的XAMPP安装运行的aspx文件,但Apache服务器无法启动。

im trying to run aspx files on my xampp installation But the Apache Server doesn't Start.

我所做的:

安装一个干净的XAMPP。

Installed a clean Xampp.

Installted的mod_aspdotnet-2.2.0.2006-设置-r2.msi

Installted the mod_aspdotnet-2.2.0.2006-setup-r2.msi

改变了我的httpd.conf:

changed my httpd.conf:

#asp.net

LoadModule aspdotnet_module modules/mod_aspdotnet.so
AddHandler asp.net asax ascx ashx asmx aspx axd config cs csproj licx rem resources resx soap vb vbproj vsdisco webinfo 

<IfModule mod_aspdotnet.cpp> 
AspNetMount /SampleASP "C:\xamppASP\htdocs" 
Alias /SampleASP "C:\xamppASP\htdocs" 
<Directory "C:\xamppASP\htdocs"> 
    Options FollowSymlinks ExecCGI 
    Order allow,deny 
    Allow from all 
    DirectoryIndex index.htm index.aspx 
</Directory> 
AliasMatch /aspnet_client/system_web/(\d+)_(\d+)_(\d+)_(\d+)/(.*) "C:/Windows/Microsoft.NET/Framework/v$1.$2.$3/ASP.NETClientFiles/$4" 
<Directory "C:/Windows/Microsoft.NET/Framework/v*/ASP.NETClientFiles"> 
    Options FollowSymlinks 
    Order allow,deny 
    Allow from all 
</Directory> 
</IfModule>

#asp.net

在此步骤中服务器不会再启动。

After this steps the Server doesn't start anymore.

即使我只是运行:

LoadModule aspdotnet_module modules/mod_aspdotnet.so

服务器无法启动。

The Server doesn't start.

我已经选中文件夹C:\\ xamppASP \\阿帕奇\\模块
该文件存在。

I already checked the Folder C:\xamppASP\apache\modules The file exists.

我究竟做错了什么?

推荐答案

将不再启动的原因可能是因为你设置的目录不存在。

The reason it won't start anymore is probably because the directory you set doesn't exist.

C:/Windows/Microsoft.NET/Framework/v*/ASP.NETClientFiles

"C:/Windows/Microsoft.NET/Framework/v*/ASP.NETClientFiles"

我一直在努力去工作同样的事情,我发现我没有ASP.NETClientFiles,如果您​​删除您的更改将再次启动。

I have been trying to get the same thing to work and I found that I don't have ASP.NETClientFiles, if you remove your changes it will start again.

或者,如果你找出其中ASP.NETClientFIles来自并安装。然后,它会正常工作。

Or if you figure out where ASP.NETClientFIles comes from and install that. Then it will work.

这篇关于试图在XAMPP安装asp.net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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