I was recently working with developer in another company, and had sent him a project which he was going to update and maintain. The site was developed in VS 2005 using C#.net (with AJAX) and was working on my local development machine and in production.
He copied the project code onto his Windows XP computer and opened the project in VS 2008 and received a bunch of compile errors. The most notable error was "Could not load file or assembly 'System.Web.Extensions" we tracked the problem down to the project using AJAX .Net version 1.x with VS 2005. He fixed that problem and the site compiled, but when he went to play the project (run in debug), the site showed only the text, no images were visible.
We checked the images directory and it showed the proper file names, next we checked the CSS path and directory. It was OK - Several images were used as background images on the site, that is why we looked at the CSS directory. It turns out the problem was related to the access permissions.
The site used the dotNetSQL membership provider and <deny users="*"> </deny>was set in the authorization section of the web.config file. After the user logged in one expects the sub-directories to inherit the permission for that user. But they were not. Our workaround was to explicitly set the permission to allow all for those sub-directories.
The developer was using Windows XP and was not running IIS on his machine. Therefore they were relying on the web server from VS 2008. If anyone else runs across this issue I hope this helps solves the problem.
The Phone Stacking Game: Let’s Make This A Thing
7 hours ago

