473,396 Members | 1,961 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

strange problem

EMW
On my pc on which I created my aspx files, my site works fine.
I use IIS5 and is does everything I want it to do.

I moved my site to the networkserver (it's a intranet site) and then
something strange happens.

On my photo page, I show a few pictures that are found in a certain folder.
But instead of seeing my pictures, I see only the placeholders with a little
icon in the left-upper corner with a red cross in it.
I know it finds the files, because if I change the filepath in the apsx
file, I get a message telling me the file cannot be found.

But why are my pictures not normaly visible?
If I go to them via an URL, I can see them in my explorer.

Because there is a list created, before the pictures are shown, I can see
that all my picture - filenames are put in that list, so the program does
find them.
it just isn't showing them.

Please advise?

rg,
Eric
Nov 18 '05 #1
5 1132
Is it possible that your browser or a proxy server has cached a non-existent
version of the images? Make sure IE is set to get a new page every time.

I worked at a place where the system cached pages so aggressively that it
was almost impossible to tell if a problem had been fixed.

When you right-click on the missing image to check the properties, does it
give a clue as to where the server "thinks" the image is located?

Ken
"EMW" <SomeOne@MicroSoftdotCom> wrote in message
news:40**********************@dreader2.news.tiscal i.nl...
On my pc on which I created my aspx files, my site works fine.
I use IIS5 and is does everything I want it to do.

I moved my site to the networkserver (it's a intranet site) and then
something strange happens.

On my photo page, I show a few pictures that are found in a certain
folder.
But instead of seeing my pictures, I see only the placeholders with a
little
icon in the left-upper corner with a red cross in it.
I know it finds the files, because if I change the filepath in the apsx
file, I get a message telling me the file cannot be found.

But why are my pictures not normaly visible?
If I go to them via an URL, I can see them in my explorer.

Because there is a list created, before the pictures are shown, I can see
that all my picture - filenames are put in that list, so the program does
find them.
it just isn't showing them.

Please advise?

rg,
Eric


Nov 18 '05 #2
EMW
Yes, it gives the full path of where the images are located.
If I change this path a little, knowing it would never find the images, it
doesn't find them and I get an error.

I have one pulldown listbox and a datagrid on my page.
The images are in a subfolder of the folder "Fotos" and the subfoldernames
are shown in the listbox.
Then the user can select one and the datagrid becomes visible with the
images from that folder.

I works fine on my own PC when running it in VS.NET or when I go to the page
as a user and not as developer.

What could this be?

rg,
Eric

"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> schreef in bericht
news:Ov**************@TK2MSFTNGP09.phx.gbl...
Is it possible that your browser or a proxy server has cached a non-existent version of the images? Make sure IE is set to get a new page every time.

I worked at a place where the system cached pages so aggressively that it
was almost impossible to tell if a problem had been fixed.

When you right-click on the missing image to check the properties, does it
give a clue as to where the server "thinks" the image is located?

Ken
"EMW" <SomeOne@MicroSoftdotCom> wrote in message
news:40**********************@dreader2.news.tiscal i.nl...
On my pc on which I created my aspx files, my site works fine.
I use IIS5 and is does everything I want it to do.

I moved my site to the networkserver (it's a intranet site) and then
something strange happens.

On my photo page, I show a few pictures that are found in a certain
folder.
But instead of seeing my pictures, I see only the placeholders with a
little
icon in the left-upper corner with a red cross in it.
I know it finds the files, because if I change the filepath in the apsx
file, I get a message telling me the file cannot be found.

But why are my pictures not normaly visible?
If I go to them via an URL, I can see them in my explorer.

Because there is a list created, before the pictures are shown, I can see that all my picture - filenames are put in that list, so the program does find them.
it just isn't showing them.

Please advise?

rg,
Eric

Nov 18 '05 #3
EMW
btw. I use the physical path of the application to locate the images and
pass this on to every image.

ie.: img.imageurl = "d:\inetpub\wwwroot\........\image.jpg"

There is a few folders in the dotted space, but I didn't want to write them
all...

If I call an image in IE with http:// etc. then it shows the image.

I'm puzzeled...

rg,
Eric

"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> schreef in bericht
news:Ov**************@TK2MSFTNGP09.phx.gbl...
Is it possible that your browser or a proxy server has cached a non-existent version of the images? Make sure IE is set to get a new page every time.

I worked at a place where the system cached pages so aggressively that it
was almost impossible to tell if a problem had been fixed.

When you right-click on the missing image to check the properties, does it
give a clue as to where the server "thinks" the image is located?

Ken
"EMW" <SomeOne@MicroSoftdotCom> wrote in message
news:40**********************@dreader2.news.tiscal i.nl...
On my pc on which I created my aspx files, my site works fine.
I use IIS5 and is does everything I want it to do.

I moved my site to the networkserver (it's a intranet site) and then
something strange happens.

On my photo page, I show a few pictures that are found in a certain
folder.
But instead of seeing my pictures, I see only the placeholders with a
little
icon in the left-upper corner with a red cross in it.
I know it finds the files, because if I change the filepath in the apsx
file, I get a message telling me the file cannot be found.

But why are my pictures not normaly visible?
If I go to them via an URL, I can see them in my explorer.

Because there is a list created, before the pictures are shown, I can see that all my picture - filenames are put in that list, so the program does find them.
it just isn't showing them.

Please advise?

rg,
Eric

Nov 18 '05 #4
You can't use a physical path like that because the browser will look on the
local machine for the image. You have to use a relative path.

That's where your problem lies. You can't use the file system path that way.

Ken

"EMW" <SomeOne@MicroSoftdotCom> wrote in message
news:40**********************@dreader2.news.tiscal i.nl...
btw. I use the physical path of the application to locate the images and
pass this on to every image.

ie.: img.imageurl = "d:\inetpub\wwwroot\........\image.jpg"

There is a few folders in the dotted space, but I didn't want to write
them
all...

If I call an image in IE with http:// etc. then it shows the image.

I'm puzzeled...

rg,
Eric

"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> schreef in bericht
news:Ov**************@TK2MSFTNGP09.phx.gbl...
Is it possible that your browser or a proxy server has cached a

non-existent
version of the images? Make sure IE is set to get a new page every time.

I worked at a place where the system cached pages so aggressively that it
was almost impossible to tell if a problem had been fixed.

When you right-click on the missing image to check the properties, does
it
give a clue as to where the server "thinks" the image is located?

Ken
"EMW" <SomeOne@MicroSoftdotCom> wrote in message
news:40**********************@dreader2.news.tiscal i.nl...
> On my pc on which I created my aspx files, my site works fine.
> I use IIS5 and is does everything I want it to do.
>
> I moved my site to the networkserver (it's a intranet site) and then
> something strange happens.
>
> On my photo page, I show a few pictures that are found in a certain
> folder.
> But instead of seeing my pictures, I see only the placeholders with a
> little
> icon in the left-upper corner with a red cross in it.
> I know it finds the files, because if I change the filepath in the apsx
> file, I get a message telling me the file cannot be found.
>
> But why are my pictures not normaly visible?
> If I go to them via an URL, I can see them in my explorer.
>
> Because there is a list created, before the pictures are shown, I can see > that all my picture - filenames are put in that list, so the program does > find them.
> it just isn't showing them.
>
> Please advise?
>
> rg,
> Eric
>
>



Nov 18 '05 #5
EMW
Finally solved it. This page helped:
http://west-wind.com/weblog/posts/269.aspx

for the imageurl I needed to use "~/fotos/image1.jpg".

thanks!
Eric
"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> schreef in bericht
news:ui**************@TK2MSFTNGP12.phx.gbl...
You can't use a physical path like that because the browser will look on the local machine for the image. You have to use a relative path.

That's where your problem lies. You can't use the file system path that way.
Ken

"EMW" <SomeOne@MicroSoftdotCom> wrote in message
news:40**********************@dreader2.news.tiscal i.nl...
btw. I use the physical path of the application to locate the images and
pass this on to every image.

ie.: img.imageurl = "d:\inetpub\wwwroot\........\image.jpg"

There is a few folders in the dotted space, but I didn't want to write
them
all...

If I call an image in IE with http:// etc. then it shows the image.

I'm puzzeled...

rg,
Eric

"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> schreef in bericht news:Ov**************@TK2MSFTNGP09.phx.gbl...
Is it possible that your browser or a proxy server has cached a

non-existent
version of the images? Make sure IE is set to get a new page every time.
I worked at a place where the system cached pages so aggressively that it was almost impossible to tell if a problem had been fixed.

When you right-click on the missing image to check the properties, does
it
give a clue as to where the server "thinks" the image is located?

Ken
"EMW" <SomeOne@MicroSoftdotCom> wrote in message
news:40**********************@dreader2.news.tiscal i.nl...
> On my pc on which I created my aspx files, my site works fine.
> I use IIS5 and is does everything I want it to do.
>
> I moved my site to the networkserver (it's a intranet site) and then
> something strange happens.
>
> On my photo page, I show a few pictures that are found in a certain
> folder.
> But instead of seeing my pictures, I see only the placeholders with a
> little
> icon in the left-upper corner with a red cross in it.
> I know it finds the files, because if I change the filepath in the apsx > file, I get a message telling me the file cannot be found.
>
> But why are my pictures not normaly visible?
> If I go to them via an URL, I can see them in my explorer.
>
> Because there is a list created, before the pictures are shown, I can

see
> that all my picture - filenames are put in that list, so the program

does
> find them.
> it just isn't showing them.
>
> Please advise?
>
> rg,
> Eric
>
>


Nov 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Rob Ristroph | last post by:
Hi, It's pretty unhelpful to post "I have a huge piece of code that crashes in strange places, what's the problem?" but that's basically my problem and I really am at my wit's end. The piece...
2
by: Paul Drummond | last post by:
Hi all, I am developing software for Linux Redhat9 and I have noticed some very strange behaviour when throwing exceptions within a shared library. All our exceptions are derived from...
25
by: Neil Ginsberg | last post by:
I have a strange situation with my Access 2000 database. I have code in the database which has worked fine for years, and now all of a sudden doesn't work fine on one or two of my client's...
2
by: TB | last post by:
I am seeing a very strange problem as follows... I have a loop where a fair amount of processing is going on and near the top of the loop I access a class that has only static helper functions...
1
by: Sam Kong | last post by:
Hello! Recently I had a strange problem with Visual C# 2005 beta 1. When I ran(F5 key) a program, <#if DEBUG> statement was not working. It ran as RELEASE mode. So I had to manually define...
8
by: Spam Trap | last post by:
I am getting strange resizing problems when using an inherited form. Controls are moving themselves seemingly randomly, but reproducibly. "frmBase" is my base class (a windows form), and...
11
by: Martin Joergensen | last post by:
Hi, I've encountered a really, *really*, REALLY strange error :-) I have a for-loop and after 8 runs I get strange results...... I mean: A really strange result.... I'm calculating...
12
by: StephQ | last post by:
I have a class Bounds with two constructors: class Bounds { private: list<SegmentupperLinearSpline; // Upper bound. list<SegmentlowerLinearSpline; // Lower bound. ....
8
by: Dox33 | last post by:
I ran into a very strange behaviour of raw_input(). I hope somebody can tell me how to fix this. (Or is this a problem in the python source?) I will explain the problem by using 3 examples....
5
by: ioni | last post by:
Good day, fellows! I have a strange problem – at my site there is a flash strip, that loads data dynamically. It works fine (grabs data from the remote server and presents it), however in IE7...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.