500内部服务器错误解决办法
的有关信息介绍如下:500内部服务器错误解决办法,也许试过各种方法,均无效。
找到网站错误页
右键选中编辑功能设置
改为详细
出现错误之后,点击here进入了这个页面。Running Classic ASP Applications on IIS 7 and IIS 8
看来直接在2008R2的IIS7里调试asp还需要一番设置。2008R2已经是纯64位了,因为要用到access数据库,首先要改程序池的这个地方:
刚才又查了一下,原来是微软没有出支持64位的oledb,IIS默认运行在64位下,因此不能连接到oledb数据库了。
Working with 64-bit Systems
Unfortunately there are no 64-bit ODBC drivers, so on 64-bit systems you will have to run yourapplications in 32-bit mode. To do so, use the following steps:
On the taskbar, clickStart, point toAdministrative Tools, and then clickInternet Information Services (IIS) Manager.
In theConnectionspane, clickApplication Pools.
Highlight the application pool for your application, then clickAdvanced Settings...in theActionspane.
In theAdvanced Settingsdialog, specifyTrueforEnable 32-Bit Applications.
Click OK to close theAdvanced Settingsdialog.
选中ill7的ASP,打开功能,把图中框出的值改为true,启用父路径,支持32位。