I have copied over my site from another server ( Folders containing the site ) and when i use them on my new server (2008) i get a login dialog when i try to access pages that have their aspx page located in a subfolder. If i use the login dialog and login with a valid account on that server, IIS will give me a 404 error ( File is physically there on my server).
My first thought was this was NTFS rights issue, but it does not seem to be the case. I have set owner to administrators group, and i have also tried giving the everyone group full control with the same result.
All the aspx pages in the root folder function as needed.
Are you sure you've covered all of the permissions? It sounds as though the IIS account (usually IUSR_xxxxxxx) doesn't have read permissions to those sub-folders.
Try and do it again using the IIS migration tool, if you can. you'll find it for free at downloads.microsoft.com. We successfully use this to migrate HUGE amounts of data AND iis settings for fairly big and complex websites. You could also robocopy the files and use the IIS Migration Tool for migration IIS Settings.
If you want to do it manually, you'll just have to compare NTFS and IIS settings between the old and the new site.
Also check any possible ISAPI filters and/or .Net versions to make sure everything is the same on old and new box.
The problem got away, but i dont understand why. Or after i published the website via VS ( Debug mode if that mathers ) to the IIS folder. After that everything worked perfectly. Il leave the Question open for a while longer, if someone can actualy explain what happen il accept that as their reply