简体   繁体   English

Server2008R2上的经典ASP + MS Access(IIS 7) - 读取但无法写入

[英]Classic ASP + MS Access on Server2008R2 (IIS 7) - read but can't write

I'm trying to get my Classic ASP application (works great on Server 2003/IIS 6) working on IIS 7. 我正在尝试在IIS 7上运行我的经典ASP应用程序(在Server 2003 / IIS 6上运行良好)。

I've done a zillion things recommended and finally got it actually pulling up the ASP front page that reads from a database. 我做了大量推荐的事情,最后得到了它实际上拉起从数据库中读取的ASP首页。

But when I try to write to the database, I get errors. 但是当我尝试写入数据库时​​,我会收到错误。 "Microsoft JET Database Engine error '80004005' Operation must use an updateable query." “Microsoft JET数据库引擎错误'80004005'操作必须使用可更新的查询。”

Note: In the application pool for this classic ASP site I created an identity of "app_pool_casemodo" and then gave [website folders], [database folder], windows\\temp, inetpub\\temp, and windows\\serviceprofiles\\networkservice\\AppData\\Local\\Temp all modify permissions for that user. 注意:在这个经典ASP站点的应用程序池中,我创建了一个“app_pool_casemodo”标识,然后提供了[网站文件夹],[数据库文件夹],windows \\ temp,inetpub \\ temp和windows \\ serviceprofiles \\ networkservice \\ AppData \\ Local \\ Temp全部修改该用户的权限。

I installed Microsoft's Process Monitor and it is telling me there is an issue with a user account "app_pool_casemodo" having sufficient read/write permissions in relation with this registry key: HKLM\\SOFTWARE\\Wow6432Node\\Microsoft\\Jet\\4.0\\Engines. 我安装了Microsoft的Process Monitor,它告诉我用户帐户“app_pool_casemodo”存在一个问题,该帐户具有与此注册表项相关的足够的读/写权限:HKLM \\ SOFTWARE \\ Wow6432Node \\ Microsoft \\ Jet \\ 4.0 \\ Engines。 So I used regedit and browsed to that key and made sure that account had plenty of permissions. 所以我使用了regedit并浏览了该密钥,并确保该帐户拥有足够的权限。

Tried using DSN and tried using just file pointing ODBC string and both exhibit read but no write issue. 尝试使用DSN并尝试仅使用文件指向ODBC字符串,两者都显示读取但没有写入问题。

Image of process monitor screen attached. 附加过程监视器屏幕的图像。 在此输入图像描述

Please help. 请帮忙。 I've been banging my head for many days on this stuff. 在这些东西上我已经敲打了很多天。 Feeling like I'm super close to a solution. 感觉就像我非常接近解决方案。

用户IUSR_ <MACHINENAME>是否拥有访问文件的权限?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM