IIS 8.0详细的500.0内部服务器错误-找不到IsapiModule [英] IIS 8.0 Detailed 500.0 Internal Server Error - IsapiModule Not Found
问题描述
我正在一个最初基于Visual Studio的早期版本(2013年之前)构建的项目,但遇到了错误.我已经在Google和stackoverflow上进行了搜索,包括以下资源:
-
这是错误页面本身:
如您所见,它引发
500.0-内部服务器错误
,声称找不到指定的模块.
所引用的模块是IsapiModule
.我已经读过我需要确保Isapi.dll的位置,但是我不知道该怎么做.我确保我请求的页面在正确的项目目录中.当我尝试导航到本地和生产服务器上的大多数站点链接时,会发生此内部服务器错误.我正在使用.NET 4.0框架.
如果需要其他信息,请告诉我.我试图尽可能透明.
谢谢.
解决方案我的错误的解决方法如下:
-
我的项目目录被列出在网络驱动器上,而不是本地C驱动器上.
-
.asp处理程序已映射到32位.dll(C:\ Windows \ Sys32 \ inetsrv \ asp.dll)而不是64位.dll(C:\ Windows \ SysWOW64 \ inetsrv\ asp.dll)
在移动了项目并调整了处理程序指向的位置之后,我现在可以继续遍历源代码中的所有其他错误.:)
有时候它很简单.
I am working on a project that was originally built on a previous version on Visual Studio (pre-2013) and I am running into an error. I have searched and searched on google and stackoverflow including these resources:
- IIS 7.5 Detailed Error 500.0 - Internal Server Error occurred after enabling ServersideInclude with Windows 7 IIS 8 Express
- HTTP Error 500.0 – Internal Server error when you open an IIS 7.0 Webpage
- The HTTP status code in IIS 7.0, IIS 7.5, and IIS 8.0
The second and third links are even from Microsoft's error article!
Anyways, I have checked out a repository and opened the project in my Visual Studio 2013 that runs IIS 8.0 express. When I try and navigate to a page that is hosted on the production instance, it loads just fine. When I load it from the local instance, I get a
HTTP Error 500.0 - Internal Server Error
.Here is the request summary of the error:
And here is the error page itself:
As you can see, it throws a
500.0 - Internal Server Error
claiming thatThe specified module could not be found.
The module it is referring to is theIsapiModule
. I have read that I need to ensure the location of the Isapi.dll, but I do not know how to go about this. I have ensured that the pages I've requested are in the correct project directory. This internal server error happens when I try and navigate to most of the site's links, both locally and on the production server.I am running with .NET 4.0 framework.
Please let me know if additional information is required. I have tried to be as transparent as possible.
Thanks.
解决方案The resolution to my errors were as follows:
My project directory was listed on a network drive instead of the local C drive.
The .asp handler was mapped to a 32-bit .dll (C:\Windows\Sys32\inetsrv\asp.dll) instead of the 64-bit .dll (C:\Windows\SysWOW64\inetsrv\asp.dll)
After moving the project and adjusting where the handler pointed, I am now able to continue threading through all the other bugs of my source code. :)
Sometimes its the simple things.
这篇关于IIS 8.0详细的500.0内部服务器错误-找不到IsapiModule的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
-