[英]ASP Access Database web site on Windows 2008 Server running IIS 7
I am upgrading my server to Windows 2008 Server from IIS 6 running Windows 2003. 我正在将服务器从运行Windows 2003的IIS 6升级到Windows 2008 Server。
I am not sure what permissions and what account is needed to access the Access database. 我不确定访问Access数据库需要什么权限和帐户。
In Windows 2003 I had given Write permission to the IUSR account, what it the equivalent in Windows 2008? 在Windows 2003中,我已授予IUSR帐户“写”权限,在Windows 2008中等效吗?
The database is not in the web site folder. 该数据库不在网站文件夹中。
I am getting a 500 - Internal server error. 我收到500-内部服务器错误。
Thanks 谢谢
You can use this little snippet of ASP to see what the anonymous user's name is: 您可以使用此ASP小片段来查看匿名用户的名称是什么:
<%
Response.Write Request.ServerVariables("LOGON_USER")
' or
Response.Write Request.ServerVariables("AUTH_USER")
%>
Also, if all you see is "500 - Internal Server Error" you need to configure IE to give you more details instead of the "friendly" error message, or use another browser. 另外,如果您看到的只是“ 500-Internal Server Error”,则需要配置IE以提供更多详细信息,而不是“ friendly”错误消息,或者使用其他浏览器。
Under IIS7 this isn't really any different. 在IIS7下,这实际上没有什么不同。 Although user account is simply IUSR (or more accurately "NT AUTHORITY\\IUSR") there is no machine name suffix.
尽管用户帐户只是IUSR(或更准确地说是“ NT AUTHORITY \\ IUSR”),但没有计算机名称后缀。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.