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
2 个解决方案
#1
Under IIS7 this isn't really any different. Although user account is simply IUSR (or more accurately "NT AUTHORITY\IUSR") there is no machine name suffix.
在IIS7下,这并没有什么不同。虽然用户帐户只是IUSR(或更准确地说是“NT AUTHORITY \ IUSR”),但没有机器名称后缀。
#2
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 - 内部服务器错误”,您需要配置IE以提供更多详细信息而不是“友好”错误消息,或使用其他浏览器。
#1
Under IIS7 this isn't really any different. Although user account is simply IUSR (or more accurately "NT AUTHORITY\IUSR") there is no machine name suffix.
在IIS7下,这并没有什么不同。虽然用户帐户只是IUSR(或更准确地说是“NT AUTHORITY \ IUSR”),但没有机器名称后缀。
#2
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 - 内部服务器错误”,您需要配置IE以提供更多详细信息而不是“友好”错误消息,或使用其他浏览器。