Rank: Member
Joined: 3/7/2005(UTC) Posts: 60
|
I just upgraded my store to 5.4 from 5.3.2 and the images aren't loading. I've verified that the paths are correct. When I enter the image path into the browser, the store redirects me to the error page. When I step through the code, it appears as if the URLReWrite utility can't find the target (my table is empty) so it sends me to the error page. Does anyone know how to fix this?
Thanks Chuck |
Chuck Boyer, MCSD.NET Director of Production and Development
Edge Media, Inc. |
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
Chuck,
I would undo the 5.4 install and instead install 5.5.
Was your store customized at all?
|
|
|
|
Rank: Member
Joined: 3/7/2005(UTC) Posts: 60
|
Unfortunately we cannot support the .NET 3.5 requirement at this time per my email last evening. The only customizations on the store are skin related, there were no base functionality changes. As an additional note, the same behavior is evident in a default store install. |
Chuck Boyer, MCSD.NET Director of Production and Development
Edge Media, Inc. |
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
Are you using host headers are some other domain mapping stuff on your server?
|
|
|
|
Rank: Member
Joined: 3/7/2005(UTC) Posts: 60
|
this is currently in my development environment (http://localhost:xxxx) on vista. When I move the images from the /images/products directory to just the /images/ directory they render fine. I've noticed that the rewrite handler fires even when I just request the image so I'm wondering if it has something to do with IIS 7. I'm currently in the process of deploying it to our IIS 6 test server and will let you know what happens. I'm curious to see if it has to do with the httpmodule (i.e. why would the module be running for requests for jpegs?). |
Chuck Boyer, MCSD.NET Director of Production and Development
Edge Media, Inc. |
|
|
|
Rank: Member
Joined: 12/1/2008(UTC) Posts: 31
|
Chuck,
The default server that comes with visual studio doesn't go any more directories down with images. I have the same issue when I am developing. Install it to a test internal site not using the build-in server with visual studio and it will render the graphics fine.
I don't use my development server when I am doing theme work for that reason.
Dan
|
|
|
|
Rank: Member
Joined: 3/7/2005(UTC) Posts: 60
|
Thanks for the suggestion, but I'm actually using IIS 7, not the built in vs.net web server. |
Chuck Boyer, MCSD.NET Director of Production and Development
Edge Media, Inc. |
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
If you're running IIS7 and you haven't used the web.iis7.config file for your site then you MUST run in classic mode not integrated mode. Make sure you IIS7 app pool is running in classic mode OR switch to the web.iis7.config file.
|
|
|
|
Rank: Member
Joined: 3/7/2005(UTC) Posts: 60
|
This is definately related to IIS 7. On IIS 6 (our test and production server) we are not having this problem. |
Chuck Boyer, MCSD.NET Director of Production and Development
Edge Media, Inc. |
|
|
|
Rank: Member
Joined: 5/18/2005(UTC) Posts: 38
|
Hi, We are having the same issue with Product images (/images/products directory) not showing up and producing an error when typing in the URL explicitly. We have had this site running fine in 5.7.3 on IIS 6, but when we transferred (FTP) the files to a new Server 2008 IIS 7 server and did a restore database from the old site, everything works except the images (url rewriting). We have verified the IIS 7 web.config is used and are using the .NET 4 Integrated pipeline application pool.
We are not using any host headers, just an IP bound to the site. It is the same IP as the old server also.
Any ideas?
|
|
|
|
Rank: Member
Joined: 5/18/2005(UTC) Posts: 38
|
UPDATE: When I paste in the URL for the actual image file (/images/products/someproduct.png) it redirects me to /Error.aspx?type=product and displays on the web page "Error Finding Product" . It also produces this error when going to the root of the site. It only works when I explicitly type website.com/default.aspx, versus website.com
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
Older versions of BV Commerce had a bug in the URL rewriter that would pick up the /products part of /images/products and attempt to rewrite to a product page instead.
You should consider upgrading to a current service pack or moving your images out of /images/products into something like /images/prods
|
|
|
|
Rank: Member
Joined: 5/18/2005(UTC) Posts: 38
|
Marcus, The site has been using 5.7.3 on Windows Server 2003, IIS 6 and everything worked fine. We just copied the files and database over as-is to a Windows Server 2008, IIS 7 box using .NET 4 Integrated pipeline mode. Besides the image problem, when you go to the site www.website.com it displays the Error.aspx?type=Product page. If I go to www.website.com/default.aspx, then it loads the homepage, but still has issues with product images. I would like to address this without moving the images to a new directory. Thanks
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.