I made a successfull install of CS 2007 in Windows Server 2003 SP1. The site is in a virtual machine and it connects to a remote DB which is exposed on the internet. Now I want to take that site out of the VM and just run it in my Windows Vista (RTM) Ultimate machine on IIS7. I setup the Web Application in IIS7 and then copied all files from the virtual machine to the new virtual directory. Now, although the site runs with no exceptions, the problem is that I cannot see any of the images and the css files seem to have some problems, as the site loose all its styles. I suppose the problem is related to IIS7 and some setting I´m just missing.
What can I do to make my site run on Windows Vista?
Thanks,
Julio
I have asked someone on the team who uses Vista to respond. Hopefully he will get back to you shortly.
Thanks,Scott
Follow Me On Twitter
Most of my development is done from Vista using IIS7; infact http://blog.danbartels.com is running under IIS7 on a Longhorn server... I cant off the top of my head imagine why CSS and Images aren't showing... I would have to guess that its an application path issue (as in somehow those resources are pointing to the wrong path)...
The only key issue for IIS7, is you have to set up the application pool as a "classic application" cs is not compiled to run under IIS7's new "Integrated Pipeline" mode...
You should be able to run the site either under a new web site... or under the default web site, as an "Application".. (when you added CS under your vista IIS, you did make a new application in IIS right, not just used a directory under wwwroot, or a virtual directory...)
Hope that helps... if not, do a view source, and check the paths on the stylesheets and the missing images.
Dan
Thanks Dan. A friend from the IIS team just helped me to find the problem. Seems like there is an IIS 7 option called static file handler installer that you must install to be able to serve images and css files. Just enable it and now everything works fine.
Regards,
Is there any chance of getting a detailed fix for this? The link to IIS.net requires a log in and every username I choose to register with says taken. I've tried some pretty unique names. Anyway, I am having this problem and can't seem to resolve it.
You just have to install the static file handler in your Windows Vista machine:
You should be able to see your images and css files on your site.
Julio.
Thank you for the response. Unfortunately I found that it was already installed and I am still having problems.
dbruyere:Thank you for the response. Unfortunately I found that it was already installed and I am still having problems.
@dbruyere
I was having the same problem as you... I finally just started playing around with the security permissions set on the root folder of the site. I finally found that giving "Read & Execute" permission to the "IIS_WPG" user did the trick.
Hope that helps!
Chad
Hello Julio,
I have vista home and my IIS is installed but I still get an "Http error: 404.4" which says static file handler is not installed and later i followed ur steps to enable the check box for static content but I dont see 'static content' option under 'common http features'. What to do now?
Jack
If by vista home, you mean home basic, that option is not available for you - see http://www.iis.net/articles/view.aspx/IIS7/Deploy-an-IIS7-Server/Installing-IIS7/IIS7-Features-and-Windows-Vista-Editions for more information.
Community Server Documentation please rate articles you read
Nintendo Wiikly | My Blog
Similar think is happen on 2003 Enterprise Server SP2 for me. During post editing images are visible but on preview or after post they are invisible. Same files are working on my development PC withoud any problem. On the server folder permission is full for everyone.
I can't go live for this project please advise,
window2003 is not good.
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com