When I try to Manage the Basic Settings on the Site and click the "Test Settings" button, I see that I have a problem under "authorization:"

The server is configured to use pass-through authentication with a
built-in account to access the specified physical path. However,
IIS Manager cannot verify whether the built-in account has access.
Make sure that the application pool identity has Read access to the
physical path. If this server is joined to a domain, and the application
pool identity is NetworkService or LocalSystem, verify that
<domain>\<computer_name>$ has Read access to the physical path. Then
test these settings again.

Do I need to grant rights to IIS to the new folder? Which user? I thought it was something like IIS_USER or something similar but I cannot determine the correct name of the user.

Also, do I need to set the default version of the framework somewhere at the Default Site level or at the Virtual folder level? How is this done in IIS6? I am used to IIS5 or whatever came with XP Pro.

My original site had a subfolder under wwwroot called "aspnet_client." How was this created? I manually copied it to the corresponding new location. My app was using seperate ASP specific databases for storing session state and role info, if that is relevant.

2 Answers
2

Given the error message you're seeing, it looks like your site isn't running with .NET 4 (where the targetFramework attribute was introduced). Check the settings for your AppPool and make sure it's set for .NET 4.

Inspect the permissions on the original IIS web site root folder and you will see that the user group IIS_IUSRS is given all but Modify and Full Control rights. You'll see also that "Trusted Installer" is given access. I have no clue how to add this dude to the new folder rights.

To set the .NET version for the site or the web site, select the folder, click Advance Setting, click on App Pool and then select the appropriate .NET version.