ASP Access database website on Windows 2008 Server running IIS 7

I am upgrading my server to Windows 2008 Server from IIS 6 running Windows 2003.

I'm not sure what permissions and what account are required to access an Access database.

On Windows 2003 I gave IUSR account permission, what is the equivalent on Windows 2008?

The database is not located in the website folder.

I am getting 500 internal server error.

thanks

+1


a source to share


2 answers


In IIS7, this is not entirely true. Although the user account is just IUSR (or more accurately NT AUTHORITY \ IUSR), there is no machine name suffix.



0


a source


You can use this little ASP snippet to view the anonymous username:

<% 
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 provide you with more details instead of a "friendly" error message or use a different browser.

0


a source







All Articles