CS 2007 Images and CSS Not Working in Windows Vista

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

Julio Casal
Top 500 Contributor
Posts 50
Points 910
By: 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 |
Scott Watermasysk
Top 25 Contributor
Posts 2,227
Points 44,405
CS Developers
By: Scott Watermasysk
Posted: Wed, Mar 7 2007 9:09 AM In reply to

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 |
DanBartels
Top 25 Contributor
Posts 1,154
Points 69,760
CS Developers
By: DanBartels
Posted: Wed, Mar 7 2007 9:22 AM In reply to

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 |
Julio Casal
Top 500 Contributor
Posts 50
Points 910
By: Julio Casal
Posted: Thu, Mar 8 2007 11:17 PM In reply to

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 |
NorthlandSticks
Top 75 Contributor
Posts 273
Points 3,895
By: NorthlandSticks
Posted: Tue, May 29 2007 3:13 PM In reply to

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 |
Julio Casal
Top 500 Contributor
Posts 50
Points 910
By: Julio Casal
Posted: Wed, May 30 2007 12:14 AM In reply to

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 |
NorthlandSticks
Top 75 Contributor
Posts 273
Points 3,895
By: NorthlandSticks
Posted: Wed, May 30 2007 12:48 AM In reply to

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

 
  • Post Points: 20 |
leftend
Not Ranked
Posts 1
Points 5
By: leftend
Posted: Wed, Jun 20 2007 2:08 AM In reply to

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 |
jdorson
Not Ranked
Posts 1
Points 20
By: jdorson
Posted: Sat, Sep 22 2007 12:21 AM In reply to

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 |
afscrome
Top 10 Contributor
Posts 2,728
Points 40,180
TelligentSupportTeam
By: afscrome
Posted: Sat, Sep 22 2007 6:43 PM In reply to

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.

 
  • Post Points: 20 |
cexx
Not Ranked
Posts 9
Points 135
By: cexx
Posted: Wed, Jan 2 2008 4:02 PM In reply to

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 |
crystalbeads
Not Ranked
Posts 3
Points 30
By: crystalbeads
Posted: Mon, Jan 14 2008 7:06 AM In reply to

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