473,387 Members | 1,597 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,387 software developers and data experts.

Broken links to graphics

Thanks in advance for the help and let me know if this should be posted to
another MSDN.

I am developing a web-based application in VS.NET2003 using VB. When I
insert a graphic into a project page it shows just fine in design mode.
However, when I run the app in debug or directly from a browser all the
graphic links in the app show they are broken. Checking the properties shows
that they are pointing to the correct folder. I'm not sure if this is a
directory security issue or a development environment issues. Any help would
be appreciated.
--
John at Free Design
Jul 21 '05 #1
18 1634
John,

When you point them directly to your hard disk that will happens, you have
to point them virtually to your webfolder that holds the reference to that
actual folder.

Can that be the problem?

Cor
Jul 21 '05 #2
Cor,
Thanks. I also figured that was the problem and checked it, but as far as I
can tell it is not. Code reads:
<asp:Image id="Image1" runat="server" ImageUrl= "../images/fleet10.jpg">
</asp:Image>
Note the "../images" part. This has always seemed to work in the past but
it decided to stop working about a week ago. Deleting and re-entering the
image has not worked. Creating a new project and importing the content from
this project has not worked. Existing projects where it worked have also
stopped (without changes to the project). Cursing has also not worked:)
I also have pop-up help windows in the apps that are hooked to an image.
The links can't "see" the "../help" folder either. Very curious!!
John Masciantoni

"Cor Ligthert" wrote:
John,

When you point them directly to your hard disk that will happens, you have
to point them virtually to your webfolder that holds the reference to that
actual folder.

Can that be the problem?

Cor

Jul 21 '05 #3
Since you are using a server control <asp:Image>, try using '~'.

<asp:Image id="Image1" runat="server" ImageUrl=
"~/images/fleet10.jpg"></asp:Image>

HTH,
Greg

"John at Free Design" <Jo**************@discussions.microsoft.com> wrote in
message news:AA**********************************@microsof t.com...
Cor,
Thanks. I also figured that was the problem and checked it, but as far as
I
can tell it is not. Code reads:
<asp:Image id="Image1" runat="server" ImageUrl= "../images/fleet10.jpg">
</asp:Image>
Note the "../images" part. This has always seemed to work in the past but
it decided to stop working about a week ago. Deleting and re-entering the
image has not worked. Creating a new project and importing the content
from
this project has not worked. Existing projects where it worked have also
stopped (without changes to the project). Cursing has also not worked:)
I also have pop-up help windows in the apps that are hooked to an image.
The links can't "see" the "../help" folder either. Very curious!!
John Masciantoni

"Cor Ligthert" wrote:
John,

When you point them directly to your hard disk that will happens, you
have
to point them virtually to your webfolder that holds the reference to
that
actual folder.

Can that be the problem?

Cor

Jul 21 '05 #4
Greg,
Thanks. Tried it but it did not solve the issue. I think the core of this
is that it worked as is a week or so ago and now will not. I can't think of
and intentional changes I've made on the dev box that would impact this. In
short, response redirects to pages in subfolders of the project are found.
HTML links, however, are not.

"Greg Burns" wrote:
Since you are using a server control <asp:Image>, try using '~'.

<asp:Image id="Image1" runat="server" ImageUrl=
"~/images/fleet10.jpg"></asp:Image>

HTH,
Greg

"John at Free Design" <Jo**************@discussions.microsoft.com> wrote in
message news:AA**********************************@microsof t.com...
Cor,
Thanks. I also figured that was the problem and checked it, but as far as
I
can tell it is not. Code reads:
<asp:Image id="Image1" runat="server" ImageUrl= "../images/fleet10.jpg">
</asp:Image>
Note the "../images" part. This has always seemed to work in the past but
it decided to stop working about a week ago. Deleting and re-entering the
image has not worked. Creating a new project and importing the content
from
this project has not worked. Existing projects where it worked have also
stopped (without changes to the project). Cursing has also not worked:)
I also have pop-up help windows in the apps that are hooked to an image.
The links can't "see" the "../help" folder either. Very curious!!
John Masciantoni

"Cor Ligthert" wrote:
John,

When you point them directly to your hard disk that will happens, you
have
to point them virtually to your webfolder that holds the reference to
that
actual folder.

Can that be the problem?

Cor


Jul 21 '05 #5
John,

For me this sounds as a security isue, you are sure you did not change
something in the IIS settings or loaded some extra security sofware
meanwhile or did something else to security settings?

Cor

"John at Free Design" <Jo**************@discussions.microsoft.com>
....
Cor,
Thanks. I also figured that was the problem and checked it, but as far as
I
can tell it is not. Code reads:
<asp:Image id="Image1" runat="server" ImageUrl= "../images/fleet10.jpg">
</asp:Image>
Note the "../images" part. This has always seemed to work in the past but
it decided to stop working about a week ago. Deleting and re-entering the
image has not worked. Creating a new project and importing the content
from
this project has not worked. Existing projects where it worked have also
stopped (without changes to the project). Cursing has also not worked:)
I also have pop-up help windows in the apps that are hooked to an image.
The links can't "see" the "../help" folder either. Very curious!!
John Masciantoni

"Cor Ligthert" wrote:
John,

When you point them directly to your hard disk that will happens, you
have
to point them virtually to your webfolder that holds the reference to
that
actual folder.

Can that be the problem?

Cor

Jul 21 '05 #6
Just throwing this out there...

You have not disabled images in IE options have you? (Of course you would
see this while surfing the interent also).

Is the images folder under your virtual directory?

something like:

c:\inetpub\wwwroot\<virdir>\images

Greg

"John at Free Design" <Jo**************@discussions.microsoft.com> wrote in
message news:F3**********************************@microsof t.com...
Greg,
Thanks. Tried it but it did not solve the issue. I think the core of
this
is that it worked as is a week or so ago and now will not. I can't think
of
and intentional changes I've made on the dev box that would impact this.
In
short, response redirects to pages in subfolders of the project are found.
HTML links, however, are not.

"Greg Burns" wrote:
Since you are using a server control <asp:Image>, try using '~'.

<asp:Image id="Image1" runat="server" ImageUrl=
"~/images/fleet10.jpg"></asp:Image>

HTH,
Greg

"John at Free Design" <Jo**************@discussions.microsoft.com> wrote
in
message news:AA**********************************@microsof t.com...
> Cor,
> Thanks. I also figured that was the problem and checked it, but as far
> as
> I
> can tell it is not. Code reads:
> <asp:Image id="Image1" runat="server" ImageUrl=
> "../images/fleet10.jpg">
> </asp:Image>
> Note the "../images" part. This has always seemed to work in the past
> but
> it decided to stop working about a week ago. Deleting and re-entering
> the
> image has not worked. Creating a new project and importing the content
> from
> this project has not worked. Existing projects where it worked have
> also
> stopped (without changes to the project). Cursing has also not
> worked:)
> I also have pop-up help windows in the apps that are hooked to an
> image.
> The links can't "see" the "../help" folder either. Very curious!!
> John Masciantoni
>
> "Cor Ligthert" wrote:
>
>> John,
>>
>> When you point them directly to your hard disk that will happens, you
>> have
>> to point them virtually to your webfolder that holds the reference to
>> that
>> actual folder.
>>
>> Can that be the problem?
>>
>> Cor
>>
>>
>>


Jul 21 '05 #7
You may want to also trying deleting your internet cache from within IE.

Greg

"Greg Burns" <greg_burns@DONT_SPAM_ME_hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Just throwing this out there...

You have not disabled images in IE options have you? (Of course you would
see this while surfing the interent also).

Is the images folder under your virtual directory?

something like:

c:\inetpub\wwwroot\<virdir>\images

Greg

"John at Free Design" <Jo**************@discussions.microsoft.com> wrote
in message news:F3**********************************@microsof t.com...
Greg,
Thanks. Tried it but it did not solve the issue. I think the core of
this
is that it worked as is a week or so ago and now will not. I can't think
of
and intentional changes I've made on the dev box that would impact this.
In
short, response redirects to pages in subfolders of the project are
found.
HTML links, however, are not.

"Greg Burns" wrote:
Since you are using a server control <asp:Image>, try using '~'.

<asp:Image id="Image1" runat="server" ImageUrl=
"~/images/fleet10.jpg"></asp:Image>

HTH,
Greg

"John at Free Design" <Jo**************@discussions.microsoft.com> wrote
in
message news:AA**********************************@microsof t.com...
> Cor,
> Thanks. I also figured that was the problem and checked it, but as
> far as
> I
> can tell it is not. Code reads:
> <asp:Image id="Image1" runat="server" ImageUrl=
> "../images/fleet10.jpg">
> </asp:Image>
> Note the "../images" part. This has always seemed to work in the past
> but
> it decided to stop working about a week ago. Deleting and re-entering
> the
> image has not worked. Creating a new project and importing the
> content
> from
> this project has not worked. Existing projects where it worked have
> also
> stopped (without changes to the project). Cursing has also not
> worked:)
> I also have pop-up help windows in the apps that are hooked to an
> image.
> The links can't "see" the "../help" folder either. Very curious!!
> John Masciantoni
>
> "Cor Ligthert" wrote:
>
>> John,
>>
>> When you point them directly to your hard disk that will happens, you
>> have
>> to point them virtually to your webfolder that holds the reference to
>> that
>> actual folder.
>>
>> Can that be the problem?
>>
>> Cor
>>
>>
>>


Jul 21 '05 #8
I think Windows Update broke it.

I have a similar problem with a dialog shown from a web page. It's all html
and script though, no ASP.

Follow the link to my Nothing page and click the underscored here for the
premium version. That dialog used to show an icon and still does when I load
it from my hard drive.

I even tried updating the page so that it loads the image via script exactly
the same way as all the images on my other pages do, but no joy, and I know
the script works since I use it on my other pages.

OnBlur seems to be broken aswell. If the dialog loses focus then the buttons
will no longer respond to clicks, but I'm not 100% sure that that worked
before. I originally used ShowDialog(), but Netscape doesn't like that.

--
Mick Doherty
http://dotnetrix.co.uk/nothing.html
"John at Free Design" <Jo**************@discussions.microsoft.com> wrote in
message news:F3**********************************@microsof t.com...
Greg,
Thanks. Tried it but it did not solve the issue. I think the core of
this
is that it worked as is a week or so ago and now will not. I can't think
of
and intentional changes I've made on the dev box that would impact this.
In
short, response redirects to pages in subfolders of the project are found.
HTML links, however, are not.

"Greg Burns" wrote:
Since you are using a server control <asp:Image>, try using '~'.

<asp:Image id="Image1" runat="server" ImageUrl=
"~/images/fleet10.jpg"></asp:Image>

HTH,
Greg

"John at Free Design" <Jo**************@discussions.microsoft.com> wrote
in
message news:AA**********************************@microsof t.com...
> Cor,
> Thanks. I also figured that was the problem and checked it, but as far
> as
> I
> can tell it is not. Code reads:
> <asp:Image id="Image1" runat="server" ImageUrl=
> "../images/fleet10.jpg">
> </asp:Image>
> Note the "../images" part. This has always seemed to work in the past
> but
> it decided to stop working about a week ago. Deleting and re-entering
> the
> image has not worked. Creating a new project and importing the content
> from
> this project has not worked. Existing projects where it worked have
> also
> stopped (without changes to the project). Cursing has also not
> worked:)
> I also have pop-up help windows in the apps that are hooked to an
> image.
> The links can't "see" the "../help" folder either. Very curious!!
> John Masciantoni
>
> "Cor Ligthert" wrote:
>
>> John,
>>
>> When you point them directly to your hard disk that will happens, you
>> have
>> to point them virtually to your webfolder that holds the reference to
>> that
>> actual folder.
>>
>> Can that be the problem?
>>
>> Cor
>>
>>
>>


Jul 21 '05 #9
I noticed in the status bar of your dialog box the address has a different
domain. Is that expected?

Greg

"Mick Doherty"
<EX***********@AND.REMOVE.SQUAREBRACKETS.[mdaudi100#ntlworld.com]> wrote in
message news:uN**************@tk2msftngp13.phx.gbl...
I think Windows Update broke it.

I have a similar problem with a dialog shown from a web page. It's all
html and script though, no ASP.

Follow the link to my Nothing page and click the underscored here for the
premium version. That dialog used to show an icon and still does when I
load it from my hard drive.

I even tried updating the page so that it loads the image via script
exactly the same way as all the images on my other pages do, but no joy,
and I know the script works since I use it on my other pages.

OnBlur seems to be broken aswell. If the dialog loses focus then the
buttons will no longer respond to clicks, but I'm not 100% sure that that
worked before. I originally used ShowDialog(), but Netscape doesn't like
that.

--
Mick Doherty
http://dotnetrix.co.uk/nothing.html
"John at Free Design" <Jo**************@discussions.microsoft.com> wrote
in message news:F3**********************************@microsof t.com...
Greg,
Thanks. Tried it but it did not solve the issue. I think the core of
this
is that it worked as is a week or so ago and now will not. I can't think
of
and intentional changes I've made on the dev box that would impact this.
In
short, response redirects to pages in subfolders of the project are
found.
HTML links, however, are not.

"Greg Burns" wrote:
Since you are using a server control <asp:Image>, try using '~'.

<asp:Image id="Image1" runat="server" ImageUrl=
"~/images/fleet10.jpg"></asp:Image>

HTH,
Greg

"John at Free Design" <Jo**************@discussions.microsoft.com> wrote
in
message news:AA**********************************@microsof t.com...
> Cor,
> Thanks. I also figured that was the problem and checked it, but as
> far as
> I
> can tell it is not. Code reads:
> <asp:Image id="Image1" runat="server" ImageUrl=
> "../images/fleet10.jpg">
> </asp:Image>
> Note the "../images" part. This has always seemed to work in the past
> but
> it decided to stop working about a week ago. Deleting and re-entering
> the
> image has not worked. Creating a new project and importing the
> content
> from
> this project has not worked. Existing projects where it worked have
> also
> stopped (without changes to the project). Cursing has also not
> worked:)
> I also have pop-up help windows in the apps that are hooked to an
> image.
> The links can't "see" the "../help" folder either. Very curious!!
> John Masciantoni
>
> "Cor Ligthert" wrote:
>
>> John,
>>
>> When you point them directly to your hard disk that will happens, you
>> have
>> to point them virtually to your webfolder that holds the reference to
>> that
>> actual folder.
>>
>> Can that be the problem?
>>
>> Cor
>>
>>
>>


Jul 21 '05 #10
Yes, I have Frame Redirection in place (cheap option for a hobby site) and
the icon always used to show until just recently, even after XP SP2 was
installed and a statusbar was forced upon my dialog.

--
Mick Doherty
http://dotnetrix.co.uk/nothing.html
"Greg Burns" <greg_burns@DONT_SPAM_ME_hotmail.com> wrote in message
news:Oa**************@TK2MSFTNGP10.phx.gbl...
I noticed in the status bar of your dialog box the address has a different
domain. Is that expected?

Greg

"Mick Doherty"
<EX***********@AND.REMOVE.SQUAREBRACKETS.[mdaudi100#ntlworld.com]> wrote
in message news:uN**************@tk2msftngp13.phx.gbl...
I think Windows Update broke it.

I have a similar problem with a dialog shown from a web page. It's all
html and script though, no ASP.

Follow the link to my Nothing page and click the underscored here for the
premium version. That dialog used to show an icon and still does when I
load it from my hard drive.

I even tried updating the page so that it loads the image via script
exactly the same way as all the images on my other pages do, but no joy,
and I know the script works since I use it on my other pages.

OnBlur seems to be broken aswell. If the dialog loses focus then the
buttons will no longer respond to clicks, but I'm not 100% sure that that
worked before. I originally used ShowDialog(), but Netscape doesn't like
that.

--
Mick Doherty
http://dotnetrix.co.uk/nothing.html
"John at Free Design" <Jo**************@discussions.microsoft.com> wrote
in message news:F3**********************************@microsof t.com...
Greg,
Thanks. Tried it but it did not solve the issue. I think the core of
this
is that it worked as is a week or so ago and now will not. I can't
think of
and intentional changes I've made on the dev box that would impact this.
In
short, response redirects to pages in subfolders of the project are
found.
HTML links, however, are not.

"Greg Burns" wrote:

Since you are using a server control <asp:Image>, try using '~'.

<asp:Image id="Image1" runat="server" ImageUrl=
"~/images/fleet10.jpg"></asp:Image>

HTH,
Greg

"John at Free Design" <Jo**************@discussions.microsoft.com>
wrote in
message news:AA**********************************@microsof t.com...
> Cor,
> Thanks. I also figured that was the problem and checked it, but as
> far as
> I
> can tell it is not. Code reads:
> <asp:Image id="Image1" runat="server" ImageUrl=
> "../images/fleet10.jpg">
> </asp:Image>
> Note the "../images" part. This has always seemed to work in the
> past but
> it decided to stop working about a week ago. Deleting and
> re-entering the
> image has not worked. Creating a new project and importing the
> content
> from
> this project has not worked. Existing projects where it worked have
> also
> stopped (without changes to the project). Cursing has also not
> worked:)
> I also have pop-up help windows in the apps that are hooked to an
> image.
> The links can't "see" the "../help" folder either. Very curious!!
> John Masciantoni
>
> "Cor Ligthert" wrote:
>
>> John,
>>
>> When you point them directly to your hard disk that will happens,
>> you
>> have
>> to point them virtually to your webfolder that holds the reference
>> to
>> that
>> actual folder.
>>
>> Can that be the problem?
>>
>> Cor
>>
>>
>>



Jul 21 '05 #11
John at Free Design wrote:
all the graphic links in the app show they are broken.


Try checking your web logs (c:\windows\system32\logfiles) to see what the
error is when the browser requests the images. If it's a 404 then the
browser can't find them. If it's a 403 or 401 then it is a permissions
problem with IIS and / or the underlying filesystem.

If it's the former then see if you can access the images directly, e.g.
right-click on the broken placeholder for the image ans select properties,
then copy and paste the url (e.g. http://localhost/virtdir/images/image.gif)
into your browser and see if it works. If it's the latter then make sure the
IUSR_machinename account has access to the images directory.
Jul 21 '05 #12
and for my final attempt... I removed the <img> tag and set the background
image in my style sheet. Same problem.
I did find that when run locally, if I set the image to target the copy on
my hard drive then it will show, but if I set it to target the image at a
html address, it does not. I can access the image in a webpage, but not in a
dialog and it's this failure to access the image that is causing the buttons
to stop responding after OnBlur.

--
Mick Doherty
http://dotnetrix.co.uk/nothing.html
"Mick Doherty"
<EX***********@AND.REMOVE.SQUAREBRACKETS.[mdaudi100#ntlworld.com]> wrote in
message news:eN**************@TK2MSFTNGP15.phx.gbl...
Yes, I have Frame Redirection in place (cheap option for a hobby site) and
the icon always used to show until just recently, even after XP SP2 was
installed and a statusbar was forced upon my dialog.

--
Mick Doherty
http://dotnetrix.co.uk/nothing.html
"Greg Burns" <greg_burns@DONT_SPAM_ME_hotmail.com> wrote in message
news:Oa**************@TK2MSFTNGP10.phx.gbl...
I noticed in the status bar of your dialog box the address has a different
domain. Is that expected?

Greg

"Mick Doherty"
<EX***********@AND.REMOVE.SQUAREBRACKETS.[mdaudi100#ntlworld.com]> wrote
in message news:uN**************@tk2msftngp13.phx.gbl...
I think Windows Update broke it.

I have a similar problem with a dialog shown from a web page. It's all
html and script though, no ASP.

Follow the link to my Nothing page and click the underscored here for
the premium version. That dialog used to show an icon and still does
when I load it from my hard drive.

I even tried updating the page so that it loads the image via script
exactly the same way as all the images on my other pages do, but no joy,
and I know the script works since I use it on my other pages.

OnBlur seems to be broken aswell. If the dialog loses focus then the
buttons will no longer respond to clicks, but I'm not 100% sure that
that worked before. I originally used ShowDialog(), but Netscape doesn't
like that.

--
Mick Doherty
http://dotnetrix.co.uk/nothing.html
"John at Free Design" <Jo**************@discussions.microsoft.com> wrote
in message news:F3**********************************@microsof t.com...
Greg,
Thanks. Tried it but it did not solve the issue. I think the core of
this
is that it worked as is a week or so ago and now will not. I can't
think of
and intentional changes I've made on the dev box that would impact
this. In
short, response redirects to pages in subfolders of the project are
found.
HTML links, however, are not.

"Greg Burns" wrote:

> Since you are using a server control <asp:Image>, try using '~'.
>
> <asp:Image id="Image1" runat="server" ImageUrl=
> "~/images/fleet10.jpg"></asp:Image>
>
> HTH,
> Greg
>
> "John at Free Design" <Jo**************@discussions.microsoft.com>
> wrote in
> message news:AA**********************************@microsof t.com...
> > Cor,
> > Thanks. I also figured that was the problem and checked it, but as
> > far as
> > I
> > can tell it is not. Code reads:
> > <asp:Image id="Image1" runat="server" ImageUrl=
> > "../images/fleet10.jpg">
> > </asp:Image>
> > Note the "../images" part. This has always seemed to work in the
> > past but
> > it decided to stop working about a week ago. Deleting and
> > re-entering the
> > image has not worked. Creating a new project and importing the
> > content
> > from
> > this project has not worked. Existing projects where it worked have
> > also
> > stopped (without changes to the project). Cursing has also not
> > worked:)
> > I also have pop-up help windows in the apps that are hooked to an
> > image.
> > The links can't "see" the "../help" folder either. Very curious!!
> > John Masciantoni
> >
> > "Cor Ligthert" wrote:
> >
> >> John,
> >>
> >> When you point them directly to your hard disk that will happens,
> >> you
> >> have
> >> to point them virtually to your webfolder that holds the reference
> >> to
> >> that
> >> actual folder.
> >>
> >> Can that be the problem?
> >>
> >> Cor
> >>
> >>
> >>
>
>
>



Jul 21 '05 #13
Cor,
Thanks. The error is 404. When I paste
http://freedesign.homedns.org/ocps_s.../Mainlogoa.gif
into the browser then it is not found. When I paste
http://freedesign.homedns.org/ocps_s.../Mainlogoa.gif then the
graphic displays.

"Leon Mayne [MVP]" wrote:
John at Free Design wrote:
all the graphic links in the app show they are broken.


Try checking your web logs (c:\windows\system32\logfiles) to see what the
error is when the browser requests the images. If it's a 404 then the
browser can't find them. If it's a 403 or 401 then it is a permissions
problem with IIS and / or the underlying filesystem.

If it's the former then see if you can access the images directly, e.g.
right-click on the broken placeholder for the image ans select properties,
then copy and paste the url (e.g. http://localhost/virtdir/images/image.gif)
into your browser and see if it works. If it's the latter then make sure the
IUSR_machinename account has access to the images directory.

Jul 21 '05 #14
Looks like a problem with the cookieless mode.

Not familiar with it but it could perhaps do that only when trying to access
a protected dir ???

Patrice

--

"John at Free Design" <Jo**************@discussions.microsoft.com> a écrit
dans le message de
news:8F**********************************@microsof t.com...
Cor,
Thanks. The error is 404. When I paste
http://freedesign.homedns.org/ocps_s.../Mainlogoa.gif into the browser then it is not found. When I paste
http://freedesign.homedns.org/ocps_s.../Mainlogoa.gif then the
graphic displays.

"Leon Mayne [MVP]" wrote:
John at Free Design wrote:
all the graphic links in the app show they are broken.


Try checking your web logs (c:\windows\system32\logfiles) to see what the error is when the browser requests the images. If it's a 404 then the
browser can't find them. If it's a 403 or 401 then it is a permissions
problem with IIS and / or the underlying filesystem.

If it's the former then see if you can access the images directly, e.g.
right-click on the broken placeholder for the image ans select properties, then copy and paste the url (e.g. http://localhost/virtdir/images/image.gif) into your browser and see if it works. If it's the latter then make sure the IUSR_machinename account has access to the images directory.

Jul 21 '05 #15
You must have cookieless="true" in your web config. You appear to be
passing your session ID in your querystring.

I would investigate the problem from that angle.

First hit I found: (I am sure there is tons of info about this out there)

http://www.talkaboutsoftware.com/gro...es/263468.html

I would also post your issue to the microsoft.public.dotnet.framework.aspnet
forum for further help.

Greg
"John at Free Design" <Jo**************@discussions.microsoft.com> wrote in
message news:8F**********************************@microsof t.com...
Cor,
Thanks. The error is 404. When I paste
http://freedesign.homedns.org/ocps_s.../Mainlogoa.gif
into the browser then it is not found. When I paste
http://freedesign.homedns.org/ocps_s.../Mainlogoa.gif then the
graphic displays.

"Leon Mayne [MVP]" wrote:
John at Free Design wrote:
> all the graphic links in the app show they are broken.


Try checking your web logs (c:\windows\system32\logfiles) to see what the
error is when the browser requests the images. If it's a 404 then the
browser can't find them. If it's a 403 or 401 then it is a permissions
problem with IIS and / or the underlying filesystem.

If it's the former then see if you can access the images directly, e.g.
right-click on the broken placeholder for the image ans select
properties,
then copy and paste the url (e.g.
http://localhost/virtdir/images/image.gif)
into your browser and see if it works. If it's the latter then make sure
the
IUSR_machinename account has access to the images directory.

Jul 21 '05 #16
New Information:
When I publish the site to the live server then the links work.
The links do not work on the development server.
I didn't change any security that I know of but that certainly seems to be
the problem.
I don't know what to change since I didn't change anything to begin with.
Thanks to all for you input.

"Greg Burns" wrote:
You must have cookieless="true" in your web config. You appear to be
passing your session ID in your querystring.

I would investigate the problem from that angle.

First hit I found: (I am sure there is tons of info about this out there)

http://www.talkaboutsoftware.com/gro...es/263468.html

I would also post your issue to the microsoft.public.dotnet.framework.aspnet
forum for further help.

Greg
"John at Free Design" <Jo**************@discussions.microsoft.com> wrote in
message news:8F**********************************@microsof t.com...
Cor,
Thanks. The error is 404. When I paste
http://freedesign.homedns.org/ocps_s.../Mainlogoa.gif
into the browser then it is not found. When I paste
http://freedesign.homedns.org/ocps_s.../Mainlogoa.gif then the
graphic displays.

"Leon Mayne [MVP]" wrote:
John at Free Design wrote:
> all the graphic links in the app show they are broken.

Try checking your web logs (c:\windows\system32\logfiles) to see what the
error is when the browser requests the images. If it's a 404 then the
browser can't find them. If it's a 403 or 401 then it is a permissions
problem with IIS and / or the underlying filesystem.

If it's the former then see if you can access the images directly, e.g.
right-click on the broken placeholder for the image ans select
properties,
then copy and paste the url (e.g.
http://localhost/virtdir/images/image.gif)
into your browser and see if it works. If it's the latter then make sure
the
IUSR_machinename account has access to the images directory.


Jul 21 '05 #17
John at Free Design wrote:
New Information:
When I publish the site to the live server then the links work.
The links do not work on the development server.
I didn't change any security that I know of but that certainly seems
to be the problem.
I don't know what to change since I didn't change anything to begin
with. Thanks to all for you input.


Looks like everyone beat me to the responses!

Is the development server your local machine? Do you write the pages on your
machine (the development machine) and then use Copy Project to upload to the
live server? Looks like cookieless mode isn't working on your dev machine
properly.
Jul 21 '05 #18
To all: Thanks for the help, I've resolved the issue.
--
John at Free Design
"Leon Mayne [MVP]" wrote:
John at Free Design wrote:
New Information:
When I publish the site to the live server then the links work.
The links do not work on the development server.
I didn't change any security that I know of but that certainly seems
to be the problem.
I don't know what to change since I didn't change anything to begin
with. Thanks to all for you input.


Looks like everyone beat me to the responses!

Is the development server your local machine? Do you write the pages on your
machine (the development machine) and then use Copy Project to upload to the
live server? Looks like cookieless mode isn't working on your dev machine
properly.

Jul 21 '05 #19

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

Similar topics

19
by: John at Free Design | last post by:
Thanks in advance for the help and let me know if this should be posted to another MSDN. I am developing a web-based application in VS.NET2003 using VB. When I insert a graphic into a project...
28
by: Craig Cockburn | last post by:
I have a tool which tells me the number of times that visitors attempt to access a link from my site to an external site and what the response code received was. In the event of the remote site...
4
by: Corey Walker | last post by:
Hello: I am a webmaster for a non-profit organization. I do know some HTML, but I'm by no means an expert. Recently, many pages on our site were redesigned by a professional web designer, who...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.