在server2008R2的IIS7中调试asp程序遇到的错误
2010-06-12 11:03
483 查看
最近因为需要,把很久之前的一个asp程序拿回来调试,本以为IIS7这么高级的玩意肯定支持asp,没想到出现了以下问题:
按照以前的步骤设置新网站,设置端口,设置程序池,结果,打不开!
按照提示发现了这个页面:
http://learn.iis.net/page.aspx/559/running-classic-asp-applications-on-iis-70-and-iis-75/
Classic ASP Not Installed by Default on IIS 7.0 and IIS 7.5
Classic ASP Script Error Messages No Longer Shown in Web Browser by Default
Using Failed Request Tracing to troubleshoot Classic ASP errors
Classic ASP parent paths are disabled by default
Using Classic ASP with Microsoft Access Databases on IIS 7.0 and IIS 7.5
APPL_PHYSICAL_PATH Server Variable on Windows Vista RTM
看来直接在2008R2的IIS7里调试asp还需要一番设置。2008R2已经是纯64位了,因为要用到access数据库,首先要改程序池的这个地方:
刚才又查了一下,原来是微软没有出支持64位的oledb,IIS默认运行在64位下,因此不能连接到oledb数据库了。
On the taskbar, click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
In the Connections pane, click Application Pools.
Highlight the application pool for your application, then click Advanced Settings... in the Actions pane.
In the Advanced Settings dialog, specify True for Enable 32-Bit Applications.
Click OK to close the Advanced Settings dialog.
让他支持32位
然后打开程序,还是不行,IIS7里默认父路径也是关闭的,也需要打开,启用客户端调试
然后还是遇到那个经典的“操作必须使用一个可更新的查询”错误,这个应该就是数据库目录权限不够,但是已经添加了 IIS_IURS的权限啊。因为时间紧,只能给everyone添加写入权限了,这样应该不安全,但总算可以运行了。
按照以前的步骤设置新网站,设置端口,设置程序池,结果,打不开!
按照提示发现了这个页面:
http://learn.iis.net/page.aspx/559/running-classic-asp-applications-on-iis-70-and-iis-75/
Running Classic ASP Applications on IIS 7.0 and IIS 7.5
Classic ASP Applications on IIS 7.0 and IIS 7.5 OverviewClassic ASP Not Installed by Default on IIS 7.0 and IIS 7.5
Classic ASP Script Error Messages No Longer Shown in Web Browser by Default
Using Failed Request Tracing to troubleshoot Classic ASP errors
Classic ASP parent paths are disabled by default
Using Classic ASP with Microsoft Access Databases on IIS 7.0 and IIS 7.5
APPL_PHYSICAL_PATH Server Variable on Windows Vista RTM
看来直接在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 your applications in 32-bit mode. To do so, use the following steps:On the taskbar, click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
In the Connections pane, click Application Pools.
Highlight the application pool for your application, then click Advanced Settings... in the Actions pane.
In the Advanced Settings dialog, specify True for Enable 32-Bit Applications.
Click OK to close the Advanced Settings dialog.
让他支持32位
然后打开程序,还是不行,IIS7里默认父路径也是关闭的,也需要打开,启用客户端调试
然后还是遇到那个经典的“操作必须使用一个可更新的查询”错误,这个应该就是数据库目录权限不够,但是已经添加了 IIS_IURS的权限啊。因为时间紧,只能给everyone添加写入权限了,这样应该不安全,但总算可以运行了。
相关文章推荐
- 在server2008R2的IIS7中调试asp程序遇到的错误
- IIS7web服务器调试ASP.net程序遇到的一些故障的解决办法
- 调试ASP程序时,遇到程序运行错误时怎么查看具体错误位置呢?
- Windows server 2008 IIS 调试ASP 错误号:3706 提示 “未找到提供程序 该程序可能未正确安装”解决办法 .
- iis7 发布mvc3 遇到的HTTP错误 403.14-Forbidden Web 服务器被配置为不列出此目录的内容及Login on failed for "IIS APPPOOL\ASP.NET v4.0"问题
- 最近AndroidStudio遇到了好几次奇怪的问题,程序正确,调试就是运行错误
- Asp程序错误调试一例
- 调试web程序时,遇到服务器500错误,怎么办?
- 使用vs2010和iis7调试asp程序
- 500错误解决 调试ASP程序错误An error occurred on the server when processing the URL
- VS 2010 调试程序时,遇到错误直接跳出,不崩在错处
- asp.net程序编译调试时偶尔出现访问被拒绝的错误的解决方法
- WN7 上IIS7运行asp+access网站出现错误: ADODB.Connection 错误 '800a0e7a'未找到提供程序。该程序可能未正确安装
- asp.net程序编译调试时偶尔出现访问被拒绝的错误
- Windows IIS 调试ASP 错误号:3706 提示 “未找到提供程序 该程序可能未正确安装”解决办法
- 调试android程序遇到的一些错误
- win10系统IIS开启ASP程序错误信息怎么调试?
- asp.net程序编译调试时偶尔出现访问被拒绝的错误的解决方案
- Windows2003的IIS调试ASP程序的错误解决方案
- 在调试asp.net程序时,提示windows窗体身份验证错误怎么办