CS 2007 Images and CSS Not Working in Windows Vista

rated by 0 users
This post has 11 Replies | 8 Followers

Top 500 Contributor
Posts 50
Points 910
Julio Casal Posted: Tue, Mar 6 2007 12:35 AM

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

  • | Post Points: 50
Top 25 Contributor
Posts 2,243
Points 44,805
CS Developers

I have asked someone on the team who uses Vista to respond. Hopefully he will get back to you shortly.

Thanks,
Scott

  • | Post Points: 5
Top 25 Contributor
Posts 1,160
Points 70,020
CS Developers

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

 

  • | Post Points: 20
Top 500 Contributor
Posts 50
Points 910

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,

Julio

  • | Post Points: 5
Top 75 Contributor
Posts 294
Points 4,195

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. 

  • | Post Points: 20
Top 500 Contributor
Posts 50
Points 910

You just have to install the static file handler in your Windows Vista machine:

  1. Go to Control Panel --> Programs and Features
  2. Click Turn Windows features on or off
  3. In the Windows Features dialog, enable the checkbox next to Internet Information Services --> World Wide Web Services --> Common Http Features --> Static Content
  4. Click OK

You should be able to see your images and css files on your site.

Julio.

  • | Post Points: 35
Top 75 Contributor
Posts 294
Points 4,195

Thank you for the response. Unfortunately I found that it was already installed and I am still having problems.

  • | Post Points: 20
Not Ranked
Posts 1
Points 5
leftend replied on Wed, Jun 20 2007 2:08 AM

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
 

  • | Post Points: 5
Not Ranked
Posts 1
Points 20
jdorson replied on Sat, Sep 22 2007 12:21 AM

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

  • | Post Points: 20
Top 10 Contributor
Posts 3,666
Points 55,410
TelligentSupportTeam

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

  • | Post Points: 20
Not Ranked
Posts 9
Points 135
cexx replied on Wed, Jan 2 2008 4:02 PM

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, 

 

  • | Post Points: 20
Not Ranked
Posts 3
Points 30

window2003 is not good.

  • | Post Points: 5
Page 1 of 1 (12 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com