IIS7 ASP Setting support 32 bit application,error number=3704

最近发现IIS7跑ASP的时候还发生不少问题。列举下:

1. 父级目录不能使用相对路径


-->

2. 64bit OS 执行 ASP + Access系统,提示Operation is not allowed when the object is closed

-->



We've been moving some Classic ASP code to 64 bit Windows 2008. Here are some things we did or discovered along the way:

  • Start off by hosting the application in a 'Classic' pipeline mode application pool. Once things are running just fine you can switch to 'Integrated Mode' should you need to leverage the features it offers at a later date.

  • If your ASP application consumes any 32 bit third party or in-house components you will need to configure the application pool to run in 32 bit mode. 32 bit DLL's won't load into a 64 bit process. You can configure this in the Advanced Settings of an application pool. Set Enable 32-Bit Applicationsto True.

  • To force detailed error reporting by Classic ASP, open the ASP 'feature' page for the website then expand the Debugging Properties node. Set Send Errors To Browser to True.

  • If your application uses parent paths you'll need to configure this in the ASP settings 'feature' page (same one as above). The setting is under the Behaviour node and is named Enable Parent Paths. The default setting is False just as with IIS6.

  • The default anonymous account in IIS7 is called IUSR. You can change this by opening the Authentication settings 'feature' page for the website and editing the Anonymous Authenticationsetting.

  • Prefer to use Application Pool Identities for both the Application Pool and site Anonymous account:Application Pool Identities

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值