------------------------------------------------------------------------------------------------------------Microsoft JET Database Engine error '80004005' Unspecified error -------------------------------------------------------------------------------------------------------------------回答很简单: 关闭 loadUserProfile, 或者设置 temp directory 的访问权限以允许写操作. 这一 问题和其它兼容性问题导致, 我们考虑在 Longhorn Server / Vista SP1 中取消这一变化. 不过现在, 您可以在下列措施中任选一项: 这个 appcmd 指令将为缺省应用程序池关闭 loadUserProfile. 假如您的程序运行于不同的 应用程序池(AppPool), 就相应改动一下: %windir%\system32\inetsrv\appcmd set config /[name='DefaultAppPool'].processModel.loadUserProfile
:false -section:applicationPools
这条命令将把网络服务的临时目录权限改为可读可写。如果你是以另一个身份来运行程序, 那么你还需要将那个身份的临时目录权限给打开: icacls %windir%\serviceprofiles\networkservice\AppData\Local\Temp Users:(CI)(S,WD,AD,X) icacls %windir%\serviceprofiles\networkservice\AppData\Local\Temp OWNER":(OI)(CI)(IO)(F) 脚本错误默认为不在浏览器中显示了 作为安全策略的一部分,我们关闭了 ASP 的自动在浏览器中显示脚本错误的提示。也就是 说一般用户将不会再看到你的语句到底是哪一行出了差错。取而代之的是这个错误提示: -------------------------------------------------------------------------------------------------------------------/grant /grant
"CREATOR
An error occurred on the server when processing the URL. Please contact the system administrator -------------------------------------------------------------------------------------------------------------------要想恢复到 IIS6 的状态也很容易,运行下面命令即可: %windir%\system32\inetsrv\appcmd set config -section:asp -scriptErrorSentToBrowser:true 或者你可以在窗口界面中找到以下这个选项: 之后你就能看到这样的错误提示信息了: -------------------------------------------------------------------------------------------------------------------Microsoft VBScript compilation error '800a03ea' Syntax error /test.asp, line 4 Response.Write("I love classic ASP" &;&; foo) -------------------------------------^ -------------------------------------------------------------------------------------------------------------------父目录默认是不能访问的 在 IIS6 中我们默认屏蔽了父目录的访问,但是一些从 XP 升级到 Vista 的用户显然遇到了麻 烦。因为在 IIS5.1 中,父目录默认是可以访问的。所以如果你使用了../../../includeFile.inc 这 样的路径,你就会得到这样的错误提示: -------------------------------------------------------------------------------------------------------------------Active Server Pages error 'ASP 0131' Disallowed Parent Pat